New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

braft-editor

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

braft-editor - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

2

CHANGELOG.md
## 更新记录
- 2018-02-28 v1.6.0
- 支持行高设置,此功能由[@Belial](https://github.com/cpu220)贡献,非常感谢
- 2018-02-27 v1.5.0

@@ -3,0 +5,0 @@ - 支持简单设置图片的宽度和高度

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc