Skip to content

bug: Overlapping highlights cause text to be switched around. #27

Description

@fzzylogic

Here's a bug i noticed.

  1. In the simple demo, highlight the "Lorem ipsum" header.
  2. Select another color, and highlight from "Lorum" till halfway in "ipsum".

The letters in the header will be switched around, for example to "sumLorem ip"

  • This does not happen when doing the same with text within a paragraph.
  • It does happen when a highlighted selection spans paragraphs.

Btw, texthighlighter is great, thanks for making it available!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions