Good evening all,
I need an editable textarea-like component for my React project that supports custom syntax highlighting, preferably with the CSON and CSS. I have been searching it for ages. I finally gave up and decided to ask here. Does anyone know any reliable library that can be used for this?
Any help would be greatly appreciated!
EDIT: As I delve deeper into the topic, I came to an understanding that this problem consists of several parts.
- [mostly done with this one] Create
contenteditable
div
component with React. I used contentEditable component for React. - Find a way to customize appearance of the
div
(as React fillsdiv
's innerHTML asString
) - Find a way to implement a parser that reads tags from a CSON and applies 2nd item for each of them.