diff --git a/public/js/plugins/editor_drop_paste.js b/public/js/plugins/editor_drop_paste.js index 12514b2..aa7e5c5 100644 --- a/public/js/plugins/editor_drop_paste.js +++ b/public/js/plugins/editor_drop_paste.js @@ -290,7 +290,7 @@ define('editor_drop_paste', ['jquery.ui.widget', 'fileupload'], function() { // 2015/4/17 添加wmd-input markdown paste image $('#editorContent, #wmd-input .editor-content').fileupload({ dataType: 'json', - pasteZone: $('#editorContent, #wmd-input .editor-content'), + pasteZone: $('#editorContent, #wmd-input'), dropZone: '', // 只允许paste maxFileSize: 210000, url: "/file/pasteImage", diff --git a/public/js/plugins/main.min.js b/public/js/plugins/main.min.js index 4e3da15..697002d 100644 --- a/public/js/plugins/main.min.js +++ b/public/js/plugins/main.min.js @@ -2,5 +2,5 @@ define("note_info",[],function(){var t=["
"+getMsg("Create Time
define("tips",[],function(){var d=[' ",n=" ";this.note.IsMarkdown&&(o="",n=""),s.html(o+i+n);var a=e.find("a");a.removeClass("active"),a.eq(t).addClass("active")},render:function(t){var s="";if(this.list=t,t)for(var n=0;n ![]() ![]() | "].join(""),a=$(d),i={init:function(){$("#tipsBtn").click(function(){a.modal({show:!0})})}};i.init()});
define("history",[],function(){var t=[' "].join(""),i=$(t),s=i.find(".history-content"),e=i.find(".history-list"),o=i.find(".history-num"),n={note:null,list:[],curIndex:0,renderContent:function(t){var i=this.list[t].Content;this.curIndex=t;var o="
---|