rangy icon indicating copy to clipboard operation
rangy copied to clipboard

Selections within Shadow DOM

Open apexskier opened this issue 10 years ago • 2 comments

Has anyone been successful saving/restoring/highlighting selections within a shadow DOM node?

I've been having issues due to the fact that selections do not cross the shadow boundary, as specified in the w3 spec. My current attempts have involved modifying the window object Rangy uses to the shadow root, but I'm still having a lot of issues with the highlighting module.

apexskier avatar May 13 '15 20:05 apexskier

I haven't tried Rangy with shadow DOM yet. I intend to do so as soon as I can.

timdown avatar May 13 '15 21:05 timdown

any update ?

hewenguang avatar Jun 10 '22 07:06 hewenguang