📌  相关文章
📜  ckeditor 检查是否为空 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:34.880000             🧑  作者: Mango

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