Vanessa 2023-10-13 23:25:58 +08:00
parent 22efb3d523
commit 2f0f563e12
2 changed files with 5 additions and 0 deletions

View file

@ -261,6 +261,7 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {
}
titleElement.textContent = operation.data;
titleElement.dataset.title = operation.data;
item.querySelector(".layout-tab-bar .item__text").textContent = operation.data;
});
} else {
Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-av-id="${avId}"]`)).forEach((item: HTMLElement) => {