I
EditorState
testedImmutable snapshot of everything the editor renders and commands read.
Signature
ts
interface EditorStateProperties
| Property | Type | Description |
|---|---|---|
docreadonly | EditorDocument | — |
selectionreadonly | Selection | — |
schemareadonly | Schema | — |
registryreadonly | Registry | — |
storedMarksreadonly | Marks | null | Marks to apply to the next typed character (toggle-before-type). |