尝试在http://ckeditor.com/demo上键入源模式以调试在控制台中的使用
CKEDITOR.instances["editor1"].on("key", function(e) {console.log("change: " + e.editor.getData())})
我总是在控制台中看到一个字符少,所以如果我打字abc我会看到ab
注意:因为https://dev.ckeditor.com/ticket/12031Guidelines 以及如何在更改事件中检测CKEditor源模式而 使用键事件