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 authored and philippfromme committed Jan 23, 2019
1 parent 4e218a9 commit 9bb1e38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/app/tabs/xml/CodeMirror.js
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 9bb1e38

Please sign in to comment.