This commit is contained in:
parent
fa17e26174
commit
349c45d137
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue