Loads a document stored in the Document Authoring format. The document can be provided as a JSON string or a JavaScript object.
Imports a DOCX document.
Optional
options: ImportDOCXOptionsCreates an editor in the specified HTML element.
IMPORTANT: The position
of the target element cannot be static
or unset. If unsure, use relative
.
Optional
options: CreateEditorOptionsCreates a document from plain text by interpreting patterns and replacing characters. E.g.:
\n
creates a line break in a paragraph\n\n
separates paragraphs\t
is replaced with spacesOptional
options: CreateDocumentFromPlaintextOptions
A
DocAuthSystem
instance holds the internal WASM engine and loaded fonts. It is used to load or import documents and createDocAuthEditor
instances.