Skip to content

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.

Parameter Type
editor | EditorHandle | null

EditorState