This project, a text editor written in pure Elm, is a fork of work by Sydney Nemzer. His demo, inspired by prior work of Martin Janiczek, shows the feasibility of writing such a text editor and establishes an elegant and powerful foundation for future work. Many kudos to Sydney.
This forked repo adds scrolling, copy, cut, and paste, search and replace, text wrap, and an API for embedding the editor in another app. Here is a simple demo of the code:
For a slightly more complex example that implements external copy-paste, see
At the moment, external copy-paste only works in Chrome.
There is much work yet to be done.
Embedding.mddemo-simple and demo apps of this repo as models.Outside into Main and references outside.js in index.htmlI would very much like this to be a community project; it is a tool that many of us can use to good end. I've posted some issues on the repo, and welcome comments, pull requests, and more issues.
I may post a Road Map later, but Sydney Nemzer's README is an excellent place to begin.