slab/quill
Fork: 3375 Star: 43505 (更新于 2024-10-21 05:01: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最近更新仓库
2024-11-05 17:55:23 langgenius/dify
2024-11-05 16:59:32 laurent22/joplin
2024-11-05 11:52:31 RSSNext/Follow
2024-11-05 07:18:03 microsoft/genaiscript
2024-11-05 05:06:06 getmaxun/maxun
2024-11-04 14:44:09 x-extends/vxe-table