I was looking for a good editor for my CMS/blog/thing for quite some time. I tried TinyMCE, CKEditor, and many, many more.
None happened to suit my needs. They were all either unnecessarily heavy, too complex to set up properly (hello TinyMCE and 200 lines of config!), or looked like they were made in 1995.
So I took it upon myself to use my close-to-nonexistent Javascript skills, some SASS, some HTML and make something of my own, based on contenteditable
div.
And here it is, the result of an evening and a half of work.Open source under LGPL 3.0 license.
<h2>
heading<hr>
editor.min.css
editor.min.js
snippet.htm
974 Bnpm run start
or gulp watch:all
to watch for file changesnpm run build
or gulp all
to build for releasenpm run serve
or gulp serve
to run BrowserSync