mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
Remove ipynb.pasteAsAttachment
setting to default to editor.pasteAs.enabled
behavior (#181445)
* remove `ipynb.pasteAsAttachment` setting
* change default value to align with package.json
* Revert "remove `ipynb.pasteAsAttachment` setting"
This reverts commit 7471c030af
.
This commit is contained in:
parent
fd79b1b68c
commit
8867d20020
|
@ -53,7 +53,7 @@ class CopyPasteEditProvider implements vscode.DocumentPasteEditProvider {
|
|||
dataTransfer: vscode.DataTransfer,
|
||||
token: vscode.CancellationToken,
|
||||
): Promise<vscode.DocumentPasteEdit | undefined> {
|
||||
const enabled = vscode.workspace.getConfiguration('ipynb', document).get('pasteImagesAsAttachments.enabled', false);
|
||||
const enabled = vscode.workspace.getConfiguration('ipynb', document).get('pasteImagesAsAttachments.enabled', true);
|
||||
if (!enabled) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue