Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report]0.8.48快捷键设置不生效 #929

Open
3 tasks
xuliuzhu1834 opened this issue Sep 27, 2024 · 1 comment
Open
3 tasks

[Bug Report]0.8.48快捷键设置不生效 #929

xuliuzhu1834 opened this issue Sep 27, 2024 · 1 comment
Labels
🐞bug Something isn't working

Comments

@xuliuzhu1834
Copy link

xuliuzhu1834 commented Sep 27, 2024

Prerequisites

Describe the Bug

demo中的加粗快捷键都是失效的, 似乎Control + any 都不生效

shortcutKeySettings: {
      /** 是否替换已有的快捷键, true: 替换默认快捷键; false: 会追加到默认快捷键里,相同的shortcutKey会覆盖默认的 */
      isReplace: false,
      shortcutKeyMap: {
        'Alt-Digit1': {
          hookName: 'header',
          aliasName: '标题',
        },
      // 这里不生效,实践中,设置Control-KeyS同样没效果
        'Control-Shift-KeyX': {
          hookName: 'bold',
          aliasName: '加粗',
        },
      },
    }

Reproduction Steps

No response

System Information

No response

Contributing

No, I don't plan to at this time.

@xuliuzhu1834 xuliuzhu1834 added the 🐞bug Something isn't working label Sep 27, 2024
@xuliuzhu1834
Copy link
Author

debug 了一下, 用 Meta-Shift-KeyX是生效的。。。

这个算不算BUG?
Control 必须用 Meta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant