DEV Community

Discussion on: Why is it so hard to build or use a rich text editor yet amazing editors like vscode or atom are built with web technologies?

Collapse
 
niorad profile image
Antonio Radovcic

Lots of the complexity in a WYSIWYG-Editor comes from the user being able to select stuff and change appearance of the content in the selection, while the text itself doesn't change for the user. Also there's adding tables, inline-images, links etc.

In a code-editor, you don't set certain texts to bold or red. If it appears like that it's because of syntax-highlighting and/or markdown. The editor just needs to parse the entered text.

Imagine Sublime-Text vs. MS-Word.