Skip to content

Commit

Permalink
Version 3.3.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
cweijan committed Jul 15, 2024
1 parent fc53271 commit cc0d982
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-office",
"displayName": "Office Viewer(Markdown Editor)",
"description": "View word,excel files and using WYSIWYG editor for markdown.",
"version": "3.3.8",
"version": "3.3.9",
"publisher": "cweijan",
"icon": "images/icon.png",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions src/provider/markdownEditorProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ export class MarkdownEditorProvider implements vscode.CustomTextEditorProvider {
this.updateCount(content)
}).on("doSave", async (content) => {
lastManualSaveTime = Date.now();
vscode.commands.executeCommand('workbench.action.files.save');
this.updateTextDocument(document, content)
await this.updateTextDocument(document, content)
this.updateCount(content)
vscode.commands.executeCommand('workbench.action.files.save');
}).on("export", (option) => {
vscode.commands.executeCommand('workbench.action.files.save');
new MarkdownService(this.context).exportMarkdown(uri, option)
Expand Down

0 comments on commit cc0d982

Please sign in to comment.