Hi barryallen1337,
Welcome to the community. That’s a good point. Maybe the restrictions could be extended from:
What is Panel plugin edits must be initiated from a supported UI event
to
What is Panel plugin edits must be initiated from a supported UI event or design view UI event
Unless you are doing copy to clipboard you should be able to edit the plugin data at any time. Make sure you have wrapped the assignment in editDocument() as mentioned above.
Just saw your last line. I’ve had it happen when creating an artboard. I posted about it recently but I’ve fixed it,
If you can post any steps to reproduce it post it there. It might be you just need to wrap it in editDocument.