So with this function, you can grab the values using the e.target.getContent() and store the value in SetState after which you can then access the stored values and send to your API.
Let me know if this helps, thanks.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
how to send data using tinymce,WYSIWYG through API ...?
Hi, "Asitsi".
One way to do this is :
If you go over the code snippets I provided in the article, you'd notice a
handleEditorChange
function.So with this function, you can grab the values using the
e.target.getContent()
and store the value in SetState after which you can then access the stored values and send to your API.Let me know if this helps, thanks.