Highlighting (using <mark> elements, as we do) text inside a <textarea> will make that text disappear. The higlighter should either fail or modify the given range if parts of it are within a textarea.
This could be generalised to any element where a <mark> element would not be permitted as a child.
Highlighting (using
<mark>
elements, as we do) text inside a<textarea>
will make that text disappear. The higlighter should either fail or modify the given range if parts of it are within a textarea.This could be generalised to any element where a
<mark>
element would not be permitted as a child.