Accessing the editor contents via JQuery?

Dec 29, 2014 at 9:11 PM

Is it possible to access the contents of the editor using JQuery?

I can't see an identifier to use in the selector.

Best Regards,

Dec 30, 2014 at 3:13 AM
// Get the editor data.
var data = $( '#instanceID' ).val();
But you don't need jquery for that simply use
 var data = CKEDITOR.instances.instanceID.getData()