diff --git a/public/js/plugins/editor_drop_paste.js b/public/js/plugins/editor_drop_paste.js index f89b4bb..0227e49 100644 --- a/public/js/plugins/editor_drop_paste.js +++ b/public/js/plugins/editor_drop_paste.js @@ -288,9 +288,9 @@ define('editor_drop_paste', ['fileupload'], function() { // Initialize the jQuery File Upload plugin var dom, editor; // 2015/4/17 添加wmd-input markdown paste image - $('#editorContent, #wmd-input .editor-content').fileupload({ + $('#editorContent, #left-column').fileupload({ dataType: 'json', - pasteZone: $('#editorContent, #wmd-input'), + pasteZone: $('#editorContent, #left-column'), dropZone: '', // 只允许paste maxFileSize: 210000, url: "/file/pasteImage",