braft-editor
Advanced tools
Comparing version 1.9.5 to 1.9.6
## 更新记录 | ||
- 2018-05-24 v1.9.6 | ||
- 新增forceNewLine属性,设置为true时,按回车键将插入`<br>`而非`<p></p>` | ||
- 部分细节优化 | ||
- 2018-05-23 v1.9.5 | ||
@@ -3,0 +6,0 @@ - 部分细节优化 |
{ | ||
"name": "braft-editor", | ||
"version": "1.9.5", | ||
"version": "1.9.6", | ||
"description": "Rich Text Editor Based On Draft.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/braft.js", |
@@ -12,2 +12,5 @@ # Braft Editor | ||
## 最近更新 | ||
- 2018-05-24 v1.9.6 | ||
- 新增forceNewLine属性,设置为true时,按回车键将插入`<br>`而非`<p></p>` | ||
- 部分细节优化 | ||
- 2018-05-23 v1.9.5 | ||
@@ -292,3 +295,3 @@ - 部分细节优化 | ||
指定编辑器的包裹容器的选择器字符串(例如'#wrapper', '.container'),用于下拉菜单等组件的位置自适应,默认为body | ||
指定编辑器的包裹容器的选择器字符串(例如'#wrapper', '.container'),用于下拉菜单等组件的位置自适应,默认为编辑器自身 | ||
@@ -301,2 +304,7 @@ | ||
### forceNewLine [boolean] | ||
指定是否启用强制空行,该属性为true时按回车键将会插入`<br>`而非`<p></p>`,默认为false | ||
### textAlignOptions [array] | ||
@@ -303,0 +311,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12861
831
813273
8