ianstormtaylor/slate
 Watch   
 Star   
 Fork   
3 days ago
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

3 days ago
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
29 days ago
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
2025-06-25 23:55:32
slate

slate-react@0.117.2

Patch Changes

  • #5908 06b21fdc Thanks @nabbydude! - Fixed issue on android where deleting forward at the end of a block would delete the first character in the next block instead of the linebreak
2025-06-13 22:07:10
slate

slate-react@0.117.1

Patch Changes

2025-06-12 04:40:38
slate

slate@0.117.0

Minor Changes

  • #5885 c56a98fd Thanks @felixfeng33! - - Remove ignoreNonSelectable option from positions,before,after,nodes.
    • Fix move behavior when encounter non-selectable inline voids.

Patch Changes

  • #5890 9862ae71 Thanks @joblolin95! - Handle backspace correctly for grapheme clusters in Burmese, Hindi, Khmer, Malayalam, Oriya, Punjabi, Tamil, and Telugu.