﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2261	[IE] @import in EditorAreaCss causes a javascript error in source view	nina	Martin Kou	"I am having a similar problem as described here:
http://www.fckeditor.net/forums/viewtopic.php?f=6&t=9345&p=24267&hilit=editorareacss+import#p24267

But my problem is a little bit different.[[BR]]
In my fckconfig.js I set the 

{{{
FCKConfig.EditorAreaCSS = 'mystyles.css' ;
}}}


then in mystyles.css I have the lines:

{{{
@import ""/includes/css/main.css""; 
@import ""/includes/css/foo.css""; 
@import ""/includes/css/bar.css""; 

html, body {
	text-align: left;
	background-color: white;
	font-size: 12px;
}
}}}


I do this because I have 3 css files I want my editor area to show up like. 
Once I do this, when I bring up my page that has the fckeditor textarea on it,
I will do this:

1. click in the textarea - the menu does not pop down - like it should.[[BR]]
2. manually put the menu down[[BR]]
3. click source button.[[BR]]
4. don't make any changes and just click ok on the source popup window (yes i have my source set to pop up)[[BR]]
5. you get a javascript error that says:[[BR]]
    Permission denied fckeditor.html?InstanceName=[mytextarea name]&ToolBar=Basic[[BR]]

If I remove the @imports out of my mystyles.css file, it will work fine.[[BR]]

I also downloaded the nightly build for fckeditor on 6/8/2008 and tried reproducing this bug on that nightly build version too, and the bug is still there.[[BR]]

Please notify me once this is fixed so I can upgrade. For now, I'm sticking to 2.4.2 until this is resolved.[[BR]]

Thanks so much!!!
-NS



"	Bug	closed	Normal	FCKeditor 2.6.3	General	SVN (FCKeditor) - Retired	fixed	Confirmed IE	
