From 2cf0df5b12c403b291706f2110d175c63c190964 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 17 Aug 2022 11:41:16 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/5659 --- app/src/layout/dock/Outline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.ts index 1b25fc570..963759858 100644 --- a/app/src/layout/dock/Outline.ts +++ b/app/src/layout/dock/Outline.ts @@ -96,7 +96,7 @@ export class Outline extends Model { fetchPost("/api/block/checkBlockFold", {id}, (foldResponse) => { openFileById({ id, - action: foldResponse.data ? [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL] : [Constants.CB_GET_FOCUS, Constants.CB_GET_SETID, Constants.CB_GET_CONTEXT], + action: foldResponse.data ? [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL, Constants.CB_GET_HTML] : [Constants.CB_GET_FOCUS, Constants.CB_GET_SETID, Constants.CB_GET_CONTEXT, Constants.CB_GET_HTML], }); }); }