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

aurelia-froala-editor

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-froala-editor - npm Package Compare versions

Comparing version 2.8.4 to 2.8.5

2

dist/es2015/froala-editor.js

@@ -83,3 +83,3 @@ var _dec, _dec2, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3;

let handler = this.eventHandlers[eventHandlerName];
this.instance.on(`froalaEditor.${ eventHandlerName }`, function () {
this.instance.on(`froalaEditor.${eventHandlerName}`, function () {
let p = arguments;

@@ -86,0 +86,0 @@ return handler.apply(this, p);

{
"name": "aurelia-froala-editor",
"version": "2.8.4",
"version": "2.8.5",
"description": "Aurelia plugin for Froala WYSIWYG HTML rich text editor.",

@@ -27,3 +27,3 @@ "keywords": [

"devDependencies": {
"aurelia-tools": "^1.0.0",
"aurelia-tools": "^2.0.0",
"babel-eslint": "^7.1.1",

@@ -38,5 +38,5 @@ "babel-plugin-syntax-flow": "^6.18.0",

"babel-preset-stage-1": "^6.22.0",
"conventional-changelog": "1.1.3",
"del": "^2.2.2",
"gulp": "^3.9.1",
"conventional-changelog": "^2.0.3",
"del": "^3.0.0",
"gulp": "^4.0.0",
"gulp-babel": "^6.1.2",

@@ -47,20 +47,20 @@ "gulp-bump": "^2.7.0",

"isparta": "^4.0.0",
"istanbul": "^1.0.0-alpha.2",
"jasmine-core": "^2.5.2",
"karma": "^1.5.0",
"karma-babel-preprocessor": "^6.0.1",
"istanbul": "^1.1.0-alpha.1",
"jasmine-core": "^3.2.1",
"karma": "^3.0.0",
"karma-babel-preprocessor": "^7.0.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.1.0",
"karma-jspm": "2.2.2",
"karma-jspm": "^2.2.3",
"object.assign": "^4.0.4",
"require-dir": "^0.3.1",
"run-sequence": "^1.2.2",
"require-dir": "^1.0.0",
"run-sequence": "^2.2.1",
"vinyl-paths": "^2.1.0",
"yargs": "^7.0.2"
"yargs": "^12.0.2"
},
"dependencies": {
"froala-editor": "2.8.4",
"aurelia-binding": "^1.0.0",
"aurelia-dependency-injection": "^1.0.0"
"aurelia-binding": "^2.1.4",
"aurelia-framework": "^1.3.0",
"froala-editor": "2.8.5"
},

@@ -67,0 +67,0 @@ "jspm": {

@@ -38,3 +38,8 @@ import {inject, customElement, bindable} from 'aurelia-framework';

// Get element.
this.instance = $(this.element.getElementsByTagName("div")[0]);
if (this.config.iframe) {
this.instance = $(this.element.getElementsByTagName('textarea')[0]);
}
else {
this.instance = $(this.element.getElementsByTagName('div')[0]);
}

@@ -60,3 +65,3 @@ // Check if editor isn't already initialized.

}
this.instance.on('froalaEditor.contentChanged, froalaEditor.blur', (e, editor) => this.value = editor.html.get());
this.instance.on('froalaEditor.contentChanged froalaEditor.blur', (e, editor) => this.value = editor.html.get());

@@ -63,0 +68,0 @@ // Initialize editor.

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