mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 08:16:10 +01:00
🐛
This commit is contained in:
parent
6debffab19
commit
810f009e83
1 changed files with 2 additions and 1 deletions
|
|
@ -1330,7 +1330,8 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!nodeElement.classList.contains("code-block") && !event.repeat) {
|
||||
if (!nodeElement.classList.contains("code-block") && !event.repeat &&
|
||||
!hasClosestByAttribute(nodeElement, "data-type", "NodeBlockQueryEmbed")) {
|
||||
let findToolbar = false;
|
||||
protyle.options.toolbar.find((menuItem: IMenuItem) => {
|
||||
if (!menuItem.hotkey) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue