fix drag & drop for chrome and code editor

This commit is contained in:
zadam
2019-09-02 21:58:03 +02:00
parent a79aec85b5
commit d1992b061c
4 changed files with 9 additions and 9 deletions

View File

@@ -48,7 +48,8 @@ class NoteDetailCode {
tabindex: 100,
// we linewrap partly also because without it horizontal scrollbar displays only when you scroll
// all the way to the bottom of the note. With line wrap there's no horizontal scrollbar so no problem
lineWrapping: true
lineWrapping: true,
dragDrop: false // with true the editor inlines dropped files which is not what we expect
});
this.onNoteChange(() => this.ctx.noteChanged());