mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 22:08:48 +01:00
🐛 block 不在第一行时删除
This commit is contained in:
parent
5458d3bc5e
commit
0d704a549f
1 changed files with 1 additions and 1 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue