Sorry if this is a stupid question, but how do we handle the event when the ‘Stop’ button is pressed on the ‘Plugin is working’ dialog?
For example I have an async function and after Stop is pressed it throws the error:
Plugin 2fd73edc is not permitted to make changes from the background. Return a Promise to continue execution asynchronously.
And that is at this line
selectedShapes.items[i].fill = fill, I assume because the edit context somehow is lost?