In some cases, when something goes wrong, the plugin breaks and everything goes back to default, and all the changes that the plugin applied to the content will be reverted. So now how can we have this “reversion” process through the API? To be more clear, suppose we want to have a “Reset to default” button.
There might be something already in the API that I am missing, any advice is appreciated.