mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
This commit is contained in:
parent
3e57c2155d
commit
0370d203c4
2 changed files with 24 additions and 19 deletions
|
|
@ -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[]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue