Now, we are going to use TypeScript with the hope that it can reduce a little bit the pain of using JavaScript.
So I wanted to try another approach, building my own simple web editor from scratch.įollowing the rule of putting your code where your mouth is, here comes the GitHub repo: HTML
Now, my philosophy is to build simple tools, that work, can be understood, combined and extended. When I look at the code of these products I see something that I cannot easily understand, something I do not feel confident building upon. However, there is an issue with these editors: they are difficult to extend and difficult to understand. For example, I wrote a plugin for CodeMirror to support PlantUML.
I have used myself both CodeMirror and ACE in the past. There are nice web editors out there which are ready to be used: you just download them and plug them in your page.