[wp-trac] [WordPress Trac] #31661: Quicktags: Can't add them using just a keyboard in IE

WordPress Trac noreply at wordpress.org
Fri Mar 27 19:30:14 UTC 2015


#31661: Quicktags: Can't add them using just a keyboard in IE
----------------------------------+----------------------------------------
 Reporter:  Cheffheid             |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Editor                |     Version:  4.1
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-      |     Focuses:  accessibility, javascript
  testing                         |
----------------------------------+----------------------------------------

Comment (by afercia):

 Quick and dirty patch just for debugging purposes :) Would love if someone
 could test this in IE 9, IE 10 and IE 11. I can test in other browsers
 including IE 8, feel free to do the same.
 How to test:
 - go in the admin Comment screen
 - open your IE dev tools console, go in the Script tab and watch the
 console output
 - click "Quick Edit" for a comment
 - once in the textarea, use just your keyboard to make a selection
 - reverse tab from the textarea to the buttons, note the console output
 - press a button, e.g. "code" or "bold", note the console output

 It's important to note which method is supported but especially which
 selected text is returned both when moving to the buttons and after you
 pressed a button.
 Hopefully, `selectionStart` and `selectionEnd` should always work in IE 9,
 10 and 11.

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


More information about the wp-trac mailing list