Opened 11 years ago

Last modified 11 years ago

#13240 confirmed Bug

<br> vs \n in side a <pre> — at Version 2

Reported by: yuhai Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: byran.zaugg@…

Description (last modified by Jakub Ś)

Test the issue from http://ckeditor.com/demo#full

  1. Set config.enterMode = CKEDITOR.ENTER_BR;
  2. See the differece in behavior between 2.1 and 2.2:

2.1. Type two lines content(<br> will exist), select them, click Formatted. <br> will be replaced /n in side a <pre>
2.2. Click Formatted, type two lines. <br> won't be replaced with /n in side a <pre>

How do solve the inconsistent behavior? Can we keep <br> after clicking Formatted?

Thanks in advance.

Change History (1)

comment:2 Changed 11 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