Skip to content

amitasaurus/tiny-wysiwyg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-wysiwyg

A Tiny 3kb wysiwyg editor plugin written in js (no dependencies)

  • insert the wysiwyg.js and wysiwyg.css files in your code.
  • insert in your html body <div id="wysiwyg" data-height="100vh" data-width="100%"></div>

and that's it. You can customise height and width of the editor by passing a valid css value to data-height and data-width attribute.

use getHtml() in your JS to get the HTML code of the written text in tiny-wysiwyg

About

A Tiny 3kb wysiwyg editor in vanilla JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages