TinyEditor is a rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It is powerful and out-of-the-box. TinyEditor 是一个基于 Quill 2.0 的富文本编辑器,在 Quill 基础上扩展了丰富的模块和格式,功能强大、开箱即用。
文件 最后提交记录 最后更新时间 fix: fix pre-release scripts
8 个月前 fix(ai): code style error ( #317 ) * fix(ai): code style error * feat(.vscode): settings.json 增加 按 Tab 键 → 插入指定数量的空格 * feat: createActionMenu 逻辑错误修复 1 年前 chore: release v4.0.1
7 个月前 fix:patch quill,光标逻辑 ( #346 ) * fix: 修复 demo upload 与表格的冲突 * fix:修复光标飘逸 * fix:quill2.0 patch fix batch sync issue * fix:修复光标逻辑,新增防抖 * fix: 使用相对定位文档光标 * fix: 修复光标逻辑 10 个月前 docs: add chenxi-20 as a contributor for code ( #359 ) * docs: update README.md [skip ci] * docs: update README.zh-CN.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> 10 个月前 test: add playwright ( #27 ) 1 年前 fix(Collaborative-editing): 新增配置文件,修复文档 ( #351 ) * feat: Enable pre and post scripts for npm * docs: simplify collaborative editing setup instructions and improve formatting * refactor: move environment variables from .env file to docker-compose.yml * feat: add environment variable overrides and documentation for MongoDB config * feat: add support for loading environment variables from .env file in PM2 config * chore: remove .env file and add .env.example 9 个月前 docs: modify fluent-editor to tiny-editor ( #213 ) 1 年前 docs: modify fluent-editor to tiny-editor ( #213 ) 1 年前 docs: modify Fluent Editor to TinyEditor ( #212 ) * docs: modify Fluent Editor to TinyEditor * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> 1 年前 [autofix.ci] apply automated fixes
9 个月前 [autofix.ci] apply automated fixes
9 个月前 fix: remove redundant trigger condition ( #369 ) 9 个月前 docs: update README ( #189 ) * docs: update README * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> 1 年前 feat: add eslint plugin @stylistic/eslint-plugin ( #36 ) * feat: add eslint plugin to lint code * fix: vscode auto fix on save * fix: add ignore file type 1 年前 fix: fix build:lib
8 个月前 chore: release 4.0 ( #405 ) 7 个月前 chore: add full type file eslint config ( #85 ) 1 年前 chore: add full type file eslint config ( #85 ) 1 年前
TinyEditor 富文本编辑器
TinyEditor 是一个基于 Quill 2.0 的富文本编辑器,在 Quill 基础上扩展了表格、图片、超链接、复制粘贴、插入表情、文件上传、@提醒、斜杆菜单等丰富的模块和格式,框架无关、兼容 Quill API、兼容 Quill 模块生态。
English | 简体中文
项目优势
TinyEditor 主要有以下特点和优势:
包含 30 多种丰富的模块和格式,除了 Quill 内置的 21 种格式之外,还扩展和增强了表格、图片、超链接、字数统计、表情、文件上传、复制粘贴、@提醒、斜杆快捷菜单、截图等 15 种模块和格式
强大的表格功能,支持在工具栏插入指定行列的表格、表格行高/列宽拖拽、插入行/列、删除行/列、合并/拆分单元格等丰富的表格操作
与框架无关,可以在 Vue、React、Angular 等多种框架中使用
兼容 Quill 所有 API,兼容 Quill 生态模块和格式
快速入门
安装 TinyEditor:
npm i @opentiny/fluent-editor
编写 html:
<div id ="editor" >
<p > Hello TinyEditor!</p >
</div >
引入样式:
@import '@opentiny/fluent-editor/style.css' ;
初始化 TinyEditor 编辑器:
import TinyEditor from '@opentiny/fluent-editor'
const editor = new TinyEditor ('#editor' , {
theme : 'snow' ,
})
本地开发
git clone git@github.com:opentiny/tiny-editor.git
cd tiny-editor
pnpm i
pnpm dev
打开浏览器访问:http://localhost:5173/tiny-editor/
✨ 贡献者
贡献者是在 OpenTiny 社区中做出过贡献的社区成员。
❤️ 致谢
感谢:
quill 项目,它是一款 API 驱动的富文本编辑器,采用模块化架构,可扩展性好,易于使用,支持跨平台,TinyEditor 基于 Quill 扩展和增强了表格、图片、超链接等大量模块和格式。
quill-better-table 项目,它增强了 Quill 内置表格模块,增加了丰富的功能,TinyEditor 的表格操作功能基于 quill-better-table。
quill-emoji 项目,它是一个用于表情符号的 Quill 模块,TinyEditor 的插入表情功能基于 quill-emoji。
quill-blot-formatter 项目,它是一个用于调整图像和视频大小的 Quill 模块,TinyEditor 的图片缩放功能基于 quill-blot-formatter。
License
MIT
TinyEditor is a rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It is powerful and out-of-the-box. TinyEditor 是一个基于 Quill 2.0 的富文本编辑器,在 Quill 基础上扩展了丰富的模块和格式,功能强大、开箱即用。
定制我的领域 举报项目