ckeditor 绑定事件

  1.   CKEDITOR.instances["Content"].on("instanceReady", function () {  
  2.         //set keyup event  
  3.         this.document.on("keyup", AutoSave);  
  4.         //and click event  
  5.         this.document.on("click", AutoSave);  
  6.         //and select event  
  7.         this.document.on("select", AutoSave);  
  8.     });  
  9.   
  10.   
  11.     function AutoSave() {//相应的操作过程,可以按下面写,也可以按一般javascript过程写。  
  12.         CKEDITOR.tools.setTimeout(function () {  
  13.             alert("10101010");  
  14.         }, 0);  
  15.     }     
原文地址:https://www.cnblogs.com/austinspark-jessylu/p/7890182.html