Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Different versions of Colorbox generate different code.
For example:
Colorbox 2.10 (work fine):
<a href="http://site.ru/files/ideas/2016/09/12_0.jpg" class="colorbox colorbox-insert-image" rel="gallery-all">
<img ... />
</a>
Colorbox 2.12 (not working):
<a href="http://site.ru.net/files/ideas/2016/09/12_0.jpg" class="colorbox colorbox-insert-image" data-colorbox-gallery="gallery-all">
<img ... />
</a>
CKEditor (and another WYSIWYG editors) removed
data-colorbox-gallery="gallery-all"
from code and gallery is broken
Comments
Comment #2
Snater CreditAttribution: Snater commentedI do not maintain the Drupal 7 version, yet I am not sure how this ticket relates to the Insert module as the module itself does not insert colorbox aware attributes. It seems like you are having a configuration problem. You might want to set allowed tag attributes for CKEditor.
Comment #3
Snater CreditAttribution: Snater commented