Is there a way to automatically apply padding around the image inserted via the editor?

If the image is floated to the left I would like the left padding to be 0, and if the image is floated to the right I would like the right padding to be 0.

I am running a full version of ckeditor 4.1

Comments

wwalc’s picture

Status: Active » Fixed

You may use the styles combo and define there "Image aligned to right" style that sets the right class.

Alternatively follow the suggestion posted in #1936824: Image properties - adds inline styles instead of class!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.