当前位置: 代码迷 >> Web前端 >> KindEditor第一回验证取不到值
  详细解决方案

KindEditor第一回验证取不到值

热度:111   发布时间:2013-08-11 22:22:29.0
KindEditor第一次验证取不到值

创建时添加红色部分属性?

window.editor = K.create('#editor_ids', {
?????resizeType : 1,
?????minWidth : 650,
?????height:315,
?????allowPreviewEmoticons : false,
?????allowImageUpload : true,
?????items : [
??????'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
??????'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
??????'insertunorderedlist', '|', 'emoticons',? 'link','image'],
????? afterCreate: function () {
?????????????? this.sync();
?????????? },
?????????? afterBlur: function () {
?????????????? this.sync();
?????????? }
????});