quilljs/quill
Fork: 3187 Star: 39626 (更新于 2024-04-18 20:21:23)
license: BSD-3-Clause
Language: TypeScript .
Quill is a modern WYSIWYG editor built for compatibility and extensibility.
最后发布版本: v2.0.0 ( 2024-04-17 08:45:31)
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.0.0/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.0.0/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.0.0/dist/quill.js"></script>
<!-- Theme included stylesheets -->
<link
href="https://cdn.jsdelivr.net/npm/quill@2.0.0/dist/quill.snow.css"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/quill@2.0.0/dist/quill.bubble.css"
rel="stylesheet"
/>
<!-- Core build with no theme, formatting, non-essential modules -->
<link
href="https://cdn.jsdelivr.net/npm/quill@2.0.0/dist/quill.core.css"
rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/quill@2.0.0/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-04-18 20:21:03)
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
2024-01-21 22:50:20 v2.0.0-beta.1
2023-12-08 10:05:41 v2.0.0-beta.0
主题(topics):
editor, quill, rich-text-editor, wysiwyg
quilljs/quill同语言 TypeScript最近更新仓库
2024-05-02 12:26:13 lobehub/lobe-chat
2024-05-02 11:48:48 Dokploy/dokploy
2024-05-02 05:06:53 storybookjs/storybook
2024-05-02 04:19:19 vitejs/vite
2024-05-01 18:04:58 siyuan-note/siyuan
2024-05-01 00:26:52 vuetifyjs/vuetify