Node or selector which will be replaced by the editor.
Options the editor is initialized with.
Rest
...extensions: EditorExtension[]Extensions added before the first render. You can still add extensions later.
Object to interact with the created editor.
Generated using TypeDoc
Almost identical to createEditor, but instead of appending the editor to your element, the editor replaces it.
The
textContent
of the placeholder will be the code in the editor unlessoptions.value
is defined.