From 1b60ea87f0ae8a69256f9e167dcd5150d1bd2776 Mon Sep 17 00:00:00 2001 From: L-Sun Date: Wed, 20 Nov 2024 12:41:37 +0800 Subject: [PATCH] =?UTF-8?q?chore(blocks):=20remove=20trigger=20key=20'?= =?UTF-8?q?=E3=80=81'=20from=20slash=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/blocks/src/root-block/widgets/slash-menu/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blocks/src/root-block/widgets/slash-menu/config.ts b/packages/blocks/src/root-block/widgets/slash-menu/config.ts index 69f2418f67839..61763b8147ef0 100644 --- a/packages/blocks/src/root-block/widgets/slash-menu/config.ts +++ b/packages/blocks/src/root-block/widgets/slash-menu/config.ts @@ -119,7 +119,7 @@ export type SlashMenuContext = { }; export const defaultSlashMenuConfig: SlashMenuConfig = { - triggerKeys: ['/', '、'], + triggerKeys: ['/'], ignoreBlockTypes: ['affine:code'], maxHeight: 344, tooltipTimeout: 800,