Skip to content
A cross browser rich text editor with an API
JavaScript CSS Ruby Shell
Branch: develop
Clone or download
Pull request Compare This branch is 3 commits ahead, 465 commits behind quilljs:develop.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github add details of importance Jul 10, 2017
_develop
assets simplify styling Jul 18, 2017
blots prevent formatting in inline code Jul 18, 2017
core dont trigger selection change while dragging Jul 19, 2017
docs bump version, update changelog Jul 17, 2017
formats prevent formatting in inline code Jul 18, 2017
modules blockquote should behave like header, not list Jul 18, 2017
test fix for IE Jul 5, 2017
themes Default to https when embedding videos Jun 15, 2017
ui use DOM API instead of attribute for "selected" (quilljs#1576) Jul 10, 2017
.eslintrc.js add missing eslint config Oct 16, 2016
.gitignore ignore symlink Mar 12, 2017
.travis.yml update travis Apr 17, 2017
CHANGELOG.md bump version, update changelog Jul 17, 2017
CODE_OF_CONDUCT.md
Gemfile Add a Gemfile to pin Ruby dependencies (quilljs#1544) Jun 27, 2017
Gemfile.lock Add a Gemfile to pin Ruby dependencies (quilljs#1544) Jun 27, 2017
LICENSE 72 characters per line Jul 10, 2014
README.md some design love and add npm stats Jul 10, 2017
core.js allow building core.js Aug 6, 2016
package.json bump version, update changelog Jul 17, 2017
quill.js eslint fixes Oct 16, 2016

README.md

Quill Rich Text Editor

Quill Logo

QuickstartDocumentationDevelopmentContributingInteractive 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 open sourced by Salesforce.com.

To get started, check out the Quill website for documentation, guides, and live demos!

Quickstart

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

<!-- Include Quill stylesheet -->
<link href="https://cdn.quilljs.com/1.0.0/quill.snow.css" rel="stylesheet">

<!-- Create the toolbar container -->
<div id="toolbar">
  <button class="ql-bold">Bold</button>
  <button class="ql-italic">Italic</button>
</div>

<!-- Create the editor container -->
<div id="editor">
  <p>Hello World!</p>
</div>

<!-- Include the Quill library -->
<script src="https://cdn.quilljs.com/1.0.0/quill.js"></script>

<!-- Initialize Quill editor -->
<script>
  var editor = new Quill('#editor', {
    modules: { toolbar: '#toolbar' },
    theme: 'snow'
  });
</script>

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

Download

CDN

<!-- Main Quill library -->
<script src="//cdn.quilljs.com/1.0.0/quill.js"></script>
<script src="//cdn.quilljs.com/1.0.0/quill.min.js"></script>

<!-- Theme included stylesheets -->
<link href="//cdn.quilljs.com/1.0.0/quill.snow.css" rel="stylesheet">
<link href="//cdn.quilljs.com/1.0.0/quill.bubble.css" rel="stylesheet">

<!-- Core build with no theme, formatting, non-essential modules -->
<link href="//cdn.quilljs.com/1.0.0/quill.core.css" rel="stylesheet">
<script src="//cdn.quilljs.com/1.0.0/quill.core.js"></script>

Community

Get help or stay up to date.

License

BSD 3-clause

You can’t perform that action at this time.