mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 17:26:10 +01:00
🚨
This commit is contained in:
parent
0f97325d51
commit
6a143c699f
5 changed files with 9 additions and 9 deletions
|
|
@ -105,7 +105,7 @@ export class Toolbar {
|
|||
this.range.collapse(false);
|
||||
} else if (event.key === "ArrowUp") {
|
||||
this.range = setFirstNodeRange(getContenteditableElement(endElement), range);
|
||||
nodeElement = hasClosestBlock(endElement)
|
||||
nodeElement = hasClosestBlock(endElement);
|
||||
if (!nodeElement) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1931,7 +1931,7 @@ export class WYSIWYG {
|
|||
// 清除选中的子块 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