ueditor编辑器上传附件是为什么不在编辑器内显示内容?也就无法获取路径保存在数据库中了,,,
我有一个模块需要上传附件,所以我这样加了一个功能:varue1=UE.getEditor('container1',{toolbars:[["fullscreen","u...
我有一个模块需要上传附件,所以我这样加了一个功能:
var ue1 = UE.getEditor('container1',
{
toolbars: [["fullscreen", "undo", "redo", "insertunorderedlist", "insertorderedlist", "unlink", "link", "cleardoc", "selectall", "searchreplace", "preview", "drafts", "|", "simpleupload", "insertimage", "emotion", "date", "time", "horizontal", "spechars", "pasteplain", "bold", "italic", "underline", "fontborder", "strikethrough", "forecolor", "backcolor", "superscript", "subscript", "justifyleft", "justifycenter", "justifyright", "justifyjustify", "attachment", "touppercase", "tolowercase", "directionalityltr", "directionalityrtl", "indent", "removeformat", "formatmatch", "autotypeset", "paragraph", "rowspacingbottom", "rowspacingtop", "lineheight", "fontfamily", "fontsize", "imagenone", "imageleft", "imageright", "imagecenter", "inserttable", "deletetable"]]});
添加了attachment上传附件功能,但是上传成功了,在编辑器内无法显示文件,就无法将文件路径保存在数据库中了,那么查询时也就无法下载了,,,求大神教我! 展开
var ue1 = UE.getEditor('container1',
{
toolbars: [["fullscreen", "undo", "redo", "insertunorderedlist", "insertorderedlist", "unlink", "link", "cleardoc", "selectall", "searchreplace", "preview", "drafts", "|", "simpleupload", "insertimage", "emotion", "date", "time", "horizontal", "spechars", "pasteplain", "bold", "italic", "underline", "fontborder", "strikethrough", "forecolor", "backcolor", "superscript", "subscript", "justifyleft", "justifycenter", "justifyright", "justifyjustify", "attachment", "touppercase", "tolowercase", "directionalityltr", "directionalityrtl", "indent", "removeformat", "formatmatch", "autotypeset", "paragraph", "rowspacingbottom", "rowspacingtop", "lineheight", "fontfamily", "fontsize", "imagenone", "imageleft", "imageright", "imagecenter", "inserttable", "deletetable"]]});
添加了attachment上传附件功能,但是上传成功了,在编辑器内无法显示文件,就无法将文件路径保存在数据库中了,那么查询时也就无法下载了,,,求大神教我! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询