diff --git a/libs/tiptap-editor/src/slash-command.ts b/libs/tiptap-editor/src/slash-command.ts index 139650d..ce796d6 100644 --- a/libs/tiptap-editor/src/slash-command.ts +++ b/libs/tiptap-editor/src/slash-command.ts @@ -582,6 +582,9 @@ export function openRunnableModal(editor: Editor): void { // Enter 在表单元素内提交(浏览器原生 number input 的 Enter 不会触发 click)。 // 注意:网络 checkbox 的 tagName 也是 'input',Enter 会触发提交而非切换 // (checkbox 原生用 Space 切换),符合模态框 Enter=确认的惯例。 + // 例外:语言