1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-08 08:16:30 +02:00

chore: add shouldMergeNodesRemovePrevNode (#5621)

* chore: add shouldMergeNodesRemovePrevNode

* fix: typo
This commit is contained in:
felixfeng
2024-04-02 07:22:12 +08:00
committed by GitHub
parent 4470f37057
commit d271c4be54
6 changed files with 42 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
---
'slate': minor
---
Add a `shouldMergeNodesRemovePrevNode` editor method to control when `Transforms.mergeNodes` should remove the previous node rather than carrying out a merge operation.