代码拉取完成,页面将自动刷新
TinyEditor 是一个基于 Quill 2.0 的富文本编辑器,在 Quill 基础上扩展了表格、图片、超链接、复制粘贴、插入表情、文件上传、@提醒、斜杆菜单等丰富的模块和格式,框架无关、兼容 Quill API、兼容 Quill 模块生态。
English | 简体中文
TinyEditor 主要有以下特点和优势:
安装 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 社区中合并了 1 个或多个 PR 的社区成员。
感谢以下 OpenTiny 的贡献者们 (emoji key):
zzxming 💻 |
Janson1012 💻 |
Kagol 💻 |
keray 💻 |
qwangry 💻 |
jany55555 💻 |
感谢:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。