rangy-updated
rangy-updated copied to clipboard
Get latest selection element
Hi, when I create a selection and then highligh it, it adds some elements, any idea on how to retrieve those elements immediately after their creation?
I usually add an additional decorator (a class) to those elements after they are created, so to find new ones, I just search for ones without that decorator. Perhaps not the best method, but it works pretty seamlessly for me.