mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 09:43:58 +02:00
docs: Fix marks definition in Editor interface
This commit is contained in:
@@ -7,7 +7,7 @@ interface Editor {
|
|||||||
children: Node[]
|
children: Node[]
|
||||||
selection: Range | null
|
selection: Range | null
|
||||||
operations: Operation[]
|
operations: Operation[]
|
||||||
marks: Record<string, any> | null
|
marks: Omit<Text, 'text'> | null
|
||||||
|
|
||||||
// Schema-specific node behaviors.
|
// Schema-specific node behaviors.
|
||||||
isInline: (element: Element) => boolean
|
isInline: (element: Element) => boolean
|
||||||
|
Reference in New Issue
Block a user