Ticket #5405 (confirmed Bug)

Opened 4 years ago

Last modified 3 years ago

Line breaks are sometimes lost when ignoreEmptyParagraph is set to false

Reported by: wwalc Owned by:
Priority: Normal Milestone:
Component: General Version: 3.1.1
Keywords: Cc: pomu@…

Description

<br> tag is lost when the block element after line break is empty.

Steps to reproduce

  • Set in CKEditor configuration ignoreEmptyParagraph to false
  • Paste the following in source mode:
    <div>
    	First line</div>
    <br />
    <div>
    </div>
    
  • Switch to wysiwyg mode, result:
    <div>
    	First line</div>
    <div>
    	&nbsp;</div>
    

Same things happens when <p> tag is used instead of <div>.

Change History

comment:1 Changed 3 years ago by pomu0325

  • Cc pomu@… added
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy