Opened 12 years ago

Last modified 8 years ago

#10146 closed Bug

Empty lines are removed in enter mode BR — at Version 4

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone: CKEditor 4.1.2
Component: General Version: 4.0 Beta
Keywords: Cc: mattleff@…, Chris Wells

Description (last modified by Jakub Ś)

To reproduce:

  1. Open enterkey sample and set enter mode to BR
  2. in WYSIWYG press new page command and then press Enter key few times. You will get:
    <br />
    <br />
    <br />
    
  3. Toggle between WYSIWYG and Source

Result: Every time you switch one BR gets removed until there is nothing in editor. This is in CKEditor 4 beta

  1. From CKEditor 4.0 you will get something like below when switching to source.
    <br />
    <br />
    <br />
    &nbsp;
    
  2. Every time you switch to source remove the &nbsp;. Only then br tag gets remove (one at a time)

Problem can be reproduced in all browsers from CKEditor 4 beta. It doesn't occur in 3.x branch.

Change History (4)

comment:1 Changed 12 years ago by Jakub Ś

Description: modified (diff)
Status: newconfirmed

comment:2 Changed 12 years ago by Jakub Ś

#10145 was marked as duplicate.

comment:3 Changed 12 years ago by Matthew Leffler

Cc: mattleff@… added

comment:4 Changed 12 years ago by Jakub Ś

Description: modified (diff)
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