[wp-trac] [WordPress Trac] #31661: Quicktags: Can't add them using just a keyboard in IE
WordPress Trac
noreply at wordpress.org
Thu Mar 26 13:14:48 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 Cheffheid):
As it turns out, IE11 replaced `selection` with `getSelection()` and so
this patch doesn't really do much for that browser. See also
https://msdn.microsoft.com/en-
us/library/ie/bg182625%28v=vs.85%29.aspx#legacyAPIs
Couldn't get `createRange()` to work on it either (reading into it, it
should, so I'm not sure what I did wrong), and simply passing whatever it
returns causes only the opening tag to appear in the right place.
I'll fiddle with it some more when I get the chance, I wouldn't doubt that
I was looking at it wrong at 5:30am. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31661#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list