Skip to content

Interface: EditorContentProps ​

Props for <EditorContent>.

Properties ​

PropertyTypeDescription
editorEditorThe editor to mount into the inner element; it is unmounted when the component unmounts.
html?stringHTML shown until the editor mounts, so server-rendered pages (Nuxt) show the content at once instead of an empty box. Make it with toHTML() from @writeon/html, from the same document you pass as content. Only the first value is used; the editor owns the DOM after mount.