From e261977812de79dabc2bc7f31c86c14617ad16bb Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 13 Oct 2025 10:44:35 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16011 --- app/src/search/util.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/search/util.ts b/app/src/search/util.ts index cc7a6e893..1e3cf779e 100644 --- a/app/src/search/util.ts +++ b/app/src/search/util.ts @@ -1095,7 +1095,9 @@ export const getArticle = (options: { if (articleId !== options.id) { return; } - options.edit.protyle.wysiwyg.renderCustom(response.data.ial); + if (options.edit.protyle.options.render.title) { + options.edit.protyle.title.render(options.edit.protyle, response); + } fetchPost("/api/filetree/getDoc", { id: options.id, query: options.value || null, @@ -1118,7 +1120,7 @@ export const getArticle = (options: { updateReadonly: true, data: getResponse, protyle: options.edit.protyle, - action: zoomIn ? [Constants.CB_GET_ALL] : [], + action: zoomIn ? [Constants.CB_GET_ALL, Constants.CB_GET_HTML] : [Constants.CB_GET_HTML], }); const contentRect = options.edit.protyle.contentElement.getBoundingClientRect();