📅  最后修改于: 2022-03-11 15:01:34.880000             🧑  作者: Mango
for (instance in CKEDITOR.instances) {
//element id
if (CKEDITOR.instances['element_id'].getData() == "") {
alert('empty');
} else {
alert('not empty');
}
}