From faa38a31b464078d3ab0d351856819a8077f1be6 Mon Sep 17 00:00:00 2001 From: cobbspur Date: Mon, 19 Aug 2013 20:23:44 +0100 Subject: [PATCH] stops image/file drop onto editor markdown causing havoc closes #391 - added dragDrop falsey value to codemirror instance --- ghost/admin/views/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghost/admin/views/editor.js b/ghost/admin/views/editor.js index 58f8a06f4a..3d5a1031ab 100644 --- a/ghost/admin/views/editor.js +++ b/ghost/admin/views/editor.js @@ -343,7 +343,8 @@ mode: 'markdown', tabMode: 'indent', tabindex: "2", - lineWrapping: true + lineWrapping: true, + dragDrop: false }); var view = this;