mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
📝
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
Add a link
Reference in a new issue