mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 05:31:56 +02:00
More control on editor.normalizeNode
(#5295)
* feat * fix * Create two-books-bow.md * docs * feat * fix
This commit is contained in:
@@ -14,7 +14,7 @@ interface Editor {
|
||||
isVoid: (element: Element) => boolean
|
||||
markableVoid: (element: Element) => boolean
|
||||
normalizeNode: (entry: NodeEntry) => void
|
||||
onChange: () => void
|
||||
onChange: (options?: { operation?: Operation }) => void
|
||||
// Overrideable core actions.
|
||||
addMark: (key: string, value: any) => void
|
||||
apply: (operation: Operation) => void
|
||||
|
Reference in New Issue
Block a user