markdown editor v2 paste images
This commit is contained in:
@ -290,7 +290,7 @@ define('editor_drop_paste', ['jquery.ui.widget', 'fileupload'], function() {
|
|||||||
// 2015/4/17 添加wmd-input markdown paste image
|
// 2015/4/17 添加wmd-input markdown paste image
|
||||||
$('#editorContent, #wmd-input .editor-content').fileupload({
|
$('#editorContent, #wmd-input .editor-content').fileupload({
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
pasteZone: $('#editorContent, #wmd-input .editor-content'),
|
pasteZone: $('#editorContent, #wmd-input'),
|
||||||
dropZone: '', // 只允许paste
|
dropZone: '', // 只允许paste
|
||||||
maxFileSize: 210000,
|
maxFileSize: 210000,
|
||||||
url: "/file/pasteImage",
|
url: "/file/pasteImage",
|
||||||
|
2
public/js/plugins/main.min.js
vendored
2
public/js/plugins/main.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user