This commit is contained in:
parent
eb909e5b8e
commit
e8eef426a4
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue