From 565fcbe63022f5270472f63561cd18652d9a8a97 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 27 Jan 2022 23:58:50 +0000 Subject: [PATCH] disable context menu --- src/components/EditorTextArea.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/EditorTextArea.js b/src/components/EditorTextArea.js index b592aba..0564e2c 100644 --- a/src/components/EditorTextArea.js +++ b/src/components/EditorTextArea.js @@ -73,6 +73,7 @@ export default function EditorTextArea({ renderValidationDecorations: false, readOnly, domReadOnly: readOnly, + contextmenu: false, }} beforeMount={beforeMount} onMount={onMount}