braft-editor
Advanced tools
Comparing version 1.2.0 to 1.3.0
## 更新记录 | ||
- 2018-01-30 v1.3.0 | ||
- 支持编辑代码块是按tab插入缩进,并可配置缩进空格数(感谢[@atmjs](https://github.com/atmjs)建议) | ||
- 支持列表项目的文字居中\居右显示(感谢[@ug1989](https://github.com/ug1989)反馈) | ||
- 修复媒体库拖放上传功能异常的问题(感谢[@jane900618](https://github.com/jane900618)反馈) | ||
- 部分细节优化 | ||
- 2018-01-29 v1.2.0 | ||
@@ -3,0 +8,0 @@ - 支持配置可插入的外部媒体类型(感谢[@jane900618](https://github.com/jane900618)建议) |
{ | ||
"name": "braft-editor", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Rich Text Editor Based On Draft.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/braft.js", |
@@ -8,2 +8,7 @@ # Braft Editor | ||
## 最近更新 | ||
- 2018-01-30 v1.3.0 | ||
- 支持编辑代码块是按tab插入缩进,并可配置缩进空格数(感谢[@atmjs](https://github.com/atmjs)建议) | ||
- 支持列表项目的文字居中\居右显示(感谢[@ug1989](https://github.com/ug1989)反馈) | ||
- 修复媒体库拖放上传功能异常的问题(感谢[@jane900618](https://github.com/jane900618)反馈) | ||
- 部分细节优化 | ||
- 2018-01-29 v1.2.0 | ||
@@ -210,2 +215,12 @@ - 支持配置可插入的外部媒体类型(感谢[@jane900618](https://github.com/jane900618)建议) | ||
### tabIndents [number] | ||
指定编辑器编辑代码块时按下tab插入的缩进空格数,默认是2 | ||
### onSave [function] | ||
指定一个函数,通常用于保存操作,在编辑器处于焦点时按下command/ctrl + s会执行此函数 | ||
### colors [array:[string]] | ||
@@ -212,0 +227,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
433451
626