Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quillwrap

A simple module for for converting textareas into Quill-powered editors.

Example use

<script src="jquery.js"></script>
<script src="quill.js"></script>
<script src="quillwrap.js"></script>
<script>
$(document).ready(function () {
    quillwrap.autoinit();
});
</script>

Or if you are using AMD modules...

var quillWrap = require('quillwrap');
quillWrap.autoinit();

The autoinit() method automatically converts textareas with class "rte" into Quill editors. The original textareas are hidden, but their values will update automatically (so you should be able to submit the form without having to perform any extra steps).

Additional demo is here: https://github.com/luke-mml/quillwrap-demo

About

Module for converting textareas into Quill-powered editors

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages