在页面上怎么获得ckeditor里的内容
在页面上怎么获得ckeditor里的内容
日期:2017-11-24 13:27:47 人气:2
版本不同获取方法不一样
目前已测的
最新版3.6
var content= CKEDITOR.instances.dis_content.getData()
dis_content换成你的
3.0及以前
var content = CKEDITOR.instances.getData()
还有疑问去官网看看吧
http://docs.cksource.com/CKEditor_3.x/Users_Guide