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

[Task] Highlighting #82

Closed
mikebarkmin opened this issue Jul 16, 2021 · 1 comment
Closed

[Task] Highlighting #82

mikebarkmin opened this issue Jul 16, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mikebarkmin
Copy link
Member

Highlighting a given source code is a task format we have evaluated in the past. There is already an implementation for the old OpenPatch system. https://gitlab.com/openpatch/web-frontend/-/tree/master/formats/highlight. It uses draft.js and also supports keyboard interaction for highlighting.

The easiest way would be to copy most of the stuff and use draftjs as well. Unfortunately, draftjs was not updated since August 2020 and the issue count is rising. Thus, I do not know if it is future-proof. Maybe someone knows a better alternative system.

Additional links:

@mikebarkmin
Copy link
Member Author

implemented in #458

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

No branches or pull requests

1 participant