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

VasyOK created an issue. See original summary.

Snater’s picture

I 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.

Snater’s picture

Status: Active » Closed (outdated)