Editable HTML_AREA Focus lost Not working

Hi All,

I have a editable html_area, which shows me the TinyMCE editor. Sometimes it fails to save data into database and in browser’s debug console it shows “NS_ERROR_UNEXPECTED” and then “iframe is null”.

I have a direct database field associated with the editable HTML_AREA.

Even, onFocusLost is not getting triggered, which I thought to use to see what is the value it is printing.

Please let me know If I am doing anything wrong or we have a issue with this editor.
[attachment=0]html_editor error.JPG[/attachment]

Thanks
Sovan

Please create a case about this. It’s probably a TinyMCE bug.
Maybe also click on the error some more to see where exactly it happens (it should show the file/line).

A case has been created SVY-6809.

Thanks

Hi Sovan,

I have looked at the bug you reported in Jira and can see that you asked about updating the TinyMCE version with the fix that was mentioned in the link. Did you ever find a way to apply that fix or change the version of TinyMCE that is used by Servoy?

Thanks
Steve

Hi Steve,

I am afraid, I did not find a way to use that fix or modify the default version shipped with servoy. The status is still open and unresolved in JIRA.So I guess they did not upgrade the version of TinyMCE.

Having said that, this implementation is on hold for my project as busy with some other implementation. So, I did not look at it for months now…

Sovan

The TinyMCE issue is not fixed (http://www.tinymce.com/develop/bugtrack … hp?id=3152) they say the workaround is not good. Do you have this issue with latest 7.4 Servoy? We currently have TinyMCE 4.0.20 .

We are running 7.4.2 build 2033 and the version of TinyMCE that is shipped with that is also 4.0.20 so I suspect the bug will still exist. I have managed to get V4.1.7 working with Servoy 7.4.2 by downloading it to the webapps/ROOT directory and adding the following call in my onSolutionOpen:

			scopes.svyWebClientUtils.addJavaScriptDependancy('/tinymce_4.1.7/tinymce.min.js');

This seems to override the built-in version of TinyMCE and allow us to access the newer features and bug fixes.

Hope this helps
Steve