-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Text in <input>, <textarea> should not be altered #55
Comments
Good suggestion, will fix this in the future. |
Anyone find more examples of similar issue? I cannot reproduce it as there is no ✎ mark in my version of https://my.redmine.jp/demo/ |
From user:
|
I usually need to use this plugin on an internal website (mainly using Vue), but what troubles me is that it cannot mark the textarea text in the input. Can you add an option to allow marking so that users can choose for themselves? Thanks♪(・ω・)ノ |
I run into this with Slack. If I configure this extension to highlight `` and type "" into a Slack message, it will disappear. The letters "asd" show up, but then when I press "f", the entire string is removed from the message. In this case, it's not an |
Describe the bug
In specific cases, it unexpectedly removes highlight-targeted words in textarea.
To Reproduce
Steps to reproduce the behavior:
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.The text was updated successfully, but these errors were encountered: