Opened 10 years ago

Last modified 10 years ago

#11231 confirmed Bug

Autogrow does not load as images are loaded

Reported by: Stig Runar Vangen Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4
Keywords: Cc: stig@…


If I set the editor content to a document with lots of images where the image size is not initially set, the autogrow plugin will not expand the editor as images are loaded. After all images are loaded, their size is known, and the document height are expanded without the autogrow plugin knowing. This results in a scrollbar being shown for the editor area.

Change History (3)

comment:1 Changed 10 years ago by Jakub Ś

Keywords: autogrow images removed
Status: newpending

where the image size is not initially set

Could you attach sample HTML file (with URLs to some external images) plus Java Script that is resizing these images.

comment:2 Changed 10 years ago by Stig Runar Vangen

I'm sorry if I was a bit unclear in my description of the problem. There is no JavaScript involved in this particular problem. This happens to any document containing lots of images lacking width and height definitions in the HTML document.

The size of these images will be known as soon as they are loaded from the server. At that point the browser re-flows the document, and its height are extended. When the document gets resized by images being loaded, the autogrow plugin won't extend the document area, and a scrollbar gets added to the editor.

comment:3 Changed 10 years ago by Jakub Ś

Status: pendingconfirmed

Yes, you are right. I was able to reproduce this issue from CKEditor 3.4.

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