Skip to content

πŸ”§ chore: use custom highlights api for text highlightingΒ #627

@lcottercertinia

Description

@lcottercertinia

πŸ”§ Chore Description

What needs to be done?

We currently create extra span elements for the highlighting which modifies the dom. This means we have to modify the dom again to do an accurate search.
The custom highlights api does not modify the dom!

https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions