如何获取用户的输入,这里有输出或编码的方法吗?
现在我能做的是
var content = $('#cke_ckeditor1 iframe').contents().find('.cke_show_borders').clone();
最佳答案
有一个方法可以返回编辑器的内容 - editor.getData()
- 请参阅documentation .
您可以在CKEDITOR.instances
对象中找到编辑器实例。
关于formatting - CckEditor:有没有办法输出输入的内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13952460/