ckeditor check if empty

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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    }