Changes between Version 1 and Version 2 of Ticket #14659, comment 7


Ignore:
Timestamp:
Aug 12, 2016, 1:28:56 PM (3 years ago)
Author:
kkrzton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14659, comment 7

    v1 v2  
    771. Go to the div editing area demo: http://ckeditor.com/demo#div.
    881. Scroll down a bit within the content of the editor.
    9 1. `Run CKEDITOR.instances.editor1.getSelection( true ).getRanges()` - it should return empty array which means there is no active selection inside editor area.
    10 1. `Run CKEDITOR.instances.editor1.editable().$.focus()` in the dev console.
     91. Run `CKEDITOR.instances.editor1.getSelection( true ).getRanges()` - it should return empty array which means there is no active selection inside editor area.
     101. Run `CKEDITOR.instances.editor1.editable().$.focus()` in the dev console.
    1111
    1212In the above case the editor viewport is scrolled to the top.
     
    15151. Scroll down a bit within the content of the editor.
    16161. Focus the cursor within the editor.
    17 1. `Run CKEDITOR.instances.editor1.getSelection( true ).getRanges()` - it should return array with one range which means there is active selection inside editor area.
    18 1. `Run CKEDITOR.instances.editor1.editable().$.focus()` in the dev console.
     171. Run `CKEDITOR.instances.editor1.getSelection( true ).getRanges()` - it should return array with one range which means there is active selection inside editor area.
     181. Run `CKEDITOR.instances.editor1.editable().$.focus()` in the dev console.
    1919
    2020In the above case the editor viewport does not scroll.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy