Opened 17 years ago

Closed 16 years ago

#580 closed Bug (fixed)

Full screen in IE frame uses width of window instead of frame

Reported by: Douglas Blood Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: General Version:
Keywords: Cc:


If you "Maximize the editor size" in IE when the fckeditor is in a frame it will have a wider width than the screen.

### Replacement function for fckeditorcode_ie.js ### FCKTools.GetViewPaneSize=function(A){var B;var C=A.document.body;if (C&&C.clientWidth) B=C;else B=top.document.body;if (B) return { Width:B.clientWidth,Height:B.clientHeight };else return { Width:0,Height:0 };};

Change History (6)

comment:1 Changed 17 years ago by Martin Kou


I've tried to reproduce the bug with an iframe and traditional frame sets, but both cases seemed to work correctly in my IE6:

Is there a test case where the bug occurs that we can look at?

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: Pending added

comment:3 Changed 17 years ago by Douglas Blood

I have a case where I can reproduce this. When I get a free minute I will post a page where this can be viewed. I am also using the cfmodule implementation instead of directly calling the FCKeditor if that matters. I will test it both ways to narrow the issue.

comment:4 Changed 17 years ago by snowman61

I had this bug also. It was fixed by the code provided by dblood. Thanks.

In my case I had a frameset with header, left menu and main frames. FCKeditor is in main frame. Clicking the "Maximise the Editor size" causes the editor to take up all of the main frame. At that point, clicking the "Source" button caused the editor to move under the header frame making part of it invisible.

As I said, the code provided by dblood fixed the problem.

comment:5 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: Pending removed

comment:6 Changed 16 years ago by Martin Kou

Milestone: FCKeditor 2.5
Resolution: fixed
Status: newclosed

The issue has been fixed in the ticket #121.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy