slab/quill
Fork: 3425 Star: 44258 (更新于 2025-01-09 04:31:37)
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)
Quill Rich Text Editor
Documentation • Development • Contributing • Interactive Playground
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.
- Contribute on Issues
- Ask questions on Discussions
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最近更新仓库
2025-01-12 01:12:36 siyuan-note/siyuan
2025-01-11 23:51:41 xuejianxianzun/PixivBatchDownloader
2025-01-10 18:17:28 laurent22/joplin
2025-01-10 18:05:26 labring/FastGPT
2025-01-10 15:35:50 RSSNext/Follow
2025-01-10 15:01:05 lobehub/lobe-chat