Related commit 35560fa8f66bca78c7757f9975610b4cbca3cbc3
The issue I'm facing is when I create multi-color highlights, the highlight wrapper created inside another wrapper will take all the class of the parent wrapper. And this will override the color of the child wrapper if the child has a different color.
As you can see in the above screenshot, the highlight wrapper has both class names highlighter-color-yellow from its parent and highlighter-color-green which is the expected color of itself.
This retain the wrapper's classname is a bit odd, what's the intention of this change?
Related commit 35560fa8f66bca78c7757f9975610b4cbca3cbc3
The issue I'm facing is when I create multi-color highlights, the highlight wrapper created inside another wrapper will take all the class of the parent wrapper. And this will override the color of the child wrapper if the child has a different color.
As you can see in the above screenshot, the highlight wrapper has both class names
highlighter-color-yellow
from its parent andhighlighter-color-green
which is the expected color of itself.This
retain the wrapper's classname
is a bit odd, what's the intention of this change?