#2493: Issues with styles in version 2.6.3
---------------------+------------------------------------------------------
Reporter: cyberg | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
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,
--
Ticket URL: <http://dev.fckeditor.net/ticket/2493>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac