#2261: editorareacss that points to a css file with an @import gives javascript
error on view source
-----------------------------+----------------------------------------------
Reporter: ns123 | Type: Bug
Status: new | Priority: Normal
Milestone: FCKeditor 2.6.1 | Component: General
Version: | Keywords:
-----------------------------+----------------------------------------------
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
--
Ticket URL: <http://dev.fckeditor.net/ticket/2261>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac