MyGit

slab/quill

Fork: 3395 Star: 43683 (更新于 2024-11-11 21:40:28)

license: BSD-3-Clause

Language: TypeScript .

Quill is a modern WYSIWYG editor built for compatibility and extensibility

最后发布版本: v2.0.2 ( 2024-05-13 15:39:04)

官方网址 GitHub网址

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

最近版本更新:(数据更新于 2024-09-21 05:40:22)

2024-05-13 15:39:04 v2.0.2

2024-05-01 17:11:18 v2.0.1

2024-04-17 08:45:31 v2.0.0

2024-04-04 21:36:09 v2.0.0-rc.5

2024-03-24 12:43:30 v2.0.0-rc.4

2024-03-16 10:46:25 v2.0.0-rc.3

2024-02-15 16:05:50 v2.0.0-rc.2

2024-02-12 12:37:37 v2.0.0-rc.1

2024-02-03 14:08:08 v2.0.0-rc.0

2024-01-30 18:38:04 v2.0.0-beta.2

主题(topics):

editor, quill, rich-text-editor, wysiwyg

slab/quill同语言 TypeScript最近更新仓库

2024-11-22 01:36:46 twentyhq/twenty

2024-11-21 22:40:05 LLOneBot/LLOneBot

2024-11-21 20:34:48 CopilotKit/CopilotKit

2024-11-21 16:58:07 labring/FastGPT

2024-11-21 16:14:54 RSSNext/Follow

2024-11-21 16:12:23 x-extends/vxe-table