Opened 7 years ago

Closed 7 years ago

#10330 closed Bug (fixed)

[Webkit] Filling char is not removed on key down in specific cases

Reported by: Piotrek Koszuliński Owned by: Piotrek Koszuliński
Priority: Normal Milestone: CKEditor 4.1.1
Component: General Version:
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

  1. Open enter mode sample.
  2. Set enter mode to BR.
  3. Click new page (important).
  4. Type "X", enter, "Y".
  5. Press delete, "Y" was removed.
  6. Press delete, nothing was removed.

TC2:

  1. Press left arrow.
  2. Press delete, character on the right side of caret was removed.

This is continuation of #10315.

Reported on forum: http://ckeditor.com/forums/CKEditor/bug-chrome-enterMode-ENTERBR

Change History (4)

comment:1 Changed 7 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: newreview

Pushed t/10330 on dev. Although it is not clear for me why not removed listener is blocking the next one. None of listeners on keydown (two are added after loading editor and clicking new page) are executed after second contentDom, unless this is complete iframe refresh caused e.g. by switching to source and back. I tried to reproduce this issue from code, but mocked keydown event correctly triggers both listeners, so this is a DOM thing.

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

Description: modified (diff)

comment:3 Changed 7 years ago by Olek Nowodziński

Status: reviewreview_passed

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

Resolution: fixed
Status: review_passedclosed

Fixed on master with git:269eadd.

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