mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-21 06:31:28 +02:00
Fix normalizeNode
to keep text/inline nodes when removing blocks (#5768)
* fix: fix data loss in base `normalizeData` if no blocks allowed Use `unwrapNodes` instead of `removeNodes` to convert block to inline/text nodes. * changeset
This commit is contained in:
5
.changeset/large-cars-itch.md
Normal file
5
.changeset/large-cars-itch.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate': patch
|
||||
---
|
||||
|
||||
Keep data in normalization when blocks are not allowed
|
Reference in New Issue
Block a user