It uses ContentEditable. Wonder what your thoughts are?
It uses ContentEditable. Wonder what your thoughts are?
As others have noted, it's really tough to compete with text editing/rich text applications (e.g., Sublime, Vim, Word, etc.) on the web. So far, the real Medium is the only app that I've used that isn't a pain to write in even though it's contentEditable.
Another promising project is draftjs from Facebook. Check it out: https://facebook.github.io/draft-js/.
It's really just a UI clone of the Medium editor. It doesn't work at all the same way under the hood and instead tries to use ContentEditable as the store of a document.
Any approach which works that way is doomed to failure. ContentEditable works fine as an input but you need to have a pure mapping from all inputs to an internal structure which only your editor controls.