Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Don’t find/highlight text inside <textarea> elements (or other invalid parents for a <mark>). #131

@Treora

Description

@Treora

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🦟 BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions