From 61e16c8743bb924f4cce583d8d0269517ceeda2c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 23 Apr 2025 21:22:31 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20table=20=E4=B8=AD=E7=A6=81=E6=AD=A2?= =?UTF-8?q?=E6=8F=92=E5=85=A5=E4=BB=A3=E7=A0=81=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/wysiwyg/keydown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts index cd3df62dc..abbe59ba8 100644 --- a/app/src/protyle/wysiwyg/keydown.ts +++ b/app/src/protyle/wysiwyg/keydown.ts @@ -1380,7 +1380,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => { return true; } if (matchHotKey(window.siyuan.config.keymap.editor.insert.code.custom, event) && - !["NodeCodeBlock", "NodeHeading"].includes(nodeElement.getAttribute("data-type"))) { + !["NodeCodeBlock", "NodeHeading", "NodeTable"].includes(nodeElement.getAttribute("data-type"))) { const id = nodeElement.getAttribute("data-node-id"); const html = nodeElement.outerHTML; const editElement = getContenteditableElement(nodeElement);