Opened 14 years ago

Last modified 13 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 14 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 13 years ago by Garry Yao

Keywords: Opera added
Status: newconfirmed

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

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