A plugin setting text in a newly-created text object results in the object disappearing.
Steps to reproduce
Create a new text frame, but don’t type anything.
Have a plugin use the
textNode.text = "anything" to assign the currently-selected node’s text content.
The text node’s content becomes
The text node disappears from the scene.
If you type anything before invoking the plugin (just a single character is enough), then the
.text assignment works and replaces what you’ve typed.
Maybe stupid error on my part?
If it’s not, it’s a pretty serious bug or missing feature (call it what you like), because it means that a plugin can’t supply the contents of a newly-created text object.