Opened 15 years ago
Last modified 15 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 15 years ago by
Keywords: | Confirmed added |
---|---|
Summary: | CSS class support for image align → Styles support in the image dialog |
comment:2 Changed 15 years ago by
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?
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.