1
0
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:
Joe Anderson
2025-08-25 22:43:46 +01:00
committed by GitHub
parent f1fb3cc19b
commit aaad6717d2
4 changed files with 108 additions and 2 deletions

View 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.