Opened 15 years ago

Closed 15 years ago

#2493 closed Bug (duplicate)

Issues with styles in version 2.6.3

Reported by: Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: flavertu@…


I've been encountering very odd behaviour with styles. I created this simple file:

      <Style name="Image popup" element="a">
        <Attribute name="class" value="lightbox" />

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" />

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 15 years ago by

Cc: flavertu@… added

comment:2 Changed 15 years ago by Artur Formella

Resolution: duplicate
Status: newclosed

"Multi-select list of CSS classes " is a solution. This is DUP of #1973

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