cherry-markdown
cherry-markdown copied to clipboard
[Bug Report]0.8.48快捷键设置不生效
Prerequisites
- [ ] There isn't an existing issue that reports the same bug to avoid duplicates.
- [ ] The provided information offers a minimal reproducible example of the bug.
- [ ] For Q&A, please open a GitHub Discussion instead.
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.
debug 了一下, 用 Meta-Shift-KeyX是生效的。。。
这个算不算BUG?
Control 必须用 Meta ?
已修复,可以安装最新版(v0.10.1)进行体验哈