Skip to content

aimee-ault/WriteIt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

WriteIt is an extremely lightweight richtext editor for jQuery. It has a mild CSS dependency on the Bootstrap framework (that can easily be worked around by restyling the buttons).

This is a very no-nonsense plugin that simply makes use of execCommand by replacing the passed DOM node with an iframe.

Example of how to use WriteIt:

<textarea id="editor">Howdy, li'l lady.</textarea>
<script type="text/javascript">
    //initialize WriteIt
    var myEditor = $('#editor').writeit();
    
    //set text inside WriteIt
    myEditor.writeit('setText', 'titties');
    
    //get text inside WriteIt
    console.log(myEditor.writeit('getText'));
    
</script>

About

A light-weight RTE for Bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published