- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 08:01 AM
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
Expected
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
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 08:25 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 01:56 AM
This KB does not exist (KB1189657) and the problem with the functionality of TinyMCE since Tokyo persists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 01:47 PM
Just hold CTRL and then right click and a context menu will pop up with paste options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 03:48 PM - edited 07-29-2025 03:49 PM
At my work we're using an onLoad client script to 'fix' this issue.
Table: Global
UI Type: Desktop
Type: onLoad
Isolate script: Unchecked (this is important)
function onLoad() {
window.onload = function() {
if (typeof tinymce !== 'undefined' && typeof tinymce.get === 'function') {
tinymce.get().forEach(function (editor) {
if (editor.options) {
editor.options.set('contextmenu', 'false');
} else if (editor.settings) {
editor.settings.contextmenu = false;
}
});
}
};
}