主题: 添加图片不显示 本地正常显示 上传到服务器 上面 就不行了
作者: fenchejian, 发布日期: 2014-07-23 21:13:36, 浏览数: 2601
操作系统:

浏览器版本:

KindEditor版本: 4.1.10

BUG :我在本地测试 批量上传图片 那个添加图片 按钮都是正常的。上传到服务器里面。就不能正常显示了。360安全浏览器7。 ie 和google都是正常的。就是360本地测试正常。服务器上面在访问网站就不行了。

期望结果:

作者: e o, 发布日期: 2014-07-28 04:02:11
我的是无法添加视频。
回复
作者: e o, 发布日期: 2014-07-28 04:05:31

就像这样的,我也升级最新版本了,但是无法上传视频。真不理解。是不是在这里被禁止了???但是这个js我找不到在哪.......

<script src="kindeditor/kindeditor-min.js" charset="utf-8"></script>
<script src="http://kindeditor/lang/zh_CN.js" charset="utf-8"></script>
<script>
var KE;
KindEditor.ready(function(K) {
KE = K.create("textarea[name='g_body']", {
items : ['source', '|', 'fullscreen', 'undo', 'redo', 'print', 'cut', 'copy', 'paste',
'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
'superscript', '|', 'selectall', 'clearhtml','quickformat','|',
'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'flash', 'media', 'table', 'hr', 'emoticons', 'link', 'unlink', '|', 'about'],
cssPath : "http://www.feiyoubang.com/data/resource/kindeditor/themes/default/default.css",
allowImageUpload : false,
allowFlashUpload : false,
allowMediaUpload : false,
allowFileManager : false,
syncType:"form",
afterCreate : function() {
var self = this;
self.sync();
},
afterChange : function() {
var self = this;
self.sync();
},
afterBlur : function() {
var self = this;
self.sync();
}
});
KE.appendHtml = function(id,val) {
this.html(this.html() + val);
if (this.isCreated) {
var cmd = this.cmd;
cmd.range.selectNodeContents(cmd.doc.body).collapse(false);
cmd.select();
}
return this;
}
});
</script>
????
回复
发表新帖 发表回复