Quill

A modern WYSIWYG editor built for compatibility and extensibility.

README

Note: This branch and README covers the upcoming 2.0 release. View 1.x docs here.

Quill Rich Text Editor

Quill Logo

Quickstart

  •
Documentation
  •
Development
  •
Contributing
  •
Interactive Playground

Build Status Version Downloads

Test Status


Quill is a modern rich text editor built for compatibility and extensibility. It was created by Jason Chen and Byron Milligan and actively maintained by Slab.

To get started, check out https://quilljs.com/ for documentation, guides, and live demos!


Quickstart


Instantiate a new Quill object with a css selector for the div that should become the editor.

  1. ``` html
  2. <link href="https://cdn.quilljs.com/1.0.0/quill.snow.css" rel="stylesheet">
  3. <div id="toolbar">
  4.   <button class="ql-bold">Bold</button>
  5.   <button class="ql-italic">Italic</button>
  6. </div>
  7. <div id="editor">
  8.   <p>Hello World!</p>
  9. </div>
  10. <script src="https://cdn.quilljs.com/1.0.0/quill.js"></script>
  11. <script>
  12.   var editor = new Quill('#editor', {
  13.     modules: { toolbar: '#toolbar' },
  14.     theme: 'snow'
  15.   });
  16. </script>
  17. ```

Take a look at the Quill website for more documentation, guides and live playground!


Download


- npm -npm install quill
- tar - https://github.com/quilljs/quill/releases


CDN


  1. ``` html
  2. <script src="//cdn.quilljs.com/1.0.0/quill.js"></script>
  3. <script src="//cdn.quilljs.com/1.0.0/quill.min.js"></script>
  4. <link href="//cdn.quilljs.com/1.0.0/quill.snow.css" rel="stylesheet">
  5. <link href="//cdn.quilljs.com/1.0.0/quill.bubble.css" rel="stylesheet">
  6. <link href="//cdn.quilljs.com/1.0.0/quill.core.css" rel="stylesheet">
  7. <script src="//cdn.quilljs.com/1.0.0/quill.core.js"></script>
  8. ```


Community


Get help or stay up to date.

- Follow @jhchen and @quilljs on Twitter
- Ask questions on Stack Overflow
- If privacy is required, email support@quilljs.com


License


BSD 3-clause