for (instance in CKEDITOR.instances) { //element id if (CKEDITOR.instances['element_id'].getData() == "") { alert('empty'); } else { alert('not empty'); } }