braft-editor
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "braft-editor", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Rich Text Editor Based On Draft.js", | ||
@@ -63,4 +63,4 @@ "main": "dist/index.js", | ||
"braft-convert": "^2.0.2", | ||
"braft-finder": "^0.0.9", | ||
"braft-utils": "^0.0.16", | ||
"braft-finder": "^0.0.10", | ||
"braft-utils": "^0.0.17", | ||
"draft-convert": "^2.0.0", | ||
@@ -67,0 +67,0 @@ "draft-js": "^0.10.3", |
# Braft Editor | ||
#### 一个基于draft-js的Web富文本编辑器,适用于React框架,兼容主流现代浏览器。 | ||
#### [使用文档](https://www.yuque.com/margox/be) [在线演示](http://margox.github.io/braft-editor/) | ||
##### 注意,项目当前版本为2.0,如果你使用的是1.x.x版本,请参阅[旧版本文档](https://github.com/margox/braft-editor/blob/old-master/README.md) | ||
@@ -22,2 +23,6 @@ | ||
## 更新记录 | ||
- 2018-09-18 v2.0.6 | ||
- 部分控件支持开关模式,例如加粗、斜体等 | ||
- 支持拖动图片到编辑器区域 | ||
- 修复插入外部视频导致脚本报错的问题 | ||
- 2018-09-06 v2.0.5 | ||
@@ -68,3 +73,3 @@ - 打包字体文件,免除额外的loader配置 | ||
async submitContent () { | ||
submitContent = async () => { | ||
// 在编辑器获得焦点时按下ctrl+s会执行此方法 | ||
@@ -71,0 +76,0 @@ // 编辑器内容提交到服务端之前,可直接调用editorState.toHTML()来获取HTML格式的内容 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
653410
3859
106
+ Addedbraft-finder@0.0.10(transitive)
+ Addedbraft-utils@0.0.17(transitive)
- Removedbraft-finder@0.0.9(transitive)
- Removedbraft-utils@0.0.16(transitive)
Updatedbraft-finder@^0.0.10
Updatedbraft-utils@^0.0.17