[wp-trac] [WordPress Trac] #28913: wpviews: keyboard behaviour for a selected view

WordPress Trac noreply at wordpress.org
Tue Jul 15 19:11:07 UTC 2014

#28913: wpviews: keyboard behaviour for a selected view
 Reporter:  avryl         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.0
Component:  TinyMCE       |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:                |
 Current behaviour:
 * Inserting characters doesn't do anything when a view is selected.
 * Pressing backspace deletes the view, but also the "space" it took.
 * Pressing enter adds a new paragraph under the view.
 * Pasting something adds the content to the next paragraph, but sticks it
 to the existing content.

 Behaviour for selected text/image:
 * Inserting characters replaces the selection with the characters.
 * Pressing backspace deletes the selection.
 * Pressing enter also deletes the selection.
 * Pasting something replaces the selection.


 Now that we can place the cursor before and after the view, we should also
 make the behaviour for a selected view more "natural". Since a view is
 selected clearly, there's no need to assume the user made a mistake. In
 3.9 they couldn't place the cursor before or after a view, so these
 workarounds had to be made.

 We should also fix the behaviour of backspace when the cursor is after the
 view. At the moment it deletes the view, but also the space it took.

Ticket URL: <https://core.trac.wordpress.org/ticket/28913>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list