Ticket #2135 (closed Bug: fixed)
Null is saved when submiting the form in IE6
| Reported by: | telesto | Owned by: | martinkou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6.3 |
| Component: | Core : Output Data | Version: | SVN |
| Keywords: | Confirmed IE Review+ | Cc: |
Description
Set the EditorAreaCSS property:
oFCKeditor.Config['EditorAreaCSS'] = 'some/file.css';
in some/file.css is standard css file. Everything ok, no problems... But if I write into this file standard css function:
@import url('some/other/file.css');
Everything seems to work fine but that is not true. File was imported succesfuly, styles changed according to 'some/other/file.css', but try to do this: 1) Click into FCKeditor area and change some text 2) Click on Source button (the source code will appear) 3) Click on Source button again (you will get back into WYSIWYG area) - still everything seems fine, style is ok but follow the last step 4) Click on submit button The submited text is now 'null' and everything what was really in the FCKeditor area disappeared forever!!!! Even if everythink looked fine...
For reproducing the bug don't do anythink else than what is described in four steps above. When you write something in FCKeditor area after step 3 the submited text will be ok.
When I removed the @import function and copied the content of the 'some/other/file.css' file into 'some/file.css' everything was ok...