I have a div with contentEditable=true. It supports markdown formatting for **word** and _word_.
On the blur event on the div, markdown is converted to html.
On the focus event on the div, html is converted to markdown.
This is ok. But when the browser finds an unknown word (red underline) and I want to fix it with a right click to see the suggested words, the div takes the focus and the word is not underlined.
Have you an idea please? (sorry for my English language)