Is it possible to have CKEditor add a class to an image instead of using the HTML align="right"? I want to give right-aligned images a left margin and left-aligned images a right margin, but don't know how to achieve this without a unique class name given to each image. And I don't want to require my client to put in a custom class on each image, but alignment is intuitive enough for them.
Sat, 01/09/2010 - 00:08
#1
Re: Add a classname to an image instead of align="right&quo
I would recommend using the styles drop down. That way you can just add the image and then select it, having the class names selectable from the styles drop down. That is the most intuitive means I can think of right now.
Re: Add a classname to an image instead of align="right&quo
Re: Add a classname to an image instead of align="right&quo
Re: Add a classname to an image instead of align="right&quo