Skip to content

Commit 4903d2a

Browse files
committed
fix(editor-title): fix image upload action not work on editor title
1 parent 5f6778a commit 4903d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/commands-registration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const registerCommands = () => {
5757
vscode.commands.registerCommand(`${appName}.save-post-file-to-cnblogs`, savePostFileToCnblogs),
5858
vscode.commands.registerCommand(`${appName}.upload-clipboard-image`, () => uploadImage(true, 'clipboard')),
5959
vscode.commands.registerCommand(`${appName}.upload-local-disk-image`, () => uploadImage(true, 'local')),
60-
vscode.commands.registerCommand(`${appName}.upload-image`, uploadImage),
60+
vscode.commands.registerCommand(`${appName}.upload-image`, () => uploadImage(true)),
6161
vscode.commands.registerCommand(`${appName}.reveal-local-post-file-in-os`, revealLocalPostFileInOs),
6262
vscode.commands.registerCommand(`${appName}.show-post-to-local-file-info`, showLocalFileToPostInfo),
6363
vscode.commands.registerCommand(`${appName}.new-post-category`, newPostCategory),

0 commit comments

Comments
 (0)