mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 23:22:33 +01:00
This commit is contained in:
parent
bfa4e8af7a
commit
99cf40b12d
3 changed files with 11 additions and 3 deletions
|
|
@ -215,7 +215,10 @@ export class BlockPanel {
|
|||
this.element = undefined;
|
||||
this.targetElement = undefined;
|
||||
// 移除弹出上使用右键菜单
|
||||
window.siyuan.menus.menu.remove();
|
||||
if (window.siyuan.menus.menu.element.dataset.from !== "app") {
|
||||
// https://github.com/siyuan-note/siyuan/issues/9854 右键菜单不是从浮窗中弹出的则不进行移除
|
||||
window.siyuan.menus.menu.remove();
|
||||
}
|
||||
}
|
||||
|
||||
private render() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue