HTML spellcheck in contenteditable div not working after span
In my contenteditable div, I have the spellcheck attribute set to true . The "red squiggles" work before (and in) any span that's present, but not after. In the following HTML: <div contenteditable="true" id="input" class="input" spellcheck="true"> misssspellelellled <span class="test-span"> imaspan! </span> alsomisspelleelled </div> The first word ( misssspellelellled ) and the text in the span ( imaspan! ) show up as misspelled, but the word after the span ( alsomisspelleelled ) does not. See the following screenshot: Any ideas as to how to fix this? This bug may be specific to Chrome. A