For anyone having issues with Trix resetting content (once you set the initial content and try to put in new content… no dice), I have a solution for you which requires forking the plugin and adding a line of code and a Bubble element action in the plugin editor – Takes a grand total of 10 minutes.
Create the plugin and mirror the data from the current Trix plugin.
Add an “Element actions” called “reset”. Then click “show fields” and create a new field called content (Dynamic value, type: text)
In the new function created at the bottom, add one line of code:
instance.data.element.innerHTML = properties.content;
That’s it! You’ll now see a new field to insert content via workflow
Hope this helps anyone wanting to use Trix!