摘要:
这段时间使用js+cookies进行自动草稿保存,个人觉的,这些全在客户端处理比较的好,所以没有使用AJAX+数据库的自动草稿保存方法。结果出现Ckeditor无法绑定onkeyup,onselect,onclick事件的问题,查看了Ckeditor的API,发现如下说明:instanceReady.ckeditor:firedwhentheeditoriscreated,butbeforeanycallbackbeingpassedtotheckeditor()method.setData.ckeditor:firedwhendataissetintotheeditor.getData.ck 阅读全文