var editor; KindEditor.ready(function (K) { editor = K.create('textarea[name="content1"]', { resizeType : 0, afterChange : function () { K('#tab6 .word_count2').html(this.count('text')); } }); }); editor.insertHtml('可以直接插入HTML标签!');