Huge News!Announcing our $40M Series B led by Abstract Ventures.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 0.1.4 to 0.1.6

5

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

13

README.md

@@ -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) => {

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