TinyMCE examples

I have a Servoy 5 app and I’m looking for a way to implement HTML editing of a field in web client in the same way it works with smart clients. I’ve started to look at TinyMCE, but not fixed on that. I wonder if anyone has an example of how to put a HTML editor such as TinyMCE, FCKeditor on CKEditor on a simple form that works in WC.

Hi Tony,

Did you ever get this working and if so which editor did you settle on?

Thanks

Steve

Did you try setting an HTML field into editable?

That gives you an HTML-editor in webclient automatically

Hi Harjo,

I’ve tried using an editable HTML_AREA and this does indeed bring up a nice HTML editor. The problem with this is that you then lose the built-in spell-checking capabilities of the browser that work fine on a TEXT_AREA. I wondered about using one of the other editors (specifically CKEditor) as this has a spell-checker as part of the editor but although I have been able to get the editor to show up no problem I cannot seem to get it to persist any changes in the text to the DB.

Any suggestions for a nice HTML editor with spell checking in the web client?

Thanks

Steve

Servoy only data binds with input tags of type text and TinyMCE magic isn’t done with any kind of input tags.

Use webClientUtils to add a server-side callback to a TinyMCE event to save data back.

Thanks for the guidance David. I was hoping for a simple switchout with the existing HTML_AREA editor but if that’s not possible then I will stick to plain text with the spell checking until I have time to look at a more complex solution.

Many thanks

Steve