mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 20:38:49 +01:00
🐛 多项折叠
This commit is contained in:
parent
a9cb219569
commit
85d2faa158
1 changed files with 7 additions and 0 deletions
|
|
@ -121,6 +121,13 @@ const promiseTransaction = () => {
|
|||
if (gutterFoldElement) {
|
||||
gutterFoldElement.removeAttribute("disabled");
|
||||
}
|
||||
// 仅在 alt+click 箭头折叠时才会触发
|
||||
protyle.wysiwyg.element.querySelectorAll('[data-type="NodeBlockQueryEmbed"]').forEach((item) => {
|
||||
if (item.querySelector(`[data-node-id="${doOperations[0].id}"]`)) {
|
||||
item.removeAttribute("data-render")
|
||||
blockRender(protyle, item);
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue