github ianstormtaylor/slate slate@0.118.1

10 days ago

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

Don't miss a new slate release

NewReleases is sending notifications on new releases.