[BREAKGLASS] Append-only mirror of github.com/signalapp/quill
Go to file
2025-01-20 17:25:13 +10:00
.github Add writable permission for GitHub Actions 2024-11-30 20:21:22 +08:00
packages On paste, apply existing selection's styles to incoming Delta 2025-01-20 17:25:13 +10:00
scripts Config Git correctly for releasing (#4506) 2024-11-29 21:59:37 +08:00
.eslintignore Add release scripts 2024-01-14 22:50:46 +08:00
.gitignore Remove _develop folder 2023-11-28 12:11:53 +08:00
.npmignore Remove unused npm scripts for quill 2023-11-28 12:19:03 +08:00
CHANGELOG.md Move Quill to Slab organization (#4225) 2024-05-28 17:23:05 +08:00
LICENSE Update license years 2024-01-11 00:17:16 +08:00
package-lock.json First move towards CJS 2025-01-20 17:04:11 +10:00
package.json 2.0.3 2024-11-30 20:21:22 +08:00
README.md Move Quill to Slab organization (#4225) 2024-05-28 17:23:05 +08:00
tsconfig.json Handle consecutive spaces when copying and pasting 2024-11-29 14:09:57 +08:00

Quill Rich Text Editor

Quill Logo

DocumentationDevelopmentContributingInteractive Playground

Build Status Version Downloads


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.

<!-- Include Quill stylesheet -->
<link
  href="https://cdn.jsdelivr.net/npm/quill@2/dist/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>
  <p>Some initial <strong>bold</strong> text</p>
  <p><br /></p>
</div>

<!-- Include the Quill library -->
<script src="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.js"></script>

<!-- Initialize Quill editor -->
<script>
  const quill = new Quill("#editor", {
    theme: "snow",
  });
</script>

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

Download

npm install quill

CDN

<!-- Main Quill library -->
<script src="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.js"></script>

<!-- Theme included stylesheets -->
<link
  href="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.snow.css"
  rel="stylesheet"
/>
<link
  href="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.bubble.css"
  rel="stylesheet"
/>

<!-- Core build with no theme, formatting, non-essential modules -->
<link
  href="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.core.css"
  rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.core.js"></script>

Community

Get help or stay up to date.

License

BSD 3-clause