mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-19 02:21:38 +08:00
This commit is contained in:
parent
1ac46032fa
commit
86fe2bbfc4
@ -158,6 +158,9 @@ export const bindEditEvent = (options: { protyle: IProtyle, data: IAV, menuEleme
|
||||
}
|
||||
});
|
||||
const addOptionElement = options.menuElement.querySelector('[data-type="addOption"]') as HTMLInputElement;
|
||||
if (!addOptionElement) {
|
||||
return;
|
||||
}
|
||||
addOptionElement.addEventListener("keydown", (event: KeyboardEvent) => {
|
||||
if (event.isComposing) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user