markdown editor v2 paste images

This commit is contained in:
lealife
2015-11-22 23:01:30 +08:00
parent 8301a1e515
commit 2000bc585b
2 changed files with 2 additions and 2 deletions

View File

@ -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",

File diff suppressed because one or more lines are too long