How do you reset the plugin data? If I use setPluginData
, will the key/value pairs I’ve created remain even after the plugin has closed?
If you set the value to the empty string (
""
), the key/value pair is removed.
Of course the data will remain since you added it to the node (assuming that node is not removed from the document).
1 Like
If you set the plugin data for a given node, and you clone said node, will the node and it’s children have new IDs?
Yes, IDs are always unique.