[BREAKGLASS] Append-only mirror of github.com/signalapp/quill
Go to file
2024-01-11 00:17:16 +08:00
.github Fix dependency errors 2023-11-26 21:00:56 +08:00
packages Update license years 2024-01-11 00:17:16 +08:00
scripts Remove unused npm scripts for quill 2023-11-28 12:19:03 +08:00
.eslintignore Remove unused npm scripts for quill 2023-11-28 12:19:03 +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 Fix typing errors for emitter 2024-01-11 00:03:33 +08:00
CODE_OF_CONDUCT.md add code of conduct 2016-05-09 21:46:36 -07:00
LICENSE Update license years 2024-01-11 00:17:16 +08:00
package-lock.json Fix typing errors for emitter 2024-01-11 00:03:33 +08:00
package.json v2.0.0-beta.0 2023-12-08 09:35:12 +08:00
README.md Setup GitHub actions 2022-10-28 17:28:53 +08:00
tsconfig.json Enable verbatimModuleSyntax for project 2023-08-13 13:42:38 +08:00

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

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 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.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