ckeditor - fuelimage plugin

In ckeditor's fuelimage plugin, the "doubleclick" event has
if ( element.is( 'img' ) && !element.getAttribute( '_cke_realelement' )){
which checks to see if we're doube-clicking an actual image rather than a placeholder/icon used by another plugin to denote it's own markup.

If a placeholder image is double-clicked however, both that plugin's dialog AND the fuelimage dialog appears.

It seems that if '_cke_realelement' is replaced by 'data-cke-real-element-type' however, the unwanted behaviour is avoided.

Comments

  • edited 5:38AM
    Thanks for the report and the suggested fix. Will look into making that change.
Sign In or Register to comment.