v1.0
只读模式 group, 分享 评论更多问题 博客标签总是存在一个
This commit is contained in:
17
public/js/upload_paste/main.js
Normal file
17
public/js/upload_paste/main.js
Normal file
@ -0,0 +1,17 @@
|
||||
// 上传, 粘贴图片
|
||||
requirejs.config({
|
||||
paths: {
|
||||
// life
|
||||
'editor_drop_paste': 'js/upload_paste/editor_drop_paste',
|
||||
'attachment_upload': 'js/upload_paste/attachment_upload',
|
||||
'jquery.ui.widget': 'js/upload_paste/libs/jquery.ui.widget',
|
||||
'fileupload': 'js/upload_paste/libs/jquery.fileupload',
|
||||
'iframe-transport': 'js/upload_paste/libs/jquery.iframe-transport'
|
||||
},
|
||||
shim: {
|
||||
// life
|
||||
'fileupload': {deps: ['jquery.ui.widget', 'iframe-transport']},
|
||||
}
|
||||
});
|
||||
require(["editor_drop_paste", "attachment_upload"], function() {
|
||||
});
|
Reference in New Issue
Block a user