https://github.com/mqyqingfeng/qyeditor
基于Draft.js的干净利落功能齐全的富文本编辑器
https://github.com/mqyqingfeng/qyeditor
Last synced: 7 months ago
JSON representation
基于Draft.js的干净利落功能齐全的富文本编辑器
- Host: GitHub
- URL: https://github.com/mqyqingfeng/qyeditor
- Owner: mqyqingfeng
- Created: 2017-01-18T06:46:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-07T01:45:28.000Z (almost 9 years ago)
- Last Synced: 2025-06-01T06:27:11.339Z (8 months ago)
- Language: JavaScript
- Size: 1.26 MB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QYEditor
基于Draft.js的干净利落功能齐全的富文本编辑器
## 说明
项目正在开发中
## 实现功能
效果:
* 加粗
* 斜体
* 下划线
* 字体大小
* 引用
* 无序列表
* 有序列表
* 代码
* 居左 居中 居右对齐
* 添加分割线功能
* 文字颜色
* 文字背景色
* 插入多媒体如图片、音频、视频
编辑器:
* 获取HTML
* 获取state值
* 根据HTML设置初始的编辑器的值
## 使用方法
npm start 访问localhost:3001