Vanessa 2023-07-22 00:36:21 +08:00
parent 3e57c2155d
commit 0370d203c4
2 changed files with 24 additions and 19 deletions

View file

@ -433,10 +433,10 @@ export class Gutter {
dynamicElements[1].classList.remove("fn__none");
toolbarElement.querySelector('.keyboard__action[data-type="text"]').classList.add("protyle-toolbar__item--current");
toolbarElement.querySelector('.keyboard__action[data-type="done"] use').setAttribute("xlink:href", "#iconCloseRound");
const oldScrollTop = protyle.contentElement.scrollTop;
toolbarElement.classList.remove("fn__none");
const oldScrollTop = protyle.contentElement.scrollTop + 333.5; // toolbarElement.clientHeight
renderTextMenu(protyle, toolbarElement);
showKeyboardToolbarUtil(oldScrollTop);
toolbarElement.classList.remove("fn__none");
}
public renderMultipleMenu(protyle: IProtyle, selectsElement: Element[]) {