slate@0.91.3
github-actions
released this
22 Feb 20:57
·
221 commits
to main
since this release
Patch Changes
-
#5295
84f811a7
Thanks @zbeyens! - Neweditor
method that can be overridden to control when the normalization should stop. Default behavior (unchanged) is to throw an error when it iterates over 42 times the dirty paths length.shouldNormalize: ({ iteration, dirtyPaths, operation, }: { iteration: number dirtyPaths: Path[] operation?: Operation }) => boolean
editor.onChange
signature change:(options?: { operation?: Operation }) => void
whereoperation
is triggering the function.editor.normalizeNode
signature change:(entry: NodeEntry, options?: { operation?: Operation }) => void
whereoperation
is triggering the function.EditorNormalizeOptions
new optionoperation?: Operation
whereoperation
is triggering the function.