登录 注册

quill

去点 Star
内容创作与媒体工具开发者工具数据分析与数据处理 editorquillrich-text-editorwysiwyg
47,368
Stars
3,666
Forks
479
Watchers
663
Open Issues
BSD-3-Clause
许可证
TypeScript
语言
2012-07-30
创建时间
2025-07-25
最近更新

项目能做什么

一款注重兼容性与高扩展性的现代富文本(WYSIWYG)Web 编辑器。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<h1 align="center">
  <a href="https://quilljs.com/" title="Quill">Quill Rich Text Editor</a>
</h1>
<p align="center">
  <a href="https://quilljs.com/" title="Quill"><img alt="Quill Logo" src="https://quilljs.com/assets/images/logo.svg" width="180"></a>
</p>
<p align="center">
  <a title="Documentation" href="https://quilljs.com/docs/quickstart"><strong>Documentation</strong></a>
  &#x2022;
  <a title="Development" href="https://github.com/slab/quill/blob/main/.github/DEVELOPMENT.md"><strong>Development</strong></a>
  &#x2022;
  <a title="Contributing" href="https://github.com/slab/quill/blob/main/.github/CONTRIBUTING.md"><strong>Contributing</strong></a>
  &#x2022;
  <a title="Interactive Playground" href="https://quilljs.com/playground/"><strong>Interactive Playground</strong></a>
</p>
<p align="center">
  <a href="https://github.com/slab/quill/actions" title="Build Status"><img src="https://github.com/slab/quill/actions/workflows/main.yml/badge.svg" alt="Build Status"></a>
  <a href="https://npmjs.com/package/quill" title="Version"><img src="https://img.shields.io/npm/v/quill.svg" alt="Version"></a>
  <a href="https://npmjs.com/package/quill" title="Downloads"><img src="https://img.shields.io/npm/dm/quill.svg" alt="Downloads"></a>
</p>

<hr/>

[Quill](https://quilljs.com/) is a modern rich text editor built for compatibility and extensibility. It was created by [Jason Chen](https://twitter.com/jhchen) and [Byron Milligan](https://twitter.com/byronmilligan) and actively maintained by [Slab](https://slab.com).

To get started, check out [https://quilljs.com/](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.

```html
<!-- 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](https://quilljs.com/) website for more documentation, guides and [live playground](https://quilljs.com/playground/)!

## Download

```shell
npm install quill
```

### CDN

```html
<!-- 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, 
阅读完整原文

项目深度分析 AI 生成

Quill Pro Extensions:企业级高级扩展插件包

产品构想针对原生Quill对复杂表格、数学公式排版、拖拽图片上传与S3直传、Markdown快捷输入等高级功能的缺失,开发一套闭源商业级插件套件。
核心功能增强型表格(合并单元格、列宽拖拽调整)、云存储文件/图片拖拽上传与粘贴、Markdown原生语法快捷转码、高亮批注与评论支持。
目标用户使用Quill但缺乏精力手写底层Parchment Blot扩展的前端团队及SaaS初创公司。
难度/周期中等 · 1-2个月 · 成本:极低(主要是个人研发时间与演示网站托管成本)
收费模式按开发者席位/单域名授权买断或年度订阅(如$99-$299/年)。
竞争风险需长期维护与Quill 2.x新版本的兼容性;社区可能存在部分零散的开源替代插件。
依据 数据支持的判断

Quill-Collab-Cloud:免运维实时协同编辑云服务

产品构想结合Quill官方专有的Delta数据格式与CRDT/OT技术(如Yjs),提供即插即用的多人实时协同编辑与光标同步SDK及后端SaaS托管服务。
核心功能多光标同步追踪、基于Delta的历史版本差异比对与冲突解决、开箱即用的React/Vue/纯JS客户端Wrapper、离线编辑与自动重新同步。
目标用户需要在线协同文档、协同CRM或团队笔记功能的中小型SaaS企业。
难度/周期高 · 2-3个月 · 成本:低到中等(WebSocket高并发连接服务器与网络带宽成本)
收费模式SaaS用量计费(按月活跃连接数MAU或并发连接数梯队订阅,如$29/月起)。
竞争风险长连接分布式网络运维压力大;竞品(如Liveblocks、Converge等通用协同方案)竞争激烈。
依据 尚需验证的假设

Quill AI Copilot:内嵌式智能文本辅助插件

产品构想为Quill提供类似Notion AI的浮动触发菜单和补全工具栏,集成主流LLM API,让现有基于Quill的系统能一键升级为AI编辑器。
核心功能选中文本快捷AI处理(润色、扩写、翻译、语气调整)、斜杠命令(/AI)快捷呼出、流式打字机效果直接写入Quill Delta、支持配置自定义API Key。
目标用户希望快速为自己现有的CMS、博客或CRM产品增加AI写作功能的产品经理和独立开发者。
难度/周期低 · 2-4周 · 成本:极低(前端UI组件为主,提供BYOK自定义Key和云端代理由用户选择)
收费模式插件代码买断销售(单站点/多站点授权)或按月收取代理Token网关费。
竞争风险AI类前端UI组件壁垒较低,容易被开源项目模仿。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2012-07-30,最近推送 2025-07-25,发布过 95 个 Release
社区活跃Star 47,368 / Fork 3,666 / Issue 663(数据支持,可自行核实)
许可证BSD-3-Clause
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。