Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rojer95/dslate
一个Ant Design/Semi Design风格的富文本编辑器 - An Ant Design/Semi Design style rich editor based on Slate
https://github.com/rojer95/dslate
ant-design rich-editor slate slate-react wysiwyg
Last synced: 2 months ago
JSON representation
一个Ant Design/Semi Design风格的富文本编辑器 - An Ant Design/Semi Design style rich editor based on Slate
- Host: GitHub
- URL: https://github.com/rojer95/dslate
- Owner: rojer95
- License: mit
- Created: 2021-12-25T13:07:46.000Z (about 3 years ago)
- Default Branch: v2
- Last Pushed: 2024-10-22T06:19:22.000Z (3 months ago)
- Last Synced: 2024-10-23T07:58:07.401Z (3 months ago)
- Topics: ant-design, rich-editor, slate, slate-react, wysiwyg
- Language: TypeScript
- Homepage: http://rojer95.github.io/dslate/
- Size: 13.8 MB
- Stars: 25
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 简介
DSlate 是一个基于 [Slate](https://github.com/ianstormtaylor/slate) 构建的 [Ant Design](https://github.com/ant-design/ant-design/) | [Semi Design](https://github.com/DouyinFE/semi-design) 风格的富文本编辑器。你可以通过插件的方式轻松自定义节点、工具等元素。
> 欢迎一起构建 DSlate
## 文档
要了解更多信息,请参阅以下 DSlate 文档部分:
- [快速开始](https://rojer95.github.io/dslate/getting-started)
- [插件开发](https://rojer95.github.io/dslate/getting-started/plugin)
- [国际化](https://rojer95.github.io/dslate/getting-started/locale)
- [自定义文件上传](https://rojer95.github.io/dslate/getting-started/upload)
- [Antd 风格](https://rojer95.github.io/dslate/getting-started/antd)
- [Semi 风格](https://rojer95.github.io/dslate/getting-started/semi)## 开箱即用
| 组件 | 说明 |
| ---------------------------------------------------------- | ---------------------------------------------------- |
| [@dslate/antd](https://www.npmjs.com/package/@dslate/antd) | 整合了 Antd 风格开箱即用的编辑器组件(Antd5.0 以上) |
| [@dslate/semi](https://www.npmjs.com/package/@dslate/semi) | 整合了 Semi 风格开箱即用的编辑器组件 |## 组件
DSlate 提供了如下组件:
| 组件 | 说明 |
| ---------------------------------------------------------------------------- | ----------------- |
| [ConfigProvider](https://rojer95.github.io/dslate/components/config) | 全局配置组件 |
| [Toolbar.Button](https://rojer95.github.io/dslate/components/toolbar-button) | 工具栏-按钮组件 |
| [Toolbar.Select](https://rojer95.github.io/dslate/components/toolbar-select) | 工具栏-选择框组件 |
| [Toolbar.Modal](https://rojer95.github.io/dslate/components/toolbar-modal) | 工具栏-模态框组件 |
| [Input](https://rojer95.github.io/dslate/components/input) | 弹出层组件 |
| [Popover](https://rojer95.github.io/dslate/components/popover) | 弹出层组件 |## LICENSE
MIT