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 )
Test the issue from http://ckeditor.com/demo#full
- Set config.enterMode = CKEDITOR.ENTER_BR;
- 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.
