I'm working on a site right now using FCKEditor and have run into a problem with the Maximize feature. Here is a page that shows the problem:
http://dealerrevolution.com/admin/about.htm
When I click Maximize it doesn't quite go fullscreen and the editor is covered with other elements on the site. If I get rid of the content class in my css file then it works but I need that class for the sites layout to work. Any ideas?
Tue, 08/19/2008 - 03:28
#1
Re: Maximize Editor gets covered
Please, file a ticket about it.
Re: Maximize Editor gets covered
Re: Maximize Editor gets covered
Part of the problem I think arises from this issue http://dev.fckeditor.net/ticket/174. Looking through the changeset http://dev.fckeditor.net/changeset/487 it seems like the below code is causing the problem in the fckfitwindow.js
Re: Maximize Editor gets covered
The SaveStyles() function basically looks for the "class" or inline "style" attributes defined on the element, saves it to an object and clears out the styles on the page. This will then allow the editor to maximize normally. In your case the <div id="content"> does not have any "class" or "style" attribute set on it. In turn the SaveStyles() fails to clear out the style setting on this div which leaves it positioned where it is on the page and screws up the maximize editor function.
Modifying your div to something like <div id="content" class="content-class"> and changing the CSS to define .class{} instead of #class{} might take care of the issue. I did a similar test run and it seemed to fix the problem.
Hope that helps,
Shri
Re: Maximize Editor gets covered