mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
docs: Fix marks definition in Editor interface
This commit is contained in:
parent
5e4459ed17
commit
1ef84f4d48
@ -7,7 +7,7 @@ interface Editor {
|
||||
children: Node[]
|
||||
selection: Range | null
|
||||
operations: Operation[]
|
||||
marks: Record<string, any> | null
|
||||
marks: Omit<Text, 'text'> | null
|
||||
|
||||
// Schema-specific node behaviors.
|
||||
isInline: (element: Element) => boolean
|
||||
|
Loading…
x
Reference in New Issue
Block a user