Opened 11 years ago
Last modified 11 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@… |
Description
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 11 years ago by
Keywords: | autogrow images removed |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
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 11 years ago by
Status: | pending → confirmed |
---|---|
Version: | 4.2.2 → 3.4 |
Yes, you are right. I was able to reproduce this issue from CKEditor 3.4.
Could you attach sample HTML file (with URLs to some external images) plus Java Script that is resizing these images.