Skip to content

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

@mikeerickson

Description

@mikeerickson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions