Opened 4 years ago

Last modified 4 years ago

#13404 confirmed Bug

With enter mode as <br>, decreasing indent will cause different lines form back into 1 single line

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

Description

Issue: With enter mode as <br>, decreasing indent will cause different lines form back into 1 single line.

Steps to reproduce:

  1. Use enterkey.html in sample of entryKey plugin.
  2. Change "When Enter is pressed:" to "Break the line with a <BR>".
  3. Type 123 and then press Enter key, do the same for 456, 789.
  4. Now we have 123,456,789 in THREE lines.
  5. Select them all to insert bulleted list.
  6. Select the last line 789 and click on decrease indent.
  7. Now 789 is removed from the list. And now do the same to 456.

Expected Result: 456,789 are in two lines.

Actual Result: 456,789, are in the same line.

We have figure out the root cause and one possible solution.

See https://github.com/liferay/liferay-ckeditor/pull/4

Change History (3)

comment:1 Changed 4 years ago by Jakub Ś

Status: newconfirmed
Version: 4.4.8 (GitHub - master)3.4.2

Problem can be reproduced from CKEditor 3.4.2. Before that version BR's were preserved.

@JohnZhao could I ask you to submit your pull request to ckeditor-dev ?

Please note that it is required to provide tests to your PR and describe what or which bug does it fix exactly. Please see e.g. ​https://github.com/ckeditor/ckeditor-dev/pull/185 or other accepted pull requests.

comment:2 Changed 4 years ago by Piotrek Koszuliński

comment:3 Changed 4 years ago by Byran Zaugg

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