New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-froala-wysiwyg

Package Overview
Dependencies
Maintainers
3
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-froala-wysiwyg - npm Package Compare versions

Comparing version 2.9.3 to 2.9.4

lib/index.d.ts

2

demo/webpack.config.js

@@ -56,3 +56,3 @@ var webpack = require("webpack");

alias: {
"react-froala-wysiwyg": '../../dist'
"react-froala-wysiwyg": '../../dist/dist'
},

@@ -59,0 +59,0 @@ modules: ['node_modules']

@@ -74,3 +74,7 @@ /* global $ */

this.$element = $(this.refs.el);
if(this.props.model) {
this.$element[0].innerHTML = this.props.model;
}
this.setContent(true);

@@ -77,0 +81,0 @@

{
"name": "react-froala-wysiwyg",
"version": "2.9.3",
"version": "2.9.4",
"description": "React component for Froala WYSIWYG HTML rich text editor.",

@@ -50,5 +50,5 @@ "main": "index.js",

"raw-loader": "^0.5.1",
"react": "^15.0.0",
"react": "^16.0.0",
"react-addons-test-utils": "^15.0.0",
"react-dom": "^15.0.0",
"react-dom": "^16.0.0",
"react-highlight": "^0.9.0",

@@ -59,3 +59,3 @@ "sinon": "^1.17.4",

"webpack": "^4.6.0",
"webpack-cli": "^2.0.15",
"webpack-cli": "^3.1.3",
"webpack-dev-server": "^3.1.3"

@@ -65,4 +65,4 @@ },

"build": "webpack-cli && webpack-cli -p",
"demo": "cd demo && webpack-cli && ../node_modules/.bin/webpack-dev-server --port 4000 --content-base dist/",
"prepublish": "npm run build && bash lib/copy_bundles.sh"
"demo": "cd demo && webpack-cli && \"../node_modules/.bin/webpack-dev-server\" --port 4000 --content-base dist/",
"prepublishOnly": "npm run build && bash lib/copy_bundles.sh"
},

@@ -69,0 +69,0 @@ "repository": {

@@ -322,2 +322,8 @@ # React JS Froala WYSIWYG Editor

## Using type definition file
`index.d.ts` file is the type definition file for this repository. It is placed inside lib folder.In order to use it in your code , use the following line:
```
///<reference path= "index.d.ts" />
```
where path is the location of index.d.ts file.

@@ -338,2 +344,7 @@ ## Displaying HTML

## Usage with create-react-app
In order to use froala editor with create-react-app, you need to include below lines in your code:
import $ from 'jquery';
window.$ = $;
## License

@@ -340,0 +351,0 @@

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