mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-25 09:46:10 +01:00
This commit is contained in:
parent
5fa5ae78dd
commit
c248faed49
2 changed files with 18 additions and 10 deletions
|
|
@ -62,12 +62,10 @@ export class Gutter {
|
|||
protyle.wysiwyg.element.innerHTML);
|
||||
});
|
||||
this.element.addEventListener("dragend", () => {
|
||||
if (window.siyuan.dragElement) {
|
||||
this.element.querySelectorAll("button").forEach((item) => {
|
||||
item.style.opacity = "";
|
||||
});
|
||||
window.siyuan.dragElement = undefined;
|
||||
}
|
||||
this.element.querySelectorAll("button").forEach((item) => {
|
||||
item.style.opacity = "";
|
||||
});
|
||||
window.siyuan.dragElement = undefined;
|
||||
});
|
||||
this.element.addEventListener("click", (event: MouseEvent & { target: HTMLInputElement }) => {
|
||||
const buttonElement = hasClosestByTag(event.target, "BUTTON");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue