Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant seem to get it working, always producing error #77

Open
mikeerickson opened this issue May 5, 2021 · 0 comments
Open

Cant seem to get it working, always producing error #77

mikeerickson opened this issue May 5, 2021 · 0 comments

Comments

@mikeerickson
Copy link

In short, I have a simple <textarea>

....
<textarea id="editor-content"></textarea>
....
let HyperMD = require('hypermd')
let myTextarea = document.getElementById('editor-content')
let editor = HyperMD.fromTextArea(myTextarea)

Debugger error

image

Does a dead simple example exist which I can try? The documentation would lead to believe this to be a simple example? Should the element being targeted be a <textarea> or something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant