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 2.0.5 to 2.0.6

6

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

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