页面上方应该有类似这样的代码

<script type="text/javascript">

  var editor;

    setTimeout(function(){

editor = CKEDITOR.replace("productDesc"); 

CKFinder.setupCKEditor( editor, '/ckfinder/' );

     },'800');

</script>

editor.document.getBody().getText(); //取文本形式的值

editor.document.getBody().getHtml(); 或 editor.getData()//取包含html代码的值

//去掉前后空格后的长度

var len = $.trim(editor.document.getBody().getText()).length;