slate@0.118.1
-
#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 insideEditor.positions
. When encountering a non-selectable node, it would immediately return the point before or after it (depending onreverse
), but it would not skip returning points inside the non-selectable node if more than one point was consumed fromEditor.positions
.
- Previously,
- Do not return points from
-
#5943
aaad6717
Thanks @12joan! - Fix: Thesplit: true
option onTransforms.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 ofNode.fragment
slate@0.118.0
- #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.
slate-react@0.117.2
- #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
slate@0.117.0
- #5885
c56a98fd
Thanks @felixfeng33! - - RemoveignoreNonSelectable
option from positions,before,after,nodes.- Fix move behavior when encounter non-selectable inline voids.
- #5890
9862ae71
Thanks @joblolin95! - Handle backspace correctly for grapheme clusters in Burmese, Hindi, Khmer, Malayalam, Oriya, Punjabi, Tamil, and Telugu.