The cursor position control example is exactly what I need, but I need to do this on a content editable element.