A lightweight Javascript WYSIWYG editor.
This project is just getting started, so please be patient. Bold and italicize work well, but lists/indention use the browser execCommand only. The plan is to fix those actions to be more consistent between browsers and to add several other features.
Install the module with: npm install wys-html-editor
var wys_html_editor = require('wys-html-editor'),
elem = document.getElementById('wyseditor'),
editor = new wys_html_editor(elem);
(Coming soon)
(Coming soon)
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!
(Nothing yet)
Copyright (c) 2016 Ian Collins
Licensed under the MIT license.