mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 09:43:58 +02:00
set_node operations did not invert correctly after serialization (#4078)
* Use null instead of undefined as the old value for set_node operations that add a property * Changelog * Omit undefined values from `set_node` operations completely. Delete missing property values in `Transforms.apply()` instead. * Add tests for removing set_node properties with null and undefined
This commit is contained in:
5
.changeset/silent-bees-sing.md
Normal file
5
.changeset/silent-bees-sing.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate': patch
|
||||
---
|
||||
|
||||
set_node operations did not invert correctly after serialization
|
Reference in New Issue
Block a user