Skip to content

[bug]: text highlighter was drawn multiple times when color change #836

@HM-Suiji

Description

@HM-Suiji

Describe the bug

When I change my theme, I also change my highlighter color too. But when the color is changed, the prevent hightlighter don't remove, and new hightlighter is drawn.

Affected component/components

Text Highlighter

How to reproduce

  1. use Text Highlighter
  2. change the color
  3. you will get the trouble

Codesandbox/StackBlitz link

No response

Logs

System Info

all

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

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