Monaco Editor is an open source editor created in 2016.
git clone https://github.com/Microsoft/monaco-editor
Try now: Web
A browser based code editor
View source