Opened 10 years ago

Closed 10 years ago

#2943 closed Bug (invalid)

The FCKConfig.CoreStyles[''] setting was not found. Please check the fckconfig.js file

Reported by: Aimo Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: FCKeditor 2.6.4
Keywords: FCKConfig, FontFormats, CoreStyles Cc: trent@…

Description

Browser shows alert (FF3 and Opera 9.63. IE7 doesn't)

"The FCKConfig.CoreStyles[] setting was not found. Please check the fckconfig.js file"

when i set FCKConfig.FontFormats = 'p;h2;h3;h4;h5;pre;' ;

Both alerting browsers still render the iframe for the dropdown. IE7 again doesn't.

Without this setting all browsers do just fine.

Change History (3)

comment:1 Changed 10 years ago by Aimo

Suppose it was cached on IE7 as it now does the same with it...

comment:2 Changed 10 years ago by Aimo

Additionally IE7 renders the iframes height too small and without scroll bar.

comment:3 Changed 10 years ago by Trent

Cc: trent@… added
Resolution: invalid
Status: newclosed
Version: SVNFCKeditor 2.6.4

This happens because the "FCKConfig.FontFormats" option incorrectly contains a semi-colon character at the end of the list - which doesn't appear in the default installation where FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ; is the original line entry.

Remove the semi-colon and you won't get the error: FCKConfig.FontFormats = 'p;h2;h3;h4;h5;pre' ;

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy