Skip to content

mountEditor

mountEditor(parent, state): MarkdownEditor

Mount state (from createEditorState) in a new editor view appended to parent, following the environment's color scheme while it lives. Returns the editor handle; call its destroy when done.

HTMLElement

EditorState

MarkdownEditor