KindEditor.ready(function(K) {
editor1 = K.create('textarea[name="sponsor"]', {
resizeType : 1,
allowPreviewEmoticons : false,

allowImageUpload : true,
uploadJson : 'upload.php',

afterCreate : function() { this.sync(); }, //关键是这两个
afterBlur: function(){this.sync();},//关键是这两个
items : [
'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'link']
});
});

相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2022-02-21
  • 2021-10-13
  • 2021-08-29
  • 2022-12-23
猜你喜欢
  • 2021-10-15
  • 2021-12-29
  • 2021-12-15
  • 2021-05-12
  • 2021-12-14
  • 2021-12-02
  • 2022-02-28
相关资源
相似解决方案