Kindeditor JS 取值。。。

    最近用Kindeditor,不知道怎么JS取值。网上找一个方法,搞定!谢咯~

   

  KindEditor.ready(function(K) {

     editor = K.create('textarea[name="content"]', {
        cssPath : '../kindeditor/plugins/code/prettify.css',
        uploadJson : '../Kindeditor/KEupload',
        fileManagerJson : '../kindeditor/php/file_manager_json.php',
        allowFileManager : true,   
        afterCreate : function() {
         this.sync();
        },
        afterBlur:function(){
            this.sync();
        }          //主要是这两个方法      
      });


原地址:http://www.oschina.net/question/559485_53596

posted @ 2012-08-31 15:33  cove  阅读(1095)  评论(0编辑  收藏  举报