Update drop metadata proposal (#179918)

- Makes `dropMimeTypes` required
- Prefix the actual `id` used internally with the extension id
- Allow wildcard mime types, such as `image/*`
This commit is contained in:
Matt Bierner
2023-04-13 14:59:38 -07:00
committed by GitHub
parent 830d534e27
commit 739b93cce8
8 changed files with 55 additions and 12 deletions

View File

@@ -47,7 +47,7 @@ export function registerDropIntoEditorSupport(selector: vscode.DocumentSelector)
return edit;
}
}, {
id: 'vscode.markdown.insertLink',
id: 'insertLink',
dropMimeTypes: [
'text/uri-list'
]