1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-18 05:01:17 +02:00

Fix pasting exactly two blocks (#5875)

* Refactor `insertFragment` without altering behaviour

* Fix inserting a fragment containing exactly two blocks

* Fix and unskip insertFragment list test
This commit is contained in:
Joe Anderson
2025-05-24 21:54:44 +01:00
committed by GitHub
parent 747ebfda0a
commit 896bc9c7c7
7 changed files with 142 additions and 39 deletions

View File

@@ -0,0 +1,5 @@
---
'slate': patch
---
Fix: Inserting a fragment containing exactly two blocks merges those blocks together.