Vanessa 2024-11-03 12:19:58 +08:00
parent 194af0e9d8
commit 28c217e7a2

View file

@ -20,7 +20,7 @@ export const renderBacklink = (protyle: IProtyle, backlinkData: {
});
protyle.wysiwyg.element.innerHTML = html;
protyle.wysiwyg.element.querySelectorAll(".protyle-breadcrumb__bar .protyle-breadcrumb__item--active").forEach((item:HTMLElement) => {
item.parentElement.scrollLeft = item.offsetLeft
item.parentElement.scrollLeft = item.offsetLeft;
});
processRender(protyle.wysiwyg.element);
highlightRender(protyle.wysiwyg.element);