mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
enable paste widget for notebook cells
This commit is contained in:
parent
0b55b8fc78
commit
2a6b42a71c
|
@ -4,7 +4,6 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
import { Schemes } from '../../util/schemes';
|
||||
import { getNewFileName } from './copyFiles';
|
||||
import { createUriListSnippet, tryGetUriListSnippet } from './dropIntoEditor';
|
||||
|
||||
|
@ -26,10 +25,6 @@ class PasteEditProvider implements vscode.DocumentPasteEditProvider {
|
|||
return;
|
||||
}
|
||||
|
||||
if (document.uri.scheme === Schemes.notebookCell) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const imageMime of supportedImageMimes) {
|
||||
const item = dataTransfer.get(imageMime);
|
||||
const file = item?.asFile();
|
||||
|
|
Loading…
Reference in a new issue