USe document.execCommand to highlight.