ckeditor check if empty

Solutions on MaxInterview for ckeditor check if empty by the best coders in the world

showing results for - "ckeditor check if empty"
Moritz
08 Aug 2019
1for (instance in CKEDITOR.instances) {
2        //element id 
3        if (CKEDITOR.instances['element_id'].getData() == "") {
4            alert('empty');
5        } else {
6            alert('not empty');
7        }
8    }