javascript - Get all visible CKEditor instances -
it possible loop through ckeditor instances like:
for(var instancename in ckeditor.instances) { ... }
some of ckeditors hidden in case. so, how possible loop through visible ckeditors?
i ended checking visibility of closest div
for(var instancename in ckeditor.instances) { if($("#"+instancename).closest(".form-group").is(':visible')){ ... } }
Comments
Post a Comment