1
0
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:
Andrew Herron
2021-04-14 01:06:07 +10:00
committed by GitHub
parent b9f07af5ac
commit 2dad21d1d7
8 changed files with 149 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
'slate': patch
---
set_node operations did not invert correctly after serialization