I don't like this solution, but I couldn't seem to get it working differently. I'm just trying to add something to the DOM so I can record where the caret was, and then split the HTML on that position.