Opened 11 years ago

Last modified 11 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:

Description

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: http://dealerrevolution.com/admin/about.htm I also posted this on the message board: http://www.fckeditor.net/forums/viewtopic.php?f=6&t=10939&sid=330db56903f3061c42e7da0c701b4b08

Change History (3)

comment:1 Changed 11 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 11 years ago by Artur Formella

Keywords: Pending added

jasonsplace, could you attach file about.htm? Link http://dealerrevolution.com/admin/about.htm is unavailable and is important to confirm this bug.

comment:3 Changed 11 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 {
overflow:auto;
}
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy