Переглянути джерело

: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) => {
                 fetchPost("/api/block/checkBlockFold", {id}, (foldResponse) => {
                     openFileById({
                     openFileById({
                         id,
                         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],
                     });
                     });
                 });
                 });
             }
             }