From c607c1ad078aee1f88c7ff454525411c5b773209 Mon Sep 17 00:00:00 2001 From: Fatimah Date: Tue, 23 Jan 2024 00:01:27 +0100 Subject: [PATCH] editor: disabling tinymce context menu --- src/lib/forms/RichEditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/forms/RichEditor.js b/src/lib/forms/RichEditor.js index fbed109f..6605d70f 100644 --- a/src/lib/forms/RichEditor.js +++ b/src/lib/forms/RichEditor.js @@ -28,6 +28,7 @@ export class RichEditor extends Component { min_height: minHeight, content_style: "body { font-size: 14px; }", plugins: ["codesample", "link", "lists", "table", "autoresize"], + contextmenu: false, toolbar: "blocks | bold italic link codesample blockquote table | bullist numlist | outdent indent | undo redo", autoresize_bottom_margin: 20,