Vanessa 2025-10-08 18:02:11 +08:00
parent e2e073b1ed
commit f8beaf3f70

View file

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