From 1a47d9eeb778a9cf531a178460650c5a1788a2e3 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 19 Jul 2022 21:48:51 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=AF=BC=E5=87=BA=20PDF=20=E5=92=8C=20?= =?UTF-8?q?Word=20=E6=97=B6=E6=94=AF=E6=8C=81=E8=A6=86=E7=9B=96=E5=B7=B2?= =?UTF-8?q?=E6=9C=89=E6=96=87=E4=BB=B6=20https://github.com/siyuan-note/si?= =?UTF-8?q?yuan/issues/5309?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/export/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 6326549a3..5c804479b 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -142,7 +142,7 @@ const getExportPath = (option: { type: string, id: string }, pdfOption?: PrintTo title: window.siyuan.languages.export + " " + exportType, defaultPath: response.data.rootTitle + "." + extension, filters: [{ - name: "Word", + name: exportType, extensions: [extension] }], properties: ["showOverwriteConfirmation"],