Ticket #5322 (confirmed New Feature)

Opened 4 years ago

Last modified 4 years ago

Styles support in the image dialog

Reported by: miiimooo 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

comment:1 Changed 4 years ago by fredck

  • Keywords Confirmed added
  • Summary changed from CSS class support for image align to Styles 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 4 years ago by miiimooo

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 4 years ago by David Lesieur

Marked #5391 as duplicate.

comment:4 Changed 4 years ago by fredck

  • Milestone CKEditor 3.x deleted

Milestone CKEditor 3.x deleted

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy