mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 00:08:49 +01:00
This commit is contained in:
parent
bf01e8271e
commit
3ea410ed38
1 changed files with 4 additions and 0 deletions
|
|
@ -1928,6 +1928,10 @@ export class WYSIWYG {
|
|||
selectElements.forEach(item => {
|
||||
item.classList.add("protyle-wysiwyg--select");
|
||||
ids.push(item.getAttribute("data-node-id"));
|
||||
// 清除选中的子块 https://ld246.com/article/1667826582251
|
||||
item.querySelectorAll(".protyle-wysiwyg--select").forEach(subItem => {
|
||||
subItem.classList.remove("protyle-wysiwyg--select");
|
||||
})
|
||||
});
|
||||
countBlockWord(ids);
|
||||
if (toDown) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue