mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 19:10:49 +08:00
This commit is contained in:
parent
fa17e26174
commit
349c45d137
@ -626,7 +626,7 @@ export const turnsIntoOneTransaction = (options: { protyle: IProtyle, selectsEle
|
||||
action: "insert",
|
||||
id,
|
||||
data: parentElement.outerHTML,
|
||||
previousID: previousId,
|
||||
nextID: previousId,
|
||||
parentID: parentId
|
||||
}];
|
||||
const undoOperations: IOperation[] = [];
|
||||
|
@ -221,7 +221,7 @@ const initBar = () => {
|
||||
setMode(2);
|
||||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.popup({x: event.clientX, y: event.clientY + 8});
|
||||
window.siyuan.menus.menu.popup({x: event.clientX, y: event.clientY + 18});
|
||||
event.stopPropagation();
|
||||
break;
|
||||
} else if (target.id === "barHistory") {
|
||||
@ -259,7 +259,7 @@ const initBar = () => {
|
||||
}).element);
|
||||
}
|
||||
});
|
||||
window.siyuan.menus.menu.popup({x: event.clientX, y: event.clientY});
|
||||
window.siyuan.menus.menu.popup({x: event.clientX, y: event.clientY + 18});
|
||||
}
|
||||
event.stopPropagation();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user