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

Highlight library #175

Open
Yuu-Han opened this issue Jun 4, 2024 · 3 comments
Open

Highlight library #175

Yuu-Han opened this issue Jun 4, 2024 · 3 comments

Comments

@Yuu-Han
Copy link
Collaborator

Yuu-Han commented Jun 4, 2024

Libraries for highlighting user selection.

@Yuu-Han
Copy link
Collaborator Author

Yuu-Han commented Jun 4, 2024

@kaidatavis
Copy link
Collaborator

The page of the texthighlighter demo looks a bit nicer, but Rangy also has annotation, which is useful.

Using a npm package might cause issues further down the line, so we may want to avoid it.

I would say both Rangy and Texthighlighter provide the basic functions we need. Maybe it would come down to how easy to use them and how robust they are.

@kaidatavis
Copy link
Collaborator

Current implementation does not show the highlight after it is created.

Try the highlight library.

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