There is this useful getData() function to retrieve the contents of a ckEDITOR text area element:
If you insert a ckEDITOR called ‘my_editor‘ then you can read the value that the user typed inside the editor’s textarea using this JS
var editorText = CKEDITOR.instances.my_editor.getData(); |
Hope it helps!
