Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#3409 closed Bug (fixed)

Empty LI's don't render at full height

Reported by: Josh Nisly Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: General Version: SVN (CKEditor) - OLD
Keywords: Confirmed HasPatch Cc:

Description

To duplicate, start with a completely empty editor, then press the bullet button. The bullet will be scrunched up against the top of the editor until a key is typed, which causes the UL/LI to render at full height, shifting the bullet down.

The solution, I believe, is to call appendBogus() on the LI. Attached is a patch that implements this.

This can be reproduced with any of the nightly samples.

Attachments (2)

3409.patch (513 bytes) - added by Josh Nisly 11 years ago.
3409_2.patch (544 bytes) - added by Josh Nisly 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by Josh Nisly

Attachment: 3409.patch added

comment:1 Changed 11 years ago by Garry Yao

Keywords: Confirmed HasPatch added

Nice catch, while the 'appendBogus()' call should dedicated to FF.

Changed 11 years ago by Josh Nisly

Attachment: 3409_2.patch added

comment:2 in reply to:  1 Changed 11 years ago by Josh Nisly

Replying to garry.yao:

Nice catch, while the 'appendBogus()' call should dedicated to FF.

I've attached an updated patch that avoids this in IE.

comment:3 Changed 11 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

Fixed with [3475].

comment:4 Changed 11 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.0
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy