添加了富文本编辑器上传图片的功能,上传路径在setting_loacl和server里暂时在static/src/upload_image/

This commit is contained in:
sxw@401
2015-09-11 20:34:15 +08:00
parent 70d3fcf323
commit 9b83a2e249
6 changed files with 45 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ define("editor", ["simditor"], function(Simditor){
toolbarFloat: false,
defaultImage: null,
upload: {
url: "",
url: "/api/admin/up_load_image/",
params: null,
fileKey: "image",
connectionCount: 3,