Closed Alex-Sokolov closed 6 years ago
That looks like a good proposal. However, it is not clear how up
and down
methods are going to work with multiple selections. So I'm going to figure out some more flexible solution.
@Alex-Sokolov you can use getPrevNode
and getNextNode
methods from v1.6.0
. See example keyboardcontrols.html
in the demo
folder.
@holiber Thanks! :)
Is it possible to move selection by code?
For example, assume that selected
Image Block 3
:If we call method up — selection moved to
Image Block 2
If we call method down — selection moved toText Block 4
Thanks!