WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #31661, comment 9


Ignore:
Timestamp:
03/26/2015 01:18:04 PM (6 years ago)
Author:
Cheffheid
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31661, comment 9

    v1 v2  
    11As 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
    22
    3 Couldn't get `createRange()` to work on it either (reading into it more it should work, so I'm not sure what I did wrong just yet), and simply passing whatever it returns causes only the opening tag to appear in the right place.
     3Couldn't get `createRange()` to work on it either (reading into it more it should work, so I'm not sure what I did wrong just yet), and simply passing whatever `getSelection()` returns causes only the opening tag to appear in the right place.
    44
    55I'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. :)