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
I noticed something weird. When the node.clone() method is called from your contex-menu the reference to the node itself is lost.
Therefore I am not able to create a new node with the same properties than the current one.
Example to reproduce
No response
How to reproduce
You can easily reproduce the same behaviour in your own code examples:
Describe the bug
Hi,
I noticed something weird. When the node.clone() method is called from your contex-menu the reference to the node itself is lost.
Therefore I am not able to create a new node with the same properties than the current one.
Example to reproduce
No response
How to reproduce
You can easily reproduce the same behaviour in your own code examples:
https://retejs.org/examples/context-menu
Just add
to the clone method and see that the reference is undefined.
Expected behavior
The reference to the node that should be cloned should not be lost.
Dependencies
"rete": "^2.0.5",
"rete-area-plugin": "^2.1.3",
"rete-connection-plugin": "^2.0.5",
"rete-context-menu-plugin": "^2.0.4",
"rete-render-utils": "^2.0.3",
"rete-vue-plugin": "^2.1.1",
"rete-vue-render-plugin": "^0.5.2",
Platform
brave Version 1.73.97 Chromium: 131.0.6778.108 (Offizieller Build) (arm64)
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: