getHTML
string
- HTML representation
getJSON
Object
- ProseMirror document JSON
getUpdatedJson
Object
- Export-ready JSON
exportDocx
Promise<Blob>
- DOCX file blob
loadXmlData
Promise<[xmlFiles, mediaUrls, mediaBase64, fonts]>
mount
unmount
destroy
focus
setEditable
setDocumentMode
chain
ChainedCommands
- Chainable command object
can
Commands
- Commands in check mode
replaceContent
replaceNodeWithHTML
replaceFile
Promise<void>
annotate
previewAnnotations
closePreview
search
Array<SearchResult>
- Search matches
getNodesOfType
Array<Node>
- Matching nodes
isActive
boolean
- Whether active
getAttributes
Object
- Attributes