From 657e72c561c19c2587901764ad6e512dc6720003 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 27 Jan 2022 23:58:38 +0000 Subject: [PATCH] readonly set dom property --- src/components/EditorTextArea.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/EditorTextArea.js b/src/components/EditorTextArea.js index 5400668..b592aba 100644 --- a/src/components/EditorTextArea.js +++ b/src/components/EditorTextArea.js @@ -72,6 +72,7 @@ export default function EditorTextArea({ renderLineHighlight: 'none', renderValidationDecorations: false, readOnly, + domReadOnly: readOnly, }} beforeMount={beforeMount} onMount={onMount}