useEditorState
function useEditorState(editor): EditorState;An editor’s state, re-rendering the component as it changes: for a host’s own unsaved badge, title or Save button.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
editor |
| EditorHandle | null |