mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
216dc408ff
commit
f5ddcd2bbb
6 changed files with 29 additions and 41 deletions
|
|
@ -2100,8 +2100,8 @@ export const setFold = (protyle: IProtyle, nodeElement: Element, isOpen?: boolea
|
|||
}
|
||||
nodeElement.removeAttribute("fold");
|
||||
// https://github.com/siyuan-note/siyuan/issues/4411
|
||||
nodeElement.querySelectorAll(".protyle-linenumber").forEach((item: HTMLElement) => {
|
||||
lineNumberRender(item);
|
||||
nodeElement.querySelectorAll(".protyle-linenumber__rows").forEach((item: HTMLElement) => {
|
||||
lineNumberRender(item.parentElement);
|
||||
});
|
||||
} else {
|
||||
if (typeof isOpen === "boolean" && isOpen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue