diff --git a/src/MarkdownEditor/editor/utils/keyboard.ts b/src/MarkdownEditor/editor/utils/keyboard.ts index c10a49d0..421f4e23 100644 --- a/src/MarkdownEditor/editor/utils/keyboard.ts +++ b/src/MarkdownEditor/editor/utils/keyboard.ts @@ -222,6 +222,9 @@ export class KeyboardTask { input.value = ''; } }; + if (input.dataset.readonly) { + return; + } input.click(); input.remove(); }