Opened 17 years ago
Closed 17 years ago
#2493 closed Bug (duplicate)
Issues with styles in version 2.6.3
Reported by: | flavertu@cybergeneration.com | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: | flavertu@… |
Description
I've been encountering very odd behaviour with styles. I created this simple file:
<Styles> <Style name="Image popup" element="a"> <Attribute name="class" value="lightbox" /> </Style> </Styles>
In 2.6.3, the style is shown even on simple text, without selected area. Trying to apply with no selection doesn't change anything, of course. Selecting text, creating a link out of it, then trying to apply the style doesn't do anything either, which is more annoying. However, after creating this test style:
<Style name="Test" element="h2"> <Attribute name="class" value="test" /> </Style>
I could do this: select few words, apply the style "Test". The whole line became surrounded by the tag h2 class="test", which seems rather logical. Then, selecting the "Image popup" style creates the a class="lightbox" tag nested into h2 !?
Test: Windows XP, IE6, IE7, Firefox 3.0.1, Safari 3.1.2 Regards,
Change History (2)
comment:1 Changed 17 years ago by
Cc: | flavertu@… added |
---|
comment:2 Changed 17 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
"Multi-select list of CSS classes " is a solution. This is DUP of #1973