Ticket #580 (closed Bug: fixed)

Opened 3 years ago

Last modified 2 years ago

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

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

Description

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

Changed 3 years ago by martinkou

Hi,

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

 http://hkpcug.homeftp.net:88/~francium/fckeditor/_samples/html/frames.html  http://hkpcug.homeftp.net:88/~francium/fckeditor/_samples/html/iframe.html

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

Changed 3 years ago by fredck

  • keywords Pending added

Changed 3 years ago by dblood

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.

Changed 3 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.

Changed 3 years ago by fredck

  • keywords Pending removed

Changed 2 years ago by martinkou

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to FCKeditor 2.5

The issue has been fixed in the ticket #121.

Note: See TracTickets for help on using tickets.