Skip to content

Commit e250202

Browse files
committed
🐛 Fix(custom): fix drag image for md file
ISSUES CLOSED: #6
1 parent 8c73991 commit e250202

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { UploadonDropProvider } from './vscode/dropProvider'
66

77
export async function activate(context: vscode.ExtensionContext) {
88
const selector: vscode.DocumentSelector = {
9-
language: 'plaintext'
9+
language: '*',
10+
scheme: 'file'
1011
}
1112
const disposable = [
1213
vscode.commands.registerCommand(

0 commit comments

Comments
 (0)