braft-editor
Advanced tools
Comparing version 0.1.4 to 0.1.6
{ | ||
"name": "braft-editor", | ||
"version": "0.1.4", | ||
"version": "0.1.6", | ||
"description": "Rich Text Editor Based On Draft.js", | ||
@@ -12,2 +12,3 @@ "main": "dist/braft.js", | ||
}, | ||
"repository": "https://github.com/margox/braft", | ||
"keywords": [ | ||
@@ -20,3 +21,3 @@ "braft", | ||
"rich-text-editor", | ||
"wyswyg" | ||
"wysiwyg" | ||
], | ||
@@ -23,0 +24,0 @@ "license": "MIT", |
@@ -24,2 +24,11 @@ # Braft Editor | ||
## 开发 | ||
```bash | ||
# 运行dev-server | ||
yarn start | ||
open http://localhost:5998 | ||
# 打包编译 | ||
yarn build | ||
``` | ||
## 使用示例 | ||
@@ -200,3 +209,3 @@ ```javascript | ||
编辑器在调用该函数式,会传入一个包含文件体、进度回调、成功回调和失败回调的对象作为参数: | ||
编辑器在调用该函数时,会传入一个包含文件体、进度回调、成功回调和失败回调的对象作为参数: | ||
```javascript | ||
@@ -217,3 +226,3 @@ { | ||
示例: | ||
uploadFn示例: | ||
```javascript | ||
@@ -220,0 +229,0 @@ const uploadFn = (param) => { |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
370088
263