1
0
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:
Sunny Hirai 2021-05-26 00:20:39 -07:00
parent 5e4459ed17
commit 1ef84f4d48

View File

@ -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