Quill JS

Quill is powerful rich text editor.

Quill Documentation

Usage

CSS

Copy-paste the stylesheet <link> into your <head> to load the CSS.

<link rel="stylesheet" href="../node_modules/quill/dist/quill.snow.css">

Js

Copy-paste the following <script> and Function near the end of your pages.

<script src="../node_modules/quill/dist/quill.min.js"></script>
<script src="../assets/js/main.js"></script>

Basic

Hello World!

Some initial bold text


<div id="editor">
  <p>Hello World!</p>
  <p>Some initial <strong>bold</strong> text</p>
  <p><br></p>
</div>