-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Describe the bug
In specific cases, it unexpectedly removes highlight-targeted words in textarea.
- Multi Highlight: v2.9.0
To Reproduce
Steps to reproduce the behavior:
- Go to a Redmine ticket
- You may use https://my.redmine.jp/demo/ for test
- In a ticket, edit a note (Click ✎ mark of each note)
- It shows a textarea to edit the note;
but highlight-targeted words are vanished
Expected behavior
Highlight-targeted words are not removed from textarea or such.
Additional context
Probably, it tries to highlight words in <textarea>, replacing with <span> element.
However, <textarea> cannot have any <span> element;
and browser would come to drop such invalid element.
I think HTML elements such as <input> and <textarea> should be untargeted of this plugin.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers