HTML Field Right Click

MichaelCreatura
Tera Guru

Hi All,

 

We've just had some strange behaviour reported to us since upgrading to TOKYO. 

 

When a user right-clicks on a HTML field within a record, it doesn't show the expected context menu. Instead it shows like below. 

 

Actual

MichaelCreatura_0-1668181995965.png

Expected

MichaelCreatura_1-1668182020435.png

 

The only way of accessing the menu as expected is to hold the CTRL key and right click. As minor as that sounds it is a rather large change in behaviour for users which they are not accustom too! This is also having impact on copying and pasting, accessing spellcheck and other options that they naturally do with a simple right click. 

 

I've noticed this appears when the field is set to TinyMCE

MichaelCreatura_2-1668182481876.png

Thanks! 

 

1 ACCEPTED SOLUTION

Mike_R
Kilo Patron

See this. Apparently it's expected behavior but it's a major downgrade in my opinion.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1189657

 

 

Description

In Tokyo, it is not possible to right click - paste in an HTML field

Steps to Reproduce

 

Login to instance .Two ways to see behavior.
First way:
1. Firstly, open an existing change_request or incident record.
2. Click on the 3 dots (more options) at the top of page and select "Email" to open the email client.
-- Note the body of the email is an HTML field (uses TinyMCE)
3. Use Cut / Copy or CTRL+C to capture some random text to paste into the field.
4. Attempt to right click in field to select "Paste" to paste some content into this field
--NOTE there is no option to Cut / Copy / Paste from this field.
5. It is possible to use CTRL+V to paste the content into this field.

Second way (see recording attached):
1. Open a new kb_knowledge record / article
-- Note that the Article body is an HTML field
3. Use Cut / Copy or CTRL+C to capture some random text to paste into the field.
4. Attempt to right click in field to select "Paste" to paste some content into this field
--NOTE there is no option to Cut / Copy / Paste from this field.
5. It is possible to use CTRL+V to paste the content into this field.

In San Diego, the right click menu displays options such as cut/copy/paste but in Tokyo it only shows "Link"

 

Workaround

This is expected behavior and by design in all currently supported releases which uses TinyMCE Version 5.
Starting from TinyMCE version 5 we have to use control + right click to enable context menu.

View solution in original post

8 REPLIES 8

Mike_R
Kilo Patron

See this. Apparently it's expected behavior but it's a major downgrade in my opinion.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1189657

 

 

Description

In Tokyo, it is not possible to right click - paste in an HTML field

Steps to Reproduce

 

Login to instance .Two ways to see behavior.
First way:
1. Firstly, open an existing change_request or incident record.
2. Click on the 3 dots (more options) at the top of page and select "Email" to open the email client.
-- Note the body of the email is an HTML field (uses TinyMCE)
3. Use Cut / Copy or CTRL+C to capture some random text to paste into the field.
4. Attempt to right click in field to select "Paste" to paste some content into this field
--NOTE there is no option to Cut / Copy / Paste from this field.
5. It is possible to use CTRL+V to paste the content into this field.

Second way (see recording attached):
1. Open a new kb_knowledge record / article
-- Note that the Article body is an HTML field
3. Use Cut / Copy or CTRL+C to capture some random text to paste into the field.
4. Attempt to right click in field to select "Paste" to paste some content into this field
--NOTE there is no option to Cut / Copy / Paste from this field.
5. It is possible to use CTRL+V to paste the content into this field.

In San Diego, the right click menu displays options such as cut/copy/paste but in Tokyo it only shows "Link"

 

Workaround

This is expected behavior and by design in all currently supported releases which uses TinyMCE Version 5.
Starting from TinyMCE version 5 we have to use control + right click to enable context menu.

SREEVES
Tera Contributor

Someone has opened an Idea to revert this to the pre-Tokyo workings.  Please go upvote it 

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

MAhsan
Giga Contributor

Seems like the Feedback page is not open to the public. Does snow have a feature request page we can access with non business account so we can upvote this?

Snow is like the only ticket system that does this against the grain weird behavior

Musab Rasheed
Kilo Patron

Hello,

Adding to what Mike has shared please go through below thread as well once.

https://www.servicenow.com/community/developer-forum/html-description-tinymce-v5-issues-help-needed/...

Please hit like and mark my response as correct if that helps
Regards,
Musab