Opened 11 years ago

Last modified 9 years ago

#10988 confirmed Bug

[FF] Widgets: Caret goes outside of contenteditable on home/end keys

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3 Beta
Keywords: Cc:

Description

since: 4.3 (didn't check earlier) until major

Firefox exclusive: pressing home/end key can put caret outside widget.

  1. open any sample with image2 plugin (i.e. plugins/image2/samples/image2.html)
  2. put caret inside first image caption
  3. CTRL + a to select all
  4. click on remove formatting button
  5. press home key

Expected result:
Caret should collapse at the begining of previous selection.

Current result:
Caret goes outside of widget.

additional info:

  1. When pressed home it places itself right before figure[class="caption"].

Change History (4)

comment:1 Changed 11 years ago by Jakub Ś

Status: newconfirmed
Version: 4.3 (GitHub - major)4.3 Beta

Problem can be reproduced from CKEditor 4.3 beta - it might be present from the very beginning.

comment:2 Changed 11 years ago by Marek Lewandowski

Another common TC:

  1. open sample with image2 plugin (/samples/plugins/image2/image2.html)
  2. in first image widget caption, select Staurn substring:
    Roll out of [Saturn] V on launch pad
    
  3. apply bold pressing ctrl+b
  4. press home key

Expected result:
Caret should go to beginging of editable content.

Current result:
Caret goes some where into widget internal structure i guess.

additional info:

  1. using ctrl+home / ctrl+end key will result with slightly diffrent result
  2. i've checked chrome and ie11 - none of them had this issue

comment:3 Changed 11 years ago by Marek Lewandowski

Summary: [FF] Image2: Caret goes outside of contenteditable on home/end keys[FF] Widgets: Caret goes outside of contenteditable on home/end keys

It's general widget editables issue, since it can be reproduced i.e. with simplebox plugin.

comment:4 Changed 9 years ago by Jakub Ś

Another TC for that issue (this time simple box widget) has been described here: http://dev.ckeditor.com/ticket/13507#comment:12.

This TC gives smae results for image2 as @m.lewandowski has described.

Last edited 9 years ago by Jakub Ś (previous) (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