Opened 18 years ago

Last modified 12 years ago

#750 closed Bug

Comment tags around inline styles disable styles — at Initial Version

Reported by: Martin Kou Owned by:
Priority: Normal Milestone:
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Cc: lizl@…, severy@…, liuspider@…

Description

If style definitions are enclosed within comment tags, they are ignored by the editor. You can see an example of this with the following HTML:

<style type="text/css" media="screen"><!-- p { color: #333; font-size: 12px; font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular } td { color: #333; font-size: 12px; font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular } a { color: #c33; font-size: 13px; font-weight: bold; text-decoration: none } a:hover { color: black } --></style>

In the web browser, the above style definitions work fine. When the content was loaded into the editor, however, the styles are ignored because they are encased in the comment tags.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1511456&group_id=75348&atid=543653

Change History (0)

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