Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple style in rangy? #474

Open
mehdiyaghoubi95 opened this issue Oct 28, 2021 · 2 comments
Open

multiple style in rangy? #474

mehdiyaghoubi95 opened this issue Oct 28, 2021 · 2 comments

Comments

@mehdiyaghoubi95
Copy link

mehdiyaghoubi95 commented Oct 28, 2021

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
Copy link
Author

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

@jezmck
Copy link

jezmck commented Feb 8, 2022

You could link to a codepen or similar.

I suggest you close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants