Changes between Initial Version and Version 1 of Ticket #10438, comment 8


Ignore:
Timestamp:
May 16, 2013, 9:53:56 AM (8 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10438, comment 8

    initial v1  
    1 It turns out that we have to improve this patch and promote for all `setData` calls (also initial one) earlier than I thought. As #10439 proves, we need to have consistent initial selection (before first focus, after focus&setData, after switching from source mode and in all other cases) in all browsers.
     1It turns out that we have to improve this patch and use for all `setData` calls (also initial one) earlier than I thought. As #10439 proves, we need to have consistent initial selection (before first focus, after focus&setData, after switching from source mode and in all other cases) in all browsers.
    22
    33In cases when we do not need selection locking (FF and Chrome with framed editor) it will be as simple as it is now - on editor load we need to set selection in the right place (`range.moveToElementEditStart( this.root, true/false )`). In other cases I think that we can mock initial locked selection, as the editor was focused before. Although... brace yourself - critical core changes are coming.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy