Opened 8 years ago

Closed 8 years ago

#5711 closed Bug (expired)

Chrome: undo broken by newlines and SCAYT

Reported by: Tobiasz Cudnik Owned by:
Priority: Normal Milestone: CKEditor 3.3
Component: General Version:
Keywords: Chrome Pending Cc: WebSpellChecker.net

Description

Chrome: undo broken by newlines and SCAYT.

Reproduce

  1. Start typing random text in empty editor.
  2. Create at least 2 lines (3 is better).
  3. Try to undo all changes.

Result

Removed is only last started line. Content blinks but is still present.

Expected

Editor contains content as in the beginning.

After disabling SCAYT, undo works as expected.

Attachments (1)

5711.patch (933 bytes) - added by WebSpellChecker.net 8 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by Frederico Caldeira Knabben

Cc: WebSpellChecker.net added

comment:2 Changed 8 years ago by WebSpellChecker.net

confirm

Changed 8 years ago by WebSpellChecker.net

Attachment: 5711.patch added

comment:3 Changed 8 years ago by WebSpellChecker.net

Update on SpellChecker.net side and patch attached fix the problem. It seems that Chrome does not allow to modify object prototype by reference.

comment:4 in reply to:  3 Changed 8 years ago by Garry Yao

Keywords: Pending added

The problem vanishes for me on trunk. Replying to SpellChecker.net:

Update on SpellChecker.net side and patch attached fix the problem. It seems that Chrome does not allow to modify object prototype by reference.

Any evidence for saying this?

comment:5 Changed 8 years ago by WebSpellChecker.net

Can confirm that the problem resolved only by SCAYT core update. No patch required.

comment:6 Changed 8 years ago by Tobiasz Cudnik

I can't reproduce this issue anymore (in both enterModes). Even without applying the patch.

comment:7 Changed 8 years ago by Garry Yao

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