You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
The text was updated successfully, but these errors were encountered: