From 2bac06c83e267df36812034c26c51654b84e0fd0 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 31 Dec 2022 22:26:17 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/6956 --- app/src/protyle/export/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 18dd21345..523a74cd9 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -58,6 +58,7 @@ export const saveExport = (option: { type: string, id: string }) => { btnsElement[1].addEventListener("click", () => { const removeAssets = (wordDialog.element.querySelector("#removeAssets") as HTMLInputElement).checked; const mergeSubdocs = (wordDialog.element.querySelector("#mergeSubdocs") as HTMLInputElement).checked; + window.siyuan.storage[Constants.LOCAL_EXPORTWORD] = {removeAssets, mergeSubdocs}; getExportPath(option, removeAssets, mergeSubdocs); wordDialog.destroy(); });