[wp-trac] [WordPress Trac] #28595: wpviews: "catch" the cursor and create a fake cursor so that the "cursor" can be set on either side of the view

WordPress Trac noreply at wordpress.org
Sun Jul 6 20:20:11 UTC 2014


#28595: wpviews: "catch" the cursor and create a fake cursor so that the "cursor"
can be set on either side of the view
--------------------------+-------------------------
 Reporter:  avryl         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  TinyMCE       |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------

Comment (by avryl):

 A couple of issues:

 * When a view is selected, pressing the up or down arrow key should
 immediately move the cursor to the block above or below the view instead
 of before or after the view.
 * Selecting some text that touches the view will remove part of it when
 pressing backspace.
 * When a view is the first block in the editor and the page is loaded, the
 cursor is correctly set before the view, but it doesn't react to key
 presses. (The editor doesn't seem to be focussed.)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28595#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list