Opened 5 years ago

Last modified 5 years ago

#6828 confirmed Bug

[IE] Block selection breaks enterBr

Reported by: garry.yao Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version: 3.0
Keywords: IE Opera Cc:


  1. Load the editor with the following content with enterBr:
    	line1<br />
    	line2<br />
  2. Fully select first two lines by mouse;
  3. Click on "Indent" button;
  • Actual Result: All three lines are indented.
  • Expected Result: New block (div) created for the first two lines which get indented.

Same problem applies to other block commands like alignment.

Change History (2)

comment:1 Changed 5 years ago by garry.yao

This's probably due to the mouse selection has result in the following range which includes the the second <br> inside:

	line1<br />
	line2<br />

comment:2 Changed 5 years ago by garry.yao

  • Keywords Opera added
  • Status changed from new to confirmed

IE and Opera are including the the tail <br> when selecting one line.

Note: See TracTickets for help on using tickets.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy