Need

Allow user to edit source code.

My React app shows several code snippets and I want the user to be able to edit them.

I'm looking for a text editor specialized on source code editing, that is with features like highlighting, auto-indenting, etc.