Vanessa 2026-02-04 11:38:50 +08:00
parent cc99943cfd
commit 606e7d8d25

View file

@ -683,7 +683,7 @@ export const initKeyboardToolbar = () => {
hideKeyboardToolbarUtil();
focusByRange(range);
} else {
document.activeElement.blur();
(document.activeElement as HTMLElement)?.blur();
buttonElement.classList.add("protyle-toolbar__item--current");
toolbarElement.querySelector('.keyboard__action[data-type="done"] use').setAttribute("xlink:href", "#iconCloseRound");
const oldScrollTop = protyle.contentElement.scrollTop;