How to change output markup of images added by editor in General Support Posted July 27, 2015 What would you suggest if images embedded with CKE come without any class? I need to add the "data-uk-lightbox" attribute for lightbox functionality. Some way to add an custom attribute only when using the "link to larger" option would be great. I can't add classes/attributes to article images by default (interceptor or jquery) since other things like Sponsorlogos will be linked. (for now i've altered the wire/modules/Inputfield/InputfieldCKEditor/plugins/pwimage/plugin.js) thanks.