Opened 14 years ago

Last modified 14 years ago

#5322 confirmed New Feature

Styles support in the image dialog

Reported by: mimo Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: 3.2
Keywords: Cc:

Description

I can confirm that the new version fixes the img align= problem. Would it be possible/difficult to add support for replacing the style= with a CSS class for more consistent design (similar to the justifyClasses and indentClasses)? Maybe call it imageAlignClasses...

Change History (4)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added
Summary: CSS class support for image alignStyles support in the image dialog

We may have the same need for other image properties, like borders, spaces, etc. and all this goes out of the dialog scope.

You can instead use the Style toolbar combo for that, by having predefined styles with classes for alignment.

The only possible evolution I can see for it is adding a "Style" option in the dialog, which lists styles that are defined for the <img> element. We have this kind of option in the Div Container dialog. There are no plans to work on this for now though.

comment:2 Changed 14 years ago by mimo

Thanks for the quick reply. Can I just pick your brains a bit more - sorry if I'm going out of scope: Could I simply disable the alignment widget so people stop asking me why it doesn't work or why they shouldn't use it?

comment:3 Changed 14 years ago by David Lesieur

Marked #5391 as duplicate.

comment:4 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy