Getting started
Install the library and import its shared stylesheet once in the host application.
DocumentPage.tsx
Controlled content
Every editable component is controlled. The editor emits a complete typed
content value through onChange; the host owns persistence, collaboration,
versioning, and the value passed back into the component.
Do not persist rendered DOM as the primary file model. Keep the structured content returned by the editor, and use the package import/export APIs at file boundaries.
Package entry points
Host layout
Editors fill their host. Give the host a definite height and allow nested flex
or grid children to shrink with min-height: 0 and min-width: 0.
Continue with the framework bindings or open the DocumentEditor API.