Answers for "ckeditor check if empty"

0

ckeditor check if empty

for (instance in CKEDITOR.instances) {
        //element id 
        if (CKEDITOR.instances['element_id'].getData() == "") {
            alert('empty');
        } else {
            alert('not empty');
        }
    }
Posted by: Guest on June-03-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language