Opened 4 years ago

Closed 4 years ago

#8611 closed Bug (wontfix)

An extra blank space inserted after br tag within li tag is exposed when using <shift+enter> to insert a new line

Reported by: IBM_RQM Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: 3.0
Keywords: Cc:

Description

How to reproduce:

  1. Create a list with two line list details
  2. Move the cursor to the end of first line
  3. Press Shift + Enter to insert an line feed
  4. Open Firbug to check the xml code, you will see there are two br tags followed the first line content within the li tag.
  5. Switch it to Preview mode and check the xml code with Firebug, you will see there is only one br tag.
  6. Save it
  7. Check the html code get by CKEditor's getData() method, you will find that here is an extra blank space inserted after a br tag within that li tag.

Attachments (2)

list_in_firebug_html_preview_mode.png (144.5 KB) - added by IBM_RQM 4 years ago.
exposed_html_code.png (115.9 KB) - added by IBM_RQM 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by IBM_RQM

Changed 4 years ago by IBM_RQM

comment:1 Changed 4 years ago by IBM_RQM

Could I get an update of this defect status. Thanks!

comment:2 Changed 4 years ago by j.swiderski

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version changed from 3.6.2 to 3.0

Easier test case is changing points 5 and 6 from:

  1. Switch it to Preview mode and check the xml code with Firebug, you will see there is only one br tag.
  2. Save it

to Switch to Source mode.

Although not expected this is something that we can not do with out. If this space was not there the second line (new empty line) wouldn't be visible anymore in output page.

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