Opened 10 years ago

Last modified 10 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:


Seleciton is placed inside nested editable. Instead, widget should be focused.

Change History (6)

comment:1 Changed 10 years ago by Jakub Ś

Status: newconfirmed

I was able to reproduce this issue from CKEditor 4.3 beta in every browser.

comment:2 Changed 10 years ago by Piotr Jasiun

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 10 years ago by Marek Lewandowski

Owner: set to Marek Lewandowski
Status: confirmedassigned

comment:4 Changed 10 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.3.1CKEditor 4.3.2
Owner: Marek Lewandowski deleted
Status: assignedconfirmed

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 10 years ago by Piotrek Koszuliński

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 10 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.3.2
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