DocxEditor()
@reductoai/docx-editor/react.
DocxEditorProps
A region prop is a React node portaled into the editor’s grid where the built-in
would sit: absent renders the built-in, null removes the region. The node is
mounted only while the region shows (progress during a load, inspector while
model.inspectorVisible, contextMenu while model.ui.contextMenu.open).
Import from @reductoai/docx-editor/react.
useObservable()
source or an adopted
child, and the model bumps on each caret move and overlay repaint. A region that
stays mounted, a toolbar say, passes a selector: it re-renders only when the
picked fields change (shallow compare), which is what a Svelte component gets.
Import from @reductoai/docx-editor/react.