mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-28 09:29:49 +02:00
Fix Transforms.wrapNodes
where split: true
at text node start or end (#5943)
* Fix `Transforms.wrapNodes` where `split: true` at text node start or end * Fix block case too
This commit is contained in:
5
.changeset/heavy-pants-cover.md
Normal file
5
.changeset/heavy-pants-cover.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate': patch
|
||||
---
|
||||
|
||||
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.
|
Reference in New Issue
Block a user