Opened 12 years ago
Closed 12 years ago
#9812 closed Bug (fixed)
[Div-based] Bottom UI space overrides editing area with large vertical padding
Reported by: | Olek Nowodziński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.0.1 |
Component: | General | Version: | 4.0 Beta |
Keywords: | Cc: |
Description
- User div-based editor with
.cke_wysiwyg_div
padding-top|bottom greater than.cke_contents
height. - Use resize handler to reduce editor vertical size to minimum.
- Bottom part of
.cke_wysiwyg_div
is hidden. Since v-paddings are greater that wrapper's height,.cke_wysiwyg_div
has no formal height and cannot shrink anymore.
Proposed solution: in editor.resize()
check whether resize wrapper child has some height left. Otherwise, stop resizing.
NOTE: requires #9721 to reproduce.
Attachments (2)
Change History (6)
Changed 12 years ago by
Attachment: | divBasedPaddingGtHeight.png added |
---|
Changed 12 years ago by
comment:3 Changed 12 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.0.1 (GitHub - master) → 4.0 Beta |
I was able to reproduce this problem from CKEditor 4 beta.
comment:4 Changed 12 years ago by
Milestone: | CKEditor 4.0.2 → CKEditor 4.0.1 |
---|---|
Resolution: | → fixed |
Status: | confirmed → closed |
Fixed with #9721.