📝
This commit is contained in:
parent
3936f3b9aa
commit
cf1464e2ef
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export const resize = (protyle: IProtyle) => {
|
|||
});
|
||||
}
|
||||
if (window.siyuan.config.editor.codeSyntaxHighlightLineNum) {
|
||||
protyle.wysiwyg.element.querySelectorAll('.code-block [contenteditable="true"]').forEach((block: HTMLElement) => {
|
||||
protyle.wysiwyg.element.querySelectorAll(".code-block .protyle-linenumber").forEach((block: HTMLElement) => {
|
||||
lineNumberRender(block);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue