mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
891f0b9a99
commit
41954d9cff
9 changed files with 101 additions and 47 deletions
|
|
@ -147,7 +147,7 @@ export class Files extends Model {
|
|||
y: rect.bottom,
|
||||
h: rect.height,
|
||||
w: rect.width,
|
||||
});
|
||||
}, undefined, target.querySelector("img"));
|
||||
break;
|
||||
} else if (type === "toggle") {
|
||||
const svgElement = target.querySelector("svg");
|
||||
|
|
@ -274,14 +274,14 @@ export class Files extends Model {
|
|||
y: rect.bottom,
|
||||
h: rect.height,
|
||||
w: rect.width,
|
||||
});
|
||||
}, undefined, target.querySelector("img"));
|
||||
} else {
|
||||
openEmojiPanel(target.parentElement.parentElement.getAttribute("data-url"), "notebook", {
|
||||
x: rect.left,
|
||||
y: rect.bottom,
|
||||
h: rect.height,
|
||||
w: rect.width,
|
||||
});
|
||||
}, undefined, target.querySelector("img"));
|
||||
}
|
||||
break;
|
||||
} else if (isNotCtrl(event) && target.classList.contains("b3-list-item__toggle")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue