Opened 10 years ago

Last modified 8 years ago

#11687 confirmed Bug

[FF] Caret position reset when clicking editable

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone:
Component: UI : Widgets Version: 4.3 Beta
Keywords: Firefox Cc:

Description (last modified by Marek Lewandowski)

Clicking text in editable moves caret to very beginning, which is extremely annoying if you want i.e. select something in order to bold it.

  1. open sample with image2 plugin (/samples/plugins/image2/image2.html)
  2. put caret at following position Roll out of |Saturn V on launch pad in first widget caption
    note first selection is OK
  3. move caret to other element (by clicking), i.e. "Apollo 11" headline
  4. repeat 2nd step

Expected result:
Caret should be placed in of |Saturn

Current result:
Caret is placed at very beginning of the caption.

additional info:

  1. Bug occurs only if focus is moved from within the editor. That means, if you'll blur editor by i.e. clicking at sample headline "CKEditor Samples » New Image plugin", and then you'll click at editable - bug does not occur.

Change History (4)

comment:1 Changed 10 years ago by Jakub Ś

Keywords: Firefox added
Status: newconfirmed
Version: 4.3 Beta

comment:2 Changed 10 years ago by Marek Lewandowski

Description: modified (diff)

comment:3 Changed 9 years ago by Artur Delura

This issue is caused by browser bug, and is related to nested editable. I reported it here: Another break case desribed below:

  1. Open simplebox sample.
  2. Clear editor content.
  3. Add new simplebox by using appropriate toolbar button.
  4. Click on empty paragraph below simplebox.
  5. Click on second field in simplebox.
  6. Hit Enter

Acutal result

Editor added extra unwanted paragraph.

We can wait until FF guys fix issue on bugzilla or maybe fix broken selection range. This could help:

Last edited 9 years ago by Artur Delura (previous) (diff)

comment:4 Changed 8 years ago by Jakub Ś

#13689 was marked as duplicate.

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