Opened 16 years ago

Last modified 15 years ago

#2474 confirmed Bug

An editor contained in a Div with overflow:auto can't be maximized.

Reported by: Jason Wright Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


I created an interface where an instancwe of FCKeditor needed to be placed inside of a div with overflow:auto;. When the maximize editor button is clicked the editor grows but not to full screen and a majority of the editor is covered by other page elements. I tested it with the latest release as well as the nightly download 8/19/08. There is a test site here using the nightly: I also posted this on the message board:

Change History (3)

comment:1 Changed 16 years ago by Alfonso Martínez de Lizarrondo

According to the forums the problem is really that the removal of styles is based on Class and inline styles. If the stylesheet applies some style by Id (or any other selector), then it will remain and the maximize could fail.

I guess that the best solution would be to forget about removing the Class and focus just on the inline styles: store away anything that has been set and like FCKTools.ResetStyles apply some styles that reset anything that might mess the behavior: margin, padding, border, position, left, bottom, top, right, width, height, overflow...

comment:2 in reply to:  description Changed 15 years ago by Artur Formella

Keywords: Pending added

jasonsplace, could you attach file about.htm? Link is unavailable and is important to confirm this bug.

comment:3 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Keywords: Confirmed added; Pending removed

The problem is explained in the forums and my previous post, the stylesheet had something along the lines

#editorDiv {
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