mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -133,7 +133,7 @@ export class MobileOutline {
|
||||
}
|
||||
if (currentElement) {
|
||||
currentElement.classList.add("b3-list-item--focus");
|
||||
this.element.scrollTop = currentElement.offsetTop - this.element.clientHeight / 2 - 30;
|
||||
this.tree.element.scrollTop = currentElement.offsetTop - this.element.clientHeight / 2 - 30;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -229,6 +229,10 @@ export class WYSIWYG {
|
||||
}
|
||||
});
|
||||
}
|
||||
/// #else
|
||||
if (protyle.disabled) {
|
||||
protyle.toolbar.range = getEditorRange(nodeElement);
|
||||
}
|
||||
/// #endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user