知识屋:更实用的电脑技术知识网站
所在位置:首页 > 编程技术  > PHP编程

kindeditor编辑器 php获取内容

发表时间:2015-05-27来源:网络

在使用kindeditor编辑器的时候,使用js点击提交表单php不能获取对应的编辑器内容

需要添加的代码为:

KindEditor.ready(function(K) {	editor = K.create('#editor', {		resizeType : 0,		allowImageRemote : false,		width : '100%',		height : '100%',		items : ['source','bold','italic','underline','forecolor','image'],		afterBlur : function(){this.sync();}//需要添加的	});});
添加上后可以正常获取,解决问题

(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜