Vanessa 2025-11-09 15:50:22 +08:00
parent 8d6c422af0
commit ef03fd4cb3
11 changed files with 55 additions and 76 deletions

View file

@ -1022,7 +1022,7 @@ export const zoomOut = (options: {
}
focusBlock(showElement);
const resizeObserver = new ResizeObserver(() => {
scrollCenter(options.protyle, focusElement, {position: "top"});
scrollCenter(options.protyle, focusElement, "start");
});
resizeObserver.observe(options.protyle.wysiwyg.element);
setTimeout(() => {