Figma Support Forum

Add the ability to "remove" plugin data

Right now, it seems like the only way to “clear” plugin data on a node is to set it to an empty string. This works fine for standalone nodes, but for instance or instance children, we lose the ability to inherit plugin data from the main component. It would be really helpful if we had an API like:

node.removePluginData("myField");

That would remove plugin data so that we could inherit from the main component