ianstormtaylor/slate
 Watch   
 Star   
 Fork   
21 days ago
slate

slate-react@0.119.0

Minor Changes

  • #5963 33e74a82 Thanks @iperzic! - Fixes an editor crash that happens when editor is placed inside Shadow DOM and the user is typing on Android
21 days ago
slate

slate-dom@0.119.0

Minor Changes

  • #5963 33e74a82 Thanks @iperzic! - Fixes an editor crash that happens when editor is placed inside Shadow DOM and the user is typing on Android
2025-10-24 21:50:28
slate

slate-react@0.118.2

Patch Changes

2025-08-26 06:53:42
slate

slate@0.118.1

Patch Changes

  • #5929 fdaa9c80 Thanks @12joan! - - Fix error when a non-selectable node has no next or previous node

    • Do not return points from Editor.positions that are inside non-selectable nodes
      • Previously, editor.isSelectable was handled incorrectly inside Editor.positions. When encountering a non-selectable node, it would immediately return the point before or after it (depending on reverse), but it would not skip returning points inside the non-selectable node if more than one point was consumed from Editor.positions.
  • #5943 aaad6717 Thanks @12joan! - Fix: The split: true option on Transforms.wrapNodes does not work correctly when one or more points is at the start or end of a text node.

  • #5926 cf10119a Thanks @12joan! - Use generics for the return type of Node.fragment

2025-08-26 06:53:42
slate

slate-dom@0.118.1

Patch Changes

  • #5936 05583457 Thanks @delijah! - Search backward and forward for leaf nodes in non contenteditable elements inside toSlatePoint
2025-07-31 04:21:59
slate

slate@0.118.0

Minor Changes

  • #5923 ba33735a Thanks @12joan! - - When removing a text node containing the cursor, always perfer placing the cursor in a sibling text node if one exists.
    • Previously, the selection would enter a sibling inline in some circumstances, even when a sibling text node was available.
    • The most noticeable effect of this change occurs when pressing backspace at the start of line N when the last non-empty node in line N-1 is an inline.
      • Before, the cursor would be placed inside the inline.
      • Now, the cursor is placed outside the inline.
2025-07-13 06:32:52
slate

slate-react@0.117.4

Patch Changes

2025-07-13 06:32:52
slate

slate-dom@0.117.4

Patch Changes

2025-06-28 07:34:19
slate

slate-react@0.117.3

Patch Changes

2025-06-25 23:55:32
slate

slate@0.117.2

Patch Changes

  • #5899 94fb04a4 Thanks @12joan! - Fix: editor.selection is sometimes replaced with a new object even if the selection did not change