I'm trying to build a Chrome Extension for Grammar Check, similar to Grammarly.
One of the topics I struggle with is the highlight of the word that should be corrected. How can I highlight a text in a DIV (contenteditable) using Chrome Extension, so that it will not be part of the DIV, or the textarea?
I'm looking for something similar to this:
Thanks!