Author: | amitasaurus |
---|---|
Views Total: | 3,277 views |
Official Page: | Go to website |
Last Update: | April 5, 2018 |
License: | MIT |
Preview:

Description:
A dead simple WYSIWYG text editor written in vanilla JavaScript and plain HTML/CSS.
How to use it:
Insert the JavaScript wysiwyg.js
and stylesheet wysiwyg.css
into the html document.
<link rel="stylesheet" href="wysiwyg.css"> <script src="wysiwyg.js"></script>
Create an empty DIV element that will be converted into a contentEditable element with a WYSIWYG Editor.
<div id="wysiwyg" data-height="100vh" data-width="100%"></div>