Opened 8 years ago

Closed 8 years ago

#7783 closed Bug (fixed)

[IE9] Cursor at wrong position after enterBR

Reported by: Garry Yao Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.6
Component: UI : Enter Key Version: 3.6
Keywords: Cc:

Description

  1. Put cursor in the middle of text and press Shift Enter key;
  • Actual Result: Br line-break created, cursor blinks at the same line;
  • Expected Result: Br line-break created, cursor blinks after the line-break.

Attachments (1)

7783.patch (1.8 KB) - added by Garry Yao 8 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by Garry Yao

Status: newconfirmed

Regression of [6766].

comment:2 Changed 8 years ago by Garry Yao

It takes several hours to reveal the culprit is actually the following CSS selector?!

a[name]:empty
{
  display:inline-block;
}

I can't explain you why, but just guess perhaps IE9 leaks the selector to potentially all empty inline elements, includes BR.

comment:3 Changed 8 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedreview

The patch just fakes the selector in IE9.

Changed 8 years ago by Garry Yao

Attachment: 7783.patch added

comment:4 Changed 8 years ago by Sa'ar Zac Elias

Status: reviewreview_failed
  • Create an anchor using the dialog. Click it so it gains focus, and then click beneath it. Note that it is "collapsing".
  • L50 in the link plugin, there's an obsolete comma.

comment:5 Changed 8 years ago by Sa'ar Zac Elias

Status: review_failedreview_passed

It's impossible to reproduce the 1st issue now, so r+, just remove the comma.

comment:6 Changed 8 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [6862].

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