wysiwyg.js | A Tiny WYSIWYG Editor with JavaScript

wysiwyg.js is a tiny 3kb wysiwyg editor plugin written in js (no dependencies).

wysiwyg.js - A Tiny WYSIWYG Editor with JavaScript

AuthorLinksMade withLast update
amitasaurusOffice HomeJavaScriptSep 15, 2022

How to create a web editor using wysiwyg.js?

1.Import wysiwyg.js and wysiwyg.css in your html page

<link rel="stylesheet" href="wysiwyg.css">
<script src="wysiwyg.js"></script>

2.Create a div container with id= wysiwyg

<div id="wysiwyg" data-height="100vh" data-width="100%"></div>

Then a web editor will be displayed.

Leave a Reply

Your email address will not be published. Required fields are marked *