Opened 15 years ago
Closed 15 years ago
#2261 closed Bug (fixed)
[IE] @import in EditorAreaCss causes a javascript error in source view
Reported by: | nina | Owned by: | Martin Kou |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.6.3 |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Confirmed IE | Cc: |
Description
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.
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:
- click in the textarea - the menu does not pop down - like it should.
- manually put the menu down
- click source button.
- don't make any changes and just click ok on the source popup window (yes i have my source set to pop up)
- you get a javascript error that says:
Permission denied fckeditor.html?InstanceName=[mytextarea name]&ToolBar=Basic
If I remove the @imports out of my mystyles.css file, it will work fine.
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.
Please notify me once this is fixed so I can upgrade. For now, I'm sticking to 2.4.2 until this is resolved.
Thanks so much!!! -NS
Change History (6)
comment:1 Changed 15 years ago by
Keywords: | Confirmed IE added |
---|---|
Milestone: | FCKeditor 2.6.1 |
Summary: | editorareacss that points to a css file with an @import gives javascript error on view source → [IE] @import in EditorAreaCss causes a javascript error in source view |
Version: | → SVN |
comment:2 Changed 15 years ago by
Milestone: | → FCKeditor 2.6.2 |
---|
This looks like a serious issue. I'm targeting to the 2.6.2 for investigation.
comment:3 Changed 15 years ago by
Owner: | set to Martin Kou |
---|---|
Status: | new → assigned |
comment:4 Changed 15 years ago by
comment:5 Changed 15 years ago by
I can get a JavaScript error in IE6 with telesto's test case in #2135 by clicking on the Source button a few times, but the error I get isn't exactly the same as yours.
Is it possible for us to have a test case that could exactly replicate your errors?
comment:6 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I've done some tests again and couldn't get any errors. I believe this ticket has been fixed by the patch to #2135.
Replying to ns123:
To reproduce this bug you may open any dropdown menu.
Confirmed in IE. FF works as expected.