rangy icon indicating copy to clipboard operation
rangy copied to clipboard

multiple style in rangy?

Open mehdiyaghoubi95 opened this issue 4 years ago • 2 comments

hello all, is there a way to set multiple styles for user to choose for highlighting text ? for example when user click on some yellow highlight, i take all of the text with getHighlightForElement() method but i dont know how to change the color class/id ? or any other way suggestion? thank you !

mehdiyaghoubi95 avatar Oct 28 '21 17:10 mehdiyaghoubi95

finally i solved that by changing project code , but i dont know how to share code here ?

mehdiyaghoubi95 avatar Oct 29 '21 09:10 mehdiyaghoubi95

You could link to a codepen or similar.

I suggest you close this issue.

jezmck avatar Feb 08 '22 10:02 jezmck