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

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!

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

Noel6
Tera Contributor

We have the same issue! Best solution would be to just disable the new context menu. I haven't found a way to do that yet. 

Adam Warner
Tera Contributor

Came across this today after a user complained they could no longer paste. Is it just an oversight in how TinyMCE is configured in the background? 

 

Although looking at their documentation page it does not appear anywhere there, it is definitely possible to do with TinyMCE5, example via codepen https://codepen.io/promofaux/pen/JjZKPjO

 

AdamWarner_0-1667491154910.png

 

I had naively (I'm new to ServiceNow) hoped that I could hack in a `glide.ui.html.editor.v5.contextmenu` property, but that does not work 🙂

 

Update:

 

According to ServiceNow's own documentation:

 


The contextmenu option now includes only a link option by default. Add contextmenu:false to maintain the appearance from TinyMCE 4.

I have not yet found where one is expected to add this...