Changes between Version 2 and Version 3 of Ticket #13335, comment 14


Ignore:
Timestamp:
Jun 12, 2015, 6:09:57 AM (9 years ago)
Author:
Adrian Mitev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13335, comment 14

    v2 v3  
    1 I tried to put the event handlers that call stopPropagation() on the events on the .cke_widget_wrapper element. However this still breaks the fake selection on widget click and FF still selects all the text and the widget doesn't "gain" focus (the outline stays yellow, not blue). And by looking at the lines you provided, this is an expected behaviour, because I prevent the event to reach the editor's listeners.
     1I tried to put the event handlers that call stopPropagation() on the events on the .cke_widget_wrapper element. However this still breaks the fake selection on widget click and FF still selects all the text and the widget doesn't "gain" focus (the outline stays yellow, not blue). And by looking at the lines you provided, this is an expected behaviour, because I prevent the event to reach the editor's listeners. My current idea is to call widget.focus() in some particular situations instead of the editor's listeners (because the event doesn't reach them).
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy