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.
- open any sample with image2 plugin (i.e. plugins/image2/samples/image2.html)
- put caret inside first image caption
- CTRL + a to select all
- click on remove formatting button
- press home key
Expected result:
Caret should collapse at the begining of previous selection.
Current result:
Caret goes outside of widget.
additional info:
- When pressed home it places itself right before
figure[class="caption"]
.
Change History (4)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.3 (GitHub - major) → 4.3 Beta |
comment:2 Changed 11 years ago by
Another common TC:
- open sample with image2 plugin (/samples/plugins/image2/image2.html)
- in first image widget caption, select Staurn substring:
Roll out of [Saturn] V on launch pad
- apply bold pressing
ctrl+b
- 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:
- using
ctrl+home
/ctrl+end
key will result with slightly diffrent result - i've checked chrome and ie11 - none of them had this issue
comment:3 Changed 11 years ago by
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
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.
Problem can be reproduced from CKEditor 4.3 beta - it might be present from the very beginning.