Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

draft-js-richbuttons-plugin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draft-js-richbuttons-plugin - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

.travis.yml

12

lib/BlockButton/index.js

@@ -15,2 +15,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -102,7 +106,7 @@

BlockButton.propTypes = {
store: _react.PropTypes.object,
bindToState: _react.PropTypes.func,
label: _react.PropTypes.string,
blockType: _react.PropTypes.string
store: _propTypes2.default.object,
bindToState: _propTypes2.default.func,
label: _propTypes2.default.string,
blockType: _propTypes2.default.string
};
exports.default = BlockButton;

@@ -84,3 +84,3 @@ 'use strict';

handleKeyCommand: function handleKeyCommand(command, _ref2) {
handleKeyCommand: function handleKeyCommand(command, state, _ref2) {
var getEditorState = _ref2.getEditorState,

@@ -87,0 +87,0 @@ setEditorState = _ref2.setEditorState;

@@ -15,2 +15,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -116,7 +120,7 @@

StyleButton.propTypes = {
store: _react.PropTypes.object,
bindToState: _react.PropTypes.func,
label: _react.PropTypes.string,
inlineStyle: _react.PropTypes.string
store: _propTypes2.default.object,
bindToState: _propTypes2.default.func,
label: _propTypes2.default.string,
inlineStyle: _propTypes2.default.string
};
exports.default = StyleButton;
{
"name": "draft-js-richbuttons-plugin",
"version": "2.0.0",
"version": "2.1.0",
"description": "Rich Editing Buttons Plugin for DraftJS Plugins Editor",

@@ -25,5 +25,5 @@ "author": {

"peerDependencies": {
"draft-js-plugins-editor": "2.0.0-beta9",
"react": "^15.0.0",
"react-dom": "^15.0.0"
"draft-js-plugins-editor": "2.0.0-rc2",
"react": "^15.5.0",
"react-dom": "^15.5.0"
},

@@ -40,3 +40,3 @@ "scripts": {

"decorate-component-with-props": "^1.0.2",
"draft-js": "~0.9.1"
"prop-types": "^15.5.10"
},

@@ -50,11 +50,11 @@ "devDependencies": {

"chai": "^3.5.0",
"chai-enzyme": "^0.6.1",
"chai-enzyme": "^0.7.1",
"draft-js-plugins-editor": "2.0.0-beta9",
"enzyme": "^2.6.0",
"enzyme": "^2.9.0",
"jsdom": "^9.8.3",
"jsdom-global": "^2.1.0",
"mocha": "^3.2.0",
"react": "^15.4.1",
"react-addons-test-utils": "^15.4.1",
"react-dom": "^15.4.1",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"react-test-renderer": "^15.6.1",
"rimraf": "^2.5.4",

@@ -61,0 +61,0 @@ "sinon": "^1.17.6",

# DraftJS RichButtons Plugin
[![npm version](https://badge.fury.io/js/draft-js-richbuttons-plugin.svg)](http://badge.fury.io/js/draft-js-richbuttons-plugin)
[![npm version](https://badge.fury.io/js/draft-js-richbuttons-plugin.svg)](http://badge.fury.io/js/draft-js-richbuttons-plugin) [![Build Status](https://travis-ci.org/jasonphillips/draft-js-richbuttons-plugin.svg?branch=master)](https://travis-ci.org/jasonphillips/draft-js-richbuttons-plugin)

@@ -5,0 +5,0 @@ *This is a plugin for the `draft-js-plugins-editor`.*

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