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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -