Releases: ianstormtaylor/slate
Releases · ianstormtaylor/slate
slate-react@0.91.7
slate-react@0.91.6
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.
slate-react@0.91.5
slate@0.91.4
slate-react@0.91.4
slate@0.91.3
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.
slate-react@0.91.3
Patch Changes
- #5305
11adbf96
Thanks @alex-vladut! - Allow pasting plain text into editable voids
slate-react@0.91.2
slate@0.91.1
Patch Changes
- #5251
6fa4b954
Thanks @YaoKaiLun! - Fix the cursor jump to an unexpected position after deleting in android
slate-react@0.91.1
Patch Changes
- #5251
6fa4b954
Thanks @YaoKaiLun! - Fix the cursor jump to an unexpected position after deleting in android