mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 block 不在第一行时删除
This commit is contained in:
@@ -255,7 +255,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi
|
||||
const rowElements = blockElement.querySelectorAll(".av__row--select:not(.av__row--header)");
|
||||
rowElements.forEach(item => {
|
||||
rowIds.push(item.getAttribute("data-id"));
|
||||
blockIds.push(item.querySelector(".av__cell").getAttribute("data-block-id"));
|
||||
blockIds.push(item.querySelector(".av__cell[data-block-id]").getAttribute("data-block-id"));
|
||||
});
|
||||
updateHeader(rowElement);
|
||||
menu.addItem({
|
||||
|
||||
Reference in New Issue
Block a user