mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
This commit is contained in:
parent
a593bc7503
commit
40c56d1400
1 changed files with 4 additions and 0 deletions
|
|
@ -281,6 +281,10 @@ export const globalShortcut = () => {
|
|||
currentLiElement.parentElement.parentElement.nextElementSibling.innerHTML = currentLiElement.querySelector(".b3-list-item__text").innerHTML;
|
||||
}
|
||||
}
|
||||
const originalElement = switchDialog.element.querySelector('[data-original="true"]');
|
||||
if (originalElement) {
|
||||
originalElement.removeAttribute("data-original")
|
||||
}
|
||||
} else if (event.key === "Control") {
|
||||
let currentLiElement = switchDialog.element.querySelector(".b3-list-item--focus");
|
||||
// 快速切换时,不触发 Tab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue