I am using beanHtmlEditor like rich text editor, but only saves the contents written in the editor to de fields when click the button-save of the editor. What I do is in the process of Servoy save the content of the bean to the record.
I have used several functions
tinyMCE.execCommand ('Save ')
tinyMCE.triggerSave ()
if (elements.bean_body.editorType == 'TinyMCE')
{
//var js = "tinyMCE.execCommand ('Save')"
var js = "tinyMCE.triggerSave ()"
var c = elements.bean_body.executeJavaScript (js)
var a = body
}
But I can not save the contents of the bean in the dataprovider. I tested also in the process OnDataChange, detects that it has changed, but It doesn´t return the new content.
What can I do… Thanks in advance