Opened 14 years ago

Last modified 14 years ago

#6192 closed Bug

Webkit: editor.focus() fails if no selection ranges exist — at Version 7

Reported by: Jude Allred Owned by: Tobiasz Cudnik
Priority: Normal Milestone: CKEditor 3.4.1
Component: General Version: 3.4.1
Keywords: WebKit Cc:

Description (last modified by Frederico Caldeira Knabben)

This causes insertion into the editor to fail.

Repro steps:

  1. use Chrome
  2. go to ckeditor.com/demo
  3. without focusing the editor, attempt to insert a smiley
  4. smiley insertion fails. [expected] a smily is inserted.

Ditto for tables, attachments, and all other insertables.

I've written and tested a fix. It's attached as an hg patch file.

Change History (9)

Changed 14 years ago by Jude Allred

Attachment: webkit focus.patch added

comment:1 Changed 14 years ago by Jude Allred

Note: The patch is meant to be applied to wysiwygarea/plugin.js

comment:2 Changed 14 years ago by Krzysztof Studnik

Keywords: Webkit added
Status: newconfirmed
Version: 3.4.1 (SVN - trunk)

Bug confirmed on Chrome build 6.0.495.0

comment:3 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.4.1

We're definitely having some issue with WebKit selection after [5785]. We have also #6179 and #6178 as well. We need to find a fix for it sooner than later.

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

Keywords: HasPatch added

comment:5 Changed 14 years ago by Tobiasz Cudnik

Owner: set to Tobiasz Cudnik
Status: confirmedassigned

Changed 14 years ago by Tobiasz Cudnik

Attachment: 6192.patch added

comment:6 Changed 14 years ago by Tobiasz Cudnik

Status: assignedreview

comment:7 Changed 14 years ago by Frederico Caldeira Knabben

Description: modified (diff)
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