Using getInlineAnchorList but having plasmocsui into a child
Hey,
I am trying to do a web extension for a website which contains that structure
I would like to inject the plasmo-csui which is a clickable img into the .div1 container, I can easily inject it with
but the top
a
is triggered first and I don't seem to be able to prevent/stopPropagation it from the MyCustmClickableElement
I can achieve this by doing
Is it possible to have the getInlineAnchorList
on a list of elements but the actual plasmo-csui
into child element (it this case, the div)?
Regards1 Reply
Actually found it, if some reach the same issue, use the parent selector into
getInlineAnchorList
and use mountShadowHost to specify where to position it