Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/16342

Vanessa2fc28b760988
diff --git a/app/src/protyle/render/av/gallery/render.ts b/app/src/protyle/render/av/gallery/render.ts
index 56dc06ef46..1878456996 100644
--- a/app/src/protyle/render/av/gallery/render.ts
+++ b/app/src/protyle/render/av/gallery/render.ts
@@ -183,6 +183,7 @@ export const afterRenderGallery = (options: ITableOptions) => {
}
if (itemElement) {
itemElement.querySelector(".av__gallery-fields").classList.add("av__gallery-fields--edit");
+ itemElement.querySelector('.protyle-icon[data-type="av-gallery-edit"]').setAttribute("aria-label", window.siyuan.languages.hideEmptyFields);
}
});
Object.keys(options.resetData.pageSizes).forEach((groupId) => {