Skip to content

Releases: ianstormtaylor/slate

[email protected]

28 Feb 00:39
3c4ca6b
Compare
Choose a tag to compare

Patch Changes

[email protected]

27 Feb 06:17
680fa9c
Compare
Choose a tag to compare

Patch Changes

  • #5315 5784a38b Thanks @clauderic! - The RestoreDOM 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 the textContent of a text node ends the current composition.

  • #5315 5784a38b Thanks @clauderic! - Fixed consumer defined onInput event handler not being invoked when passed to the <Editable> component.

[email protected]

24 Feb 23:17
c753e68
Compare
Choose a tag to compare

Patch Changes

[email protected]

23 Feb 23:23
b32428e
Compare
Choose a tag to compare

Patch Changes

[email protected]

23 Feb 23:23
b32428e
Compare
Choose a tag to compare

Patch Changes

  • #5310 b94254d6 Thanks @etrepum! - Fix to ensure that the latest versions of onChange and renderPlaceholder are used

[email protected]

22 Feb 20:57
942fbd7
Compare
Choose a tag to compare

Patch Changes

  • #5295 84f811a7 Thanks @zbeyens! - New editor 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 where operation is triggering the function.
    • editor.normalizeNode signature change: (entry: NodeEntry, options?: { operation?: Operation }) => void where operation is triggering the function.
    • EditorNormalizeOptions new option operation?: Operation where operation is triggering the function.

[email protected]

22 Feb 20:57
942fbd7
Compare
Choose a tag to compare

Patch Changes

[email protected]

20 Feb 15:57
d0d1cb9
Compare
Choose a tag to compare

Patch Changes

  • #5297 967d99eb Thanks @edhager! - Fix memory leaks by adding clean-up code that looks for ref resets in Editable and Text.

[email protected]

19 Feb 01:51
be564ce
Compare
Choose a tag to compare

Patch Changes

[email protected]

19 Feb 01:51
be564ce
Compare
Choose a tag to compare

Patch Changes