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(); });