Changes between Initial Version and Version 1 of Ticket #13087, comment 5


Ignore:
Timestamp:
Apr 13, 2015, 8:39:51 AM (9 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13087, comment 5

    initial v1  
    11>  a way by which I could lose focus of the newly created widget and put cursor after it so that further text can be added (programatically).
    22
    3 I think that it all goes down to handling some keystroke when widget is focused. E.g. you can try handling simple down arrow key by executing the 'accessNextSpace' command. I don't know how it's going to behave when there already is a paragraph after the widget, but it should definitely create a new one when there's none.
     3I think that it all comes down to handling some keystroke when widget is focused. E.g. you can try handling simple down arrow key by executing the 'accessNextSpace' command. I don't know how it's going to behave when there already is a paragraph after the widget, but it should definitely create a new one when there's none.
    44
    55U will need this: http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-event-key
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy