[Help] Remove Context Menu in TinyMCE
-
- Ssr. Bludit
- Posts: 19
- Joined: Wed Apr 05, 2023 10:46 pm
- Has thanked: 4 times
- Been thanked: 1 time
Hi. Does anyone know what file to edit to remove the Context menu popping up when I right mouse click on the text area. If I remove the "Link" plugin, I don't get a context menu, but then I don't get the link icons in the top menu bar either. I want to keep all options in the top menu bar, but just remove the popup context menu on right click
Thanks in advance.
Lee
Thanks in advance.
Lee
-
- Jr. Bludit
- Posts: 2
- Joined: Sat Jan 07, 2023 7:51 am
Hi,
I suggested changes to offer the ability to manage the context menu from the admin area.
If it's not accepted or meanwhile, you can either access the browser's context menu with:
See https://www.tiny.cloud/docs/tinymce/lat ... u/#options for more details
I suggested changes to offer the ability to manage the context menu from the admin area.
If it's not accepted or meanwhile, you can either access the browser's context menu with:
- Ctrl or Cmd + right click
- or the edition of bl-plugins\tinymce\plugin.php by adding contextmenu: false, within tinymce.init({ ... });
Code: Select all
tinymce.init({
...
codesample_languages: [$codesampleConfig],
contextmenu: false,
});
See https://www.tiny.cloud/docs/tinymce/lat ... u/#options for more details