braft-editor
Advanced tools
Comparing version 1.5.0 to 1.6.0
## 更新记录 | ||
- 2018-02-28 v1.6.0 | ||
- 支持行高设置,此功能由[@Belial](https://github.com/cpu220)贡献,非常感谢 | ||
- 2018-02-27 v1.5.0 | ||
@@ -3,0 +5,0 @@ - 支持简单设置图片的宽度和高度 |
{ | ||
"name": "braft-editor", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Rich Text Editor Based On Draft.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/braft.js", |
@@ -6,4 +6,8 @@ # Braft Editor | ||
#### 现已支持在typescript,使用npm或者yarn安装@types/braft-editor即可,墙裂感谢[@petitspois](https://github.com/petitspois)提供支持 | ||
#### 使用braft-convert的同学请将braft-convert升级到v1.2.0以确保功能同步 | ||
## 最近更新 | ||
- 2018-02-28 v1.6.0 | ||
- 支持行高设置,此功能由[@Belial](https://github.com/cpu220)贡献,非常感谢 | ||
- 2018-02-27 v1.5.0 | ||
@@ -20,5 +24,2 @@ - 支持简单设置图片的宽度和高度 | ||
- 修复在Ant.Design中会导致表单非正常提交的问题,感谢[@tgy9310](https://github.com/tgy931)提交的PR | ||
- 2018-02-22 v1.4.0 | ||
- 尝试修复自定义弹窗(extendControls/modal)内容无法动态更新的问题(感谢[@SadCreeper](https://github.com/SadCreeper)反馈) | ||
- 修复代码块转换出错的问题(感谢[@SadCreeper](https://github.com/SadCreeper)反馈) | ||
@@ -143,3 +144,3 @@ [查看更新历史](https://github.com/margox/braft-editor/blob/master/CHANGELOG.md) | ||
[ | ||
'undo', 'redo', 'split', 'font-size', 'font-family', 'text-color', | ||
'undo', 'redo', 'split', 'font-size', 'font-family', 'line-height', 'text-color', | ||
'bold', 'italic', 'underline', 'strike-through', 'superscript', | ||
@@ -151,3 +152,2 @@ 'subscript', 'text-align', 'split', 'headings', 'list_ul', 'list_ol', | ||
### extendControls [array:[object]] | ||
@@ -260,2 +260,12 @@ | ||
### lineHeights [array:[number]] | ||
指定编辑器可用的行高列表,用于设定文本内容的行高,默认可用行高: | ||
```javascript | ||
[ | ||
'1', '1.2', '1.5', '1.75', | ||
'2', '2.5', '3', '4' | ||
], | ||
``` | ||
### fontFamilies [array:[object]] | ||
@@ -262,0 +272,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
445062
646