我的代码
$(function(){
$('textarea').each(function(){
KindEditor.create(this,{
width:'500px',
height:'88px',
minHeight:'88px',
newlineTag : 'br',
themesPath : '{PUBLIC_PATH}js/KindEditor/themes/',
pluginsPath: '{PUBLIC_PATH}js/KindEditor/plugins/',
afterBlur:function(){
if(!this.isEmpty()){
this.sync();
}
},
afterChange:function(){
var autoheight = KindEditor.IE?this.edit.doc.body.scrollHeight:this.edit.doc.body.offsetHeight;
if(autoheight<88){
autoheight = '88';
}
this.edit.setHeight(autoheight);
}
})
});
})
没找到是什么原因,求大牛帮忙