readonly set dom property

This commit is contained in:
Luck
2022-01-27 23:58:38 +00:00
parent c2eec06861
commit 657e72c561

View File

@@ -72,6 +72,7 @@ export default function EditorTextArea({
renderLineHighlight: 'none',
renderValidationDecorations: false,
readOnly,
domReadOnly: readOnly,
}}
beforeMount={beforeMount}
onMount={onMount}