diff options
author | rebornix <penn.lv@gmail.com> | 2022-04-14 21:21:41 +0300 |
---|---|---|
committer | rebornix <penn.lv@gmail.com> | 2022-04-14 21:21:41 +0300 |
commit | 30caa88a453bc88d7eab70c6b1a0207efbbfd517 (patch) | |
tree | 54771798e7d3ce4e8ac1fd06355c944d89bccc26 /src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts | |
parent | 280050dba576740f0350245409d147aa2c84aa94 (diff) | |
parent | 3c9c0e36cd536805b8d376d1f1e09b6db0c53522 (diff) |
Merge remote-tracking branch 'origin/main' into rebornix/lazy-kernel
Diffstat (limited to 'src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts')
-rw-r--r-- | src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts b/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts index cffd2b0362d..6e28efdd088 100644 --- a/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts +++ b/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts @@ -102,6 +102,10 @@ export class NotebookEditorInput extends AbstractResourceEditorInput { } } + if (!(capabilities & EditorInputCapabilities.Readonly)) { + capabilities |= EditorInputCapabilities.CanDropIntoEditor; + } + return capabilities; } |