Socket
Socket
Sign inDemoInstall

draft-js-undo-plugin

Package Overview
Dependencies
25
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

5

CHANGELOG.md

@@ -7,1 +7,6 @@ # Change Log

## To Be Released
## 0.0.5 - 2016-03-25
### Released the first working of DraftJS Undo Plugin
It's not recommended to use the version 0.0.0 - 0.0.4

2

package.json
{
"name": "draft-js-undo-plugin",
"version": "0.0.4",
"version": "0.0.5",
"description": "Undo Plugin for DraftJS",

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

@@ -29,1 +29,31 @@ # History Plugin

```
## Importing the default styles
The plugin ships with a default styling available at this location in the installed package:
`node_modules/draft-js-mention-plugin/lib/plugin.css`.
### Webpack Usage
You can import the css file by using the `style-loader` and `css-loader`. For example you can add this to your webpack config:
```js
module: {
loaders: [{
test: /\.css$/,
loaders: [
'style', 'css'
]
}]
}
```
and then import the styles:
```js
import 'draft-js-undo-plugin/lib/plugin.css';
```
### Browserify Usage
TODO: PR welcome

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc