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(ci): 更新 Auto Deploy pnpm 版本尝试修复 build 错误 ( #280 ) 1 年前 chore: disable vscode default formatter ( #240 ) 1 年前 根据pr修复意见进行修改
10 个月前 docs: modify fluent-editor to tiny-editor ( #213 ) 1 年前 test: add playwright ( #27 ) 1 年前 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 年前 docs: 添加贡献者图表 ( #274 ) * docs: 添加贡献者图表 * docs: 更新 README 文件中的贡献者信息 * docs: 更新 README 文件中的贡献者信息 1 年前 docs: 添加贡献者图表 ( #274 ) * docs: 添加贡献者图表 * docs: 更新 README 文件中的贡献者信息 * docs: 更新 README 文件中的贡献者信息 1 年前 style: fix markdown code style ( #203 ) 1 年前 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 年前 1 年前 增加对 emoji-mart 的集成,使表情更丰富 ( #276 ) * feat(emoji-plus): 初版 * feat(emoji-plus): 富文本容器大小发生变化时调整表情选择弹窗的位置 * feat(emoji-plus): 文档完善 * feat(emoji-plus): 从 FluentEditor 获取当前语言进行设置 * [autofix.ci] apply automated fixes * fix(emoji-plus): EmojiModulePLusOptions to EmojiModulePlusOptions * fix(emoji-plus): EmojiModulePLusOptions to EmojiModulePlusOptions * feat(emoji-plus): 国际化、提示 * feat(emoji-plus): 正确注册 toolbar 的事件 * docs(emoji-plus): 增加所需依赖 * feat(emoji-plus): 代码优化 * feat(emoji-plus): 依赖由 dep 移动到 dev * feat(emoji-plus): 增加 lodash-es type 文件 * feat(emoji): emoji-plus to emoji 移除旧的 emoji 相关依赖 * [autofix.ci] apply automated fixes * feat(emoji): 代码逻辑优化 * fix(emoji): 国际化语言切换 * feat(emoji): 代码逻辑优化 --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> 1 年前 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 基础上扩展了丰富的模块和格式,功能强大、开箱即用。
定制我的领域 举报项目