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

react-froala-wysiwyg

Package Overview
Dependencies
Maintainers
3
Versions
101
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.5 to 2.9.6

2

lib/FroalaEditor.jsx

@@ -6,4 +6,4 @@ import React from 'react';

render () {
return <this.tag ref="el">{this.props.children}</this.tag>;
return <this.tag ref={el => this.el = el}>{this.props.children}</this.tag>;
}
}

@@ -8,5 +8,5 @@ import React from 'react';

return (
<a ref='el'>{this.props.children}</a>
<a ref={el => this.el = el}>{this.props.children}</a>
);
}
}

@@ -8,5 +8,5 @@ import React from 'react';

return (
<button ref='el'>{this.props.children}</button>
<button ref={el => this.el = el}>{this.props.children}</button>
);
}
}

@@ -41,3 +41,3 @@ /* global $ */

componentDidMount () {
let tagName = this.refs.el.tagName.toLowerCase();
let tagName = this.el.tagName.toLowerCase();
if (this.SPECIAL_TAGS.indexOf(tagName) != -1) {

@@ -74,8 +74,8 @@ this.tag = tagName;

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

@@ -82,0 +82,0 @@

@@ -7,5 +7,5 @@ import React from 'react';

return (
<img ref='el'/>
<img ref={el => this.el = el}/>
);
}
}

@@ -8,5 +8,5 @@ import React from 'react';

return (
<input ref='el'/>
<input ref={el => this.el = el}/>
);
}
}
{
"name": "react-froala-wysiwyg",
"version": "2.9.5",
"version": "2.9.6",
"description": "React component for Froala WYSIWYG HTML rich text editor.",

@@ -27,3 +27,3 @@ "main": "index.js",

"create-react-class": "^15.5.2",
"froala-editor": "2.9.5"
"froala-editor": "2.9.6"
},

@@ -30,0 +30,0 @@ "devDependencies": {

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