Quill Editor Documentation

Description

Quill is initialized with a DOM element to contain the editor. The contents of that element will become the initial contents of Quill.

Initialization

Initialize the plugin by referencing the necessary files:

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

<!-- Theme included stylesheets -->
<link rel="stylesheet" type="text/css" href="quill.snow.css">
<link rel="stylesheet" type="text/css" href="quill.bubble.css">

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

Configuration

Quill requires a container where the editor will be appended. You can pass in either a CSS selector or a DOM object.

var editor = new Quill('.editor');  // First matching element will be used

Refer following links for usage: