From 23e0c99dd7a1cf8e19242419bf65557bb297816a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 1 Feb 2026 23:28:22 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11569 11 --- app/src/protyle/render/av/action.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 14cbef2de..16cce4dd8 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -277,6 +277,10 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle } else if (target.classList.contains("item") && target.parentElement.classList.contains("layout-tab-bar")) { if (target.classList.contains("item--focus")) { openViewMenu({protyle, blockElement, element: target}); + } else if (protyle.options.action.includes(Constants.CB_GET_HISTORY)){ + blockElement.setAttribute(Constants.CUSTOM_SY_AV_VIEW, target.dataset.id); + blockElement.removeAttribute("data-render"); + avRender(blockElement, protyle); } else { transaction(protyle, [{ action: "setAttrViewBlockView",