From bcd4af9c05e3db769aad32ae45d5d2aafbf1f639 Mon Sep 17 00:00:00 2001 From: xiangyu <3170102889@zju.edu.cn> Date: Sun, 13 Nov 2022 10:53:51 +0800 Subject: [PATCH] add: export note to docx --- addon/chrome/content/export.xul | 11 +- addon/chrome/locale/en-US/overlay.dtd | 9 +- addon/chrome/locale/zh-CN/overlay.dtd | 9 +- addon/defaults/preferences/defaults.js | 2 +- package.json | 1 + src/editor/editorController.ts | 14 ++ src/editor/editorScript.ts | 210 ++++++++++++++++++------- src/editor/editorViews.ts | 10 +- src/note/noteController.ts | 113 ------------- src/note/noteExportController.ts | 93 ++++++----- src/note/noteExportWindow.ts | 16 +- src/zotero/events.ts | 10 +- 12 files changed, 241 insertions(+), 257 deletions(-) delete mode 100644 src/note/noteController.ts diff --git a/addon/chrome/content/export.xul b/addon/chrome/content/export.xul index 586655e..d8b0163 100644 --- a/addon/chrome/content/export.xul +++ b/addon/chrome/content/export.xul @@ -53,17 +53,12 @@ - + - - - - - - -