浏览代码

:art: fix https://github.com/siyuan-note/siyuan/issues/5659

Vanessa 3 年之前
父节点
当前提交
2cf0df5b12
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/layout/dock/Outline.ts

+ 1 - 1
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],
                     });
                 });
             }