You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quick look at that website (link) reveals it has a css rule for <mark> element:
Bootstrap styles it with padding, hence if you have two mark elements right besides each other (e.g. because you first highlight one part, then another), it will create the result you saw with padding between the elements.
We should fix most occurrences of this issue by normalising consecutive text nodes, to avoid multiple mark elements when we only need one. (I forgot what the state of this is, did we perhaps fix it already but is it not released yet? #80 )
Also it would be nice if the webpage’s CSS does not apply to your annotation tool’s highlights. Perhaps the mark elements can be given a rule all: revert !important;?
For some webpages I'm getting this strange behavior :
for example (above) when trying to highlight the word "negligible", I split it in two parts: negl + igible
This is the code I'm using:
Why does this happen?
The text was updated successfully, but these errors were encountered: