function for ckeditor data submit code example Example: ckeditor get content html var data = CKEDITOR.instances.editor1.getData();