Skip to content

Commit

Permalink
chore(blocks): remove trigger key '、' from slash menu (#8768)
Browse files Browse the repository at this point in the history
Close [BS-1757](https://linear.app/affine-design/issue/BS-1757/中文输入法下触发slashmenu问题)

This PR removes the trigger key `、` from the slash menu to improve the CJK user input experience. For users of Sougo Pinyin on macOS, you can disable the auto-transform from `/` to `、` in the IME settings.
  • Loading branch information
L-Sun committed Nov 20, 2024
1 parent 90459c1 commit bfb0c7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export type SlashMenuContext = {
};

export const defaultSlashMenuConfig: SlashMenuConfig = {
triggerKeys: ['/', '、'],
triggerKeys: ['/'],
ignoreBlockTypes: ['affine:code'],
maxHeight: 344,
tooltipTimeout: 800,
Expand Down

0 comments on commit bfb0c7f

Please sign in to comment.