mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 20:00:17 +01:00
This commit is contained in:
parent
e922c402c8
commit
1f607cf08a
9 changed files with 15 additions and 294 deletions
|
|
@ -185,7 +185,7 @@ export const keymap = {
|
|||
</div>`;
|
||||
},
|
||||
_setkeymap(app: App) {
|
||||
const data: IKeymap = JSON.parse(JSON.stringify(Constants.SIYUAN_KEYMAP));
|
||||
const data: Config.IKeymap = JSON.parse(JSON.stringify(Constants.SIYUAN_KEYMAP));
|
||||
keymap.element.querySelectorAll("label.b3-list-item input").forEach((item) => {
|
||||
const keys = item.getAttribute("data-key").split(Constants.ZWSP);
|
||||
const newHotkey = item.getAttribute("data-value");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue