I am trying to integrate the Rich Text Editor Tinymce to my weweb app. I pasted this script: Using TinyMCE from the Tiny Cloud CDN with the Web Component | TinyMCE Documentation to the html box for the custom component created to store the Tinymce editor. It succeeded in showing up as a component. However, I cannot find a way to return the input value from user. I would like to retrieve the content that user inputs and insert it to my database with workflow.
I went to workflow of the component, and clicked thisInstance to view the current value of textContent, it stays as the placeholder/initial content even though new content has been uploaded.
I think you might want to Create a Custom Component for this instead, in the long run it will be better. If you’d like to pass the values from the current setup, I’d say your best bet is changing a variable either by triggering a workflow with code, or simply changing the variable with code. You can find how in the search here on the community, it’s been discussed many times.
Thank you for your suggestion. Yes I have created a custom component for it. But it seems to me that when the text content changes, the javascript that listens to this event fails to be triggered. As such, the value from thisInstance.textcontent remains as the placeholder “type your note here”.