TinyMCE - issues and questions

Andrew Pishchul
Giga Expert

I'm trying to see how TinyMCE editor (HTML fields) can be used for a document management application and got some issues/questions:

1. I know that there are some TinyMCE properties you can define in ServiceNow, but is there any way to get access to all native TinyMCE properties?

2. Is there any way to modify a theme? (look & feel)

I really like Fuji UI (flat, nice and clean):

1.PNG

..but in Geneva it's..ahhh

2.PNG

3. Here is an issue with centered text:

Capture.PNG

- centered text in Fuji translated to this HTML (which is fine) - <p style="text-align: center;">text</p>

- centered text in Geneva on my developer instance translated into this (!!!) - <p align="center">text</p> and this is not supported in HTML5

6 REPLIES 6

Russ T
Kilo Guru

It seems that the TinyMCE instance has been hardcoded to load with the "legacyoutput" plugin enabled as default. I'm seeing the same as you in Geneva and this is the only explanation I can find based on my research.


I'd recommend that you file an HI ticket - enhancement request since a lot of people are having this kind of problem. TinyMCE v4.5 is the way to go.


The fix involved removing the "legacyoutput" plugin in Istanbul (Font size in TinyMCE HTML editor in Geneva is not consistent with WYSIWYG standard). I just upgraded my developer instance to Istanbul to test this and the HTML is formatted the correct way (as in the Fuji way).



Hope this helps


Shahid



See also TinyMCE HTML Editor Fix for Funky Fonts & Formatting in Istanbul


Can this be done prior to upgrading to Istanbul? Can it be removed from Helsinki?