Opened 14 years ago

Last modified 13 years ago

#5405 confirmed Bug

Line breaks are sometimes lost when ignoreEmptyParagraph is set to false

Reported by: Wiktor Walc 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 (1)

comment:1 Changed 13 years ago by pomu0325

Cc: pomu@… added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy