Skip to content

Commit

Permalink
fix(client/xml-editor): disallow to drop files on editor
Browse files Browse the repository at this point in the history
Closes #571
  • Loading branch information
barmac committed Jan 22, 2019
1 parent a11125c commit 0a59954
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/app/tabs/xml/CodeMirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export default function create(options) {
el = _el;
}, {
autoCloseTags: true,
dragDrop: true,
allowDropFileTypes: ['text/plain'],
lineWrapping: true,
lineNumbers: true,
mode: {
Expand Down

0 comments on commit 0a59954

Please sign in to comment.