MCPcopy
hub / github.com/slab/quill

github.com/slab/quill @v2.0.3 sqlite

repository ↗ · DeepWiki ↗ · release v2.0.3 ↗
789 symbols 2,283 edges 164 files 4 documented · 1%
README

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.


<link
  href="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.snow.css"
  rel="stylesheet"
/>





  <button class="ql-bold">Bold</button>
  <button class="ql-italic">Italic</button>










Hello World!




Some initial <strong>bold</strong> text














<script src="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.js"></script>


<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


<script src="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.js"></script>


<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"
/>


<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

Extension points exported contracts — how you extend this code

CustomMatchers (Interface)
(no doc)
packages/quill/test/unit/__helpers__/vitest.d.ts
Assertion (Interface)
(no doc)
packages/quill/test/unit/__helpers__/vitest.d.ts
AsymmetricMatchersContaining (Interface)
(no doc)
packages/quill/test/unit/__helpers__/vitest.d.ts
Op (Interface)
(no doc)
packages/quill/test/e2e/pageobjects/EditorPage.ts
HistoryOptions (Interface)
(no doc)
packages/quill/src/modules/history.ts

Core symbols most depended-on inside this repo

toEqualHTML
called by 216
packages/quill/test/unit/__helpers__/vitest.d.ts
getDelta
called by 87
packages/quill/src/core/editor.ts
length
called by 69
packages/quill/src/blots/block.ts
getContents
called by 62
packages/quill/test/e2e/pageobjects/EditorPage.ts
applyDelta
called by 54
packages/quill/src/core/editor.ts
formatText
called by 49
packages/quill/src/core/quill.ts
convert
called by 48
packages/quill/src/modules/clipboard.ts
setSelection
called by 39
packages/quill/test/e2e/pageobjects/EditorPage.ts

Shape

Method 373
Function 233
Class 158
Interface 25

Languages

TypeScript100%

Modules by API surface

packages/quill/src/core/quill.ts54 symbols
packages/quill/src/modules/clipboard.ts33 symbols
packages/quill/src/blots/scroll.ts32 symbols
packages/quill/src/modules/syntax.ts31 symbols
packages/quill/src/formats/table.ts26 symbols
packages/quill/src/core/editor.ts26 symbols
packages/quill/src/core/selection.ts24 symbols
packages/quill/src/modules/keyboard.ts22 symbols
packages/quill/src/blots/block.ts22 symbols
packages/quill/src/themes/base.ts21 symbols
packages/quill/test/e2e/pageobjects/EditorPage.ts19 symbols
packages/quill/src/modules/history.ts18 symbols

Dependencies from manifests, versioned

@babel/cli7.23.9 · 1×
@babel/core7.24.0 · 1×
@babel/preset-env7.24.0 · 1×
@babel/preset-typescript7.23.3 · 1×
@codesandbox/sandpack-react2.11.3 · 1×
@docsearch/react3.5.2 · 1×
@mdx-js/loader3.0.0 · 1×
@mdx-js/mdx2.1.5 · 1×
@mdx-js/react2.3.0 · 1×
@next/mdx14.0.4 · 1×
@next/third-parties14.1.0 · 1×
@playwright/test1.44.1 · 1×

For agents

$ claude mcp add quill \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact