-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
area: extensions/widgets/markdowntype: bugcode to address defects in shipped codecode to address defects in shipped code
Description
Describe the bug
Slate editor crashes randomly with Error: Cannot resolve a DOM node from Slate node: {"text":""}
I've managed to track this down and reproduce it on https://demo.decapcms.org/#/collections/posts/entries/2024-03-20-post-number-20
To Reproduce
- Go to editor https://demo.decapcms.org/#/collections/posts/entries/2024-03-20-post-number-20
- In the body editor hit Shift + return and shift + return again, then they and delete that line
- Editor crashes
editor.crashing.mp4
Expected behavior
No crashes
Related
This was the only reference I could find for this error ianstormtaylor/slate#3930 but I'm unclear on how to resolve.
Metadata
Metadata
Assignees
Labels
area: extensions/widgets/markdowntype: bugcode to address defects in shipped codecode to address defects in shipped code