Opened 10 years ago

Last modified 10 years ago

#12959 confirmed Bug

Focus issue when clicking on an image (inline editing)

Reported by: steph123 Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: Cc:

Description

Steps to reproduce:

  1. Go to the official ckeditor demo here: http://ckeditor.com/demo#inline
  2. Choose any editable area and insert an image
  3. Click in another editable area

=> The focus is now set to this other editable area, with no image.

  1. Click once on the image in the previous editable area.

=> It seems the focus is correctly to the editable area with the image. But, first strange thing, the image is not selected (as it should be).

  1. Enter some text with the keyboard

=> Focus is unexpectedly given back to the editable area with no image, and text is added there!

Change History (2)

comment:1 Changed 10 years ago by steph123

This issue, as described above, doesn't look so painful. But it has nasty consequences in my app where I am using focus/blur events to create/destroy ckeditor instance dynamically.

comment:2 Changed 10 years ago by Jakub Ś

Status: newconfirmed
Version: 4.4.74.0 Beta

Problem can be reproduced from CKEditor 4.0 beta in Blink and Webkit browsers.

Best way to reproduce:

  1. Open inline sample
  2. Click on editor with image (somewhere inside text)
  3. Click n editor next to it and type few characters
  4. Click on editor with image but this time click directly on image
  5. Type few characters.

Result: Characters are typed in editor without image.

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