Opened 11 years ago
Last modified 11 years ago
#11055 confirmed Bug
Image2 is not focused after pasting
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.3 Beta |
Keywords: | Cc: |
Description
Seleciton is placed inside nested editable. Instead, widget should be focused.
Change History (6)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 11 years ago by
There is another issue related with this ticket: Now when the focus goes to nested editable all of the buttons are available no matter how is the active filter set.
comment:3 Changed 11 years ago by
Owner: | set to Marek Lewandowski |
---|---|
Status: | confirmed → assigned |
comment:4 Changed 11 years ago by
Milestone: | CKEditor 4.3.1 → CKEditor 4.3.2 |
---|---|
Owner: | Marek Lewandowski deleted |
Status: | assigned → confirmed |
It's not a critical UX problem and it's not easy to fix (should be fixed in editable#insertHtml and may require new APIs like afterInsert* events), so I'm postponing it.
comment:5 Changed 11 years ago by
The reason why it fails currently:
- toHtml is fired for main editable and then for all other nested editables, so processedWidgetOnly is overwritten. We need similar solution as in toDataFormat.
- Pasted widget contains more than one element (perhaps some spans or text nodes) on IE8 and perhaps other browsers too.
During works on #11017 I added one tests for this case to regressions.
comment:6 Changed 11 years ago by
Milestone: | CKEditor 4.3.2 |
---|
I was able to reproduce this issue from CKEditor 4.3 beta in every browser.