Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #29492, comment 4


Ignore:
Timestamp:
12/19/2014 11:57:45 PM (11 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29492, comment 4

    initial v1  
    1 Was testing with adding a <span id="wp-caret-position"> before switching and removing it right after. Works but has quite a few edge cases which make the code pretty complex (and the more complex it is the more edge cases pop up).
     1Was testing with adding a <span id="wp-caret-position"> at the caret location before switching and removing it right after. Works but has quite a few edge cases which make the code pretty complex (and the more complex it is the more edge cases pop up).
    22
    33> Well, here's another way to do it, and pretty simple.