Opened 17 years ago

Closed 17 years ago

#794 closed Bug (invalid)

EditorAreaCSS - Multiple stylesheet urls concatenated

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

Description

The documentation since Version 2.3 Beta has stated that the config variable 'EditorAreaCSS' may take a single URL string or an array of URL strings.

However, Version 2.3.1 Version 2.3.2 concatenate array elements into a single URL string. Thus...

var oEd = new FCKeditor('textareaId');
oEd.Config['EditorAreaCSS'] = ['style1.css', 'style2.css',
'style3.css'];

results in a link tag like this:

<link type="text/css" rel="stylesheet"
href="style1.css,style2.css,style3.css">

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

Change History (2)

comment:1 Changed 17 years ago by Martin Kou

Reporter: changed from Martin Kou to garyburge@…

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: invalid
Status: newclosed

Actually the array option is available only in the configuration file. It is not possible to do that inline in the page when creating an editor instance. We already have ticket #30 to address that issue.

In any case, to help on this, I've just committed [530], which makes it possible to set EditorAreaCSS to a list of paths separated by a comma.

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