@chenyomi/leafer-htmltext-edit
v2.6.15
Published
A text editor plugin for Leafer UI with HTML text support
Maintainers
Readme
Leafer HTMLText Editor
Leafer UI 富文本编辑器插件 · 集成 Quill 2.0 · 支持 HTML 文本与完整样式控制
English · 📖 完整文档 · 在线演示 · 插件官网
✨ 特性
| | |
| :--- | :--- |
| 🎨 富文本编辑 | 基于 Quill 2.0,支持完整的富文本编辑能力 |
| 📐 文本样式 | 字体、大小、颜色、对齐、行高、字间距等全面控制 |
| 🖊️ 行内描边 | 支持逐字符 textStroke 行内描边效果 |
| 💪 行内字重 | 支持选区级 bold / fontWeight 行内加粗控制 |
| 📋 列表支持 | 有序列表、无序列表 |
| 🔐 授权管理 | 内置授权系统,本地开发不限制,上线有授权检测 |
| 🔧 TypeScript | 完整的类型定义支持 |
| 🚀 现代化构建 | ESM + CJS 双格式,支持 Tree Shaking |
🔗 相关链接
| 资源 | 链接 | | :--- | :--- | | 📖 完整文档 | chenyomi.github.io/leafer-htmltext-edit-website/docs | | 🌐 插件官网 | chenyomi.github.io/leafer-htmltext-edit-website | | 🎮 在线演示 | chenyomi.github.io/leafer-htmltext-edit-view | | 🐛 问题反馈 | GitHub Issues |
使用方式、API 说明及常见问题,请查阅 官方文档。
📦 安装
npm install @chenyomi/leafer-htmltext-edit或使用其他包管理器:
pnpm add @chenyomi/leafer-htmltext-edit
# yarn
yarn add @chenyomi/leafer-htmltext-editPeer Dependencies
插件依赖以下包,请确保一并安装:
npm install leafer-ui @leafer-ui/core @leafer-in/editor @leafer-in/html quill| 依赖 | 说明 |
| :--- | :--- |
| leafer-ui | Leafer UI 主包 |
| @leafer-ui/core | Leafer 核心 |
| @leafer-in/editor | 编辑器扩展 |
| @leafer-in/html | HTML 渲染支持 |
| quill | 富文本引擎 |
📄 许可证
本项目使用自定义商业许可证,详见 LICENSE。
商业使用需授权,请联系开发者获取授权密钥。
👤 作者
chenyomi · [email protected]
如果这个项目对你有帮助,请给个 ⭐️ Star!
