You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I call actions.delete on a canvas, it is not deleting all of the nodes under that canvas. It appears to be deleting some but not all. The nodes disappear from the interface but still exists in the editor state.
To Reproduce
Steps to reproduce the behavior:
Create a canvas with multiple nodes
Call actions.delete(canvas_id)
Call query.serialize()
You should still see the deleted nodes in the serialized state
Expected behavior
Based on these lines, I think it is supposed to be deleting all the nodes within the canvas.
Your environment
Software
Version(s)
craft.js
0.1.0-beta.5
React
16.13.1
TypeScript
3.8.3
Browser
Firefox
npm/Yarn
yarn
Operating System
OS X
The text was updated successfully, but these errors were encountered:
Describe the bug
When I call
actions.delete
on a canvas, it is not deleting all of the nodes under that canvas. It appears to be deleting some but not all. The nodes disappear from the interface but still exists in the editor state.To Reproduce
Steps to reproduce the behavior:
actions.delete(canvas_id)
query.serialize()
Expected behavior
Based on these lines, I think it is supposed to be deleting all the nodes within the canvas.
Your environment
The text was updated successfully, but these errors were encountered: