mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
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",
|
action: "insert",
|
||||||
id,
|
id,
|
||||||
data: parentElement.outerHTML,
|
data: parentElement.outerHTML,
|
||||||
previousID: previousId,
|
nextID: previousId,
|
||||||
parentID: parentId
|
parentID: parentId
|
||||||
}];
|
}];
|
||||||
const undoOperations: IOperation[] = [];
|
const undoOperations: IOperation[] = [];
|
||||||
|
|
|
||||||
|
|
@ -221,7 +221,7 @@ const initBar = () => {
|
||||||
setMode(2);
|
setMode(2);
|
||||||
}
|
}
|
||||||
}).element);
|
}).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();
|
event.stopPropagation();
|
||||||
break;
|
break;
|
||||||
} else if (target.id === "barHistory") {
|
} else if (target.id === "barHistory") {
|
||||||
|
|
@ -259,7 +259,7 @@ const initBar = () => {
|
||||||
}).element);
|
}).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();
|
event.stopPropagation();
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue