mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
2cac581630
commit
f2de7bf6e6
7 changed files with 24 additions and 14 deletions
|
|
@ -124,7 +124,6 @@ export const setPadding = (protyle: IProtyle) => {
|
|||
} else {
|
||||
protyle.wysiwyg.element.style.padding = `16px ${min16}px ${bottomHeight} ${min24}px`;
|
||||
}
|
||||
protyle.wysiwyg.element.style.transition = ""; // addWnd 时防止向右分屏,左侧文档抖动,移除动画
|
||||
if (window.siyuan.config.editor.codeSyntaxHighlightLineNum) {
|
||||
setTimeout(() => { // https://github.com/siyuan-note/siyuan/issues/5612
|
||||
protyle.wysiwyg.element.querySelectorAll('.code-block [contenteditable="true"]').forEach((block: HTMLElement) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue