Releases: ianstormtaylor/slate
Releases · ianstormtaylor/slate
[email protected]
[email protected]
Patch Changes
-
#5315
5784a38b
Thanks @clauderic! - TheRestoreDOM
manager that is used Android no longer restores the DOM to its previous state for text mutations. This allows the editor state to be reconciled during a composition without interrupting the composition, as programatically updating thetextContent
of a text node ends the current composition. -
#5315
5784a38b
Thanks @clauderic! - Fixed consumer definedonInput
event handler not being invoked when passed to the<Editable>
component.
[email protected]
[email protected]
[email protected]
[email protected]
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.
[email protected]
Patch Changes
- #5305
11adbf96
Thanks @alex-vladut! - Allow pasting plain text into editable voids
[email protected]
[email protected]
Patch Changes
- #5251
6fa4b954
Thanks @YaoKaiLun! - Fix the cursor jump to an unexpected position after deleting in android
[email protected]
Patch Changes
- #5251
6fa4b954
Thanks @YaoKaiLun! - Fix the cursor jump to an unexpected position after deleting in android