HTML Description Tinymce v5 Issues - Help needed

raycallan
Giga Guru

We upgraded our instance to Tokyo last night and while everything went well as a whole, one issue that was immediately highlighted was the the HTML description fields were not working as expected. Instead of have two lines of icons there was only one line and the ability to right click in the editor window and paste is gone.

 

I quickly identified that the editor had been upgraded from Tinymce v4 to Tinymce v5 and I referred to the latest documentation for Tokyo and it only references Tinymce v4

 

Issue 1 - Missing icons - Resloved

I opened the system properties list, filtered the list to 'glide.ui.html.editor'  after a bit of trial any error I discovered that Tinymce v5 no longer support line 1 and line 2. However I was able copy the values from 'glide.ui.html.editor.v4.toolbar.line1' and 'glide.ui.html.editor.v4.toolbar.line2' and merge them into 'glide.ui.html.editor.v5.toolbar' and the editor displayed all the icons and automatically onto 2 lines. I did have to replace all the commas with spaces as v5 no longer suppots comma delimited

raycallan_0-1667293780687.png

Issue 2 - Unable to right click and paste - Ongoing

Unfortunately, I have not been able to resolve this and instead of getting the browsers supported paste functionality. I only get the ability to link as per below. I can't find any documentation to fix this so I'm hoping someone in the community can help

raycallan_1-1667294324107.png

 

Thanks in advance

Ray

 

 

2 ACCEPTED SOLUTIONS

Mike_R
Kilo Patron
Kilo Patron

Someone else reported the same issuing with pasting

https://www.servicenow.com/community/sysadmin-forum/paste-option-missing-in-email-compose-screen-sho...

 

This is what i told them

"As a workaround, if you hold down Ctrl and right click then you see the normal paste/other options. And obviously CTRL + v works too.

I don't see anything documented on ServiceNow's site regarding this, so i would suggest opening a case with Support."

 

I would highly suggest opening a case with SN support. The more people that report this issue to them, the better chance they fix it soon!

View solution in original post

raycallan
Giga Guru

I started to raise a ticket with Service-Now and and it suggested this KB as a solution. In summary as Mike_R suggested you need to click CTRL and right click to bring up the standard browser options. This is apparently standard in Tinymce 5  and there is no further action planned by Service-Now.

 

For spelling mistakes you also need CTRL and right click on the spelling error to list the corrections.

 

This is really annoying as the new right click functionality doesn't add anything of value to the text editor as adding links is not a common practice and can be done from the editor buttons. https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1189657

View solution in original post

13 REPLIES 13

AdamSL
Tera Contributor

I don't understand why you would want to change end - user behaviour..
Anyways, we managed to find a workaround : 

In the sys_properties in the glide.ui.html.editor.v5.enabled_plugins
Delete the value "link". 
This disables the link plugin

I would be interested to know if this still works? It does not appear to work in my PDI, even after cache clear both client and server side.

SREEVES
Tera Contributor

Someone has submitted an idea for ServiceNow to revert this.  If everyone could go upvote it 

https://support.servicenow.com/now?id=view_idea&sysparm_idea_id=f7ac93091b879510acdc54e56b4bcb41&sys...

Viviane Clausen
Tera Contributor

Setting the System Property glide.ui.html.editor.contextmenu to false seems to disable the editor’s contextmenu for some fields. However, we are mainly using the Rich Text Editor for Comments and Work Notes in the Configurable Workspace and are sending a lot of emails via the email client. I cannot figure out how to disable it for these specific fields.

Does anybody knows, has any news or a hint on how to disable the context menu for these as well (preferably without using custom scrip)?

 

VivianeClausen_0-1701160818124.png