Skip to content

Commit

Permalink
Update to 3.0.3-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Navneet Kumar committed Jul 17, 2019
1 parent 9e931f6 commit 3a82475
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/amd/froala-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ define(['exports', 'aurelia-framework', 'aurelia-binding', './froala-editor-conf
return _this2.value = editor.html.get();
});

this.instance = new _froala_editorPkgdMin2.default('#' + this.element.id, Object.assign({}, this.config));
this.instance = new _froala_editorPkgdMin2.default(this.element, Object.assign({}, this.config));
};

FroalaEditor1.prototype.tearDown = function tearDown() {
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/froala-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ var FroalaEditor1 = exports.FroalaEditor1 = (_dec = (0, _aureliaFramework.custom
return _this2.value = editor.html.get();
});

this.instance = new _froala_editorPkgdMin2.default('#' + this.element.id, Object.assign({}, this.config));
this.instance = new _froala_editorPkgdMin2.default(this.element, Object.assign({}, this.config));
};

FroalaEditor1.prototype.tearDown = function tearDown() {
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/froala-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export let FroalaEditor1 = (_dec = customElement('froala-editor'), _dec2 = injec
this.instance.addEventListener('contentChanged', (e, editor) => this.value = editor.html.get());
this.instance.addEventListener('blur', (e, editor) => this.value = editor.html.get());

this.instance = new FroalaEditor(`#${this.element.id}`, Object.assign({}, this.config));
this.instance = new FroalaEditor(this.element, Object.assign({}, this.config));
}

tearDown() {
Expand Down
2 changes: 1 addition & 1 deletion dist/system/froala-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ System.register(['aurelia-framework', 'aurelia-binding', './froala-editor-config
return _this2.value = editor.html.get();
});

this.instance = new FroalaEditor('#' + this.element.id, Object.assign({}, this.config));
this.instance = new FroalaEditor(this.element, Object.assign({}, this.config));
};

FroalaEditor1.prototype.tearDown = function tearDown() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-froala-editor",
"version": "3.0.3-1",
"version": "3.0.3-2",
"description": "Aurelia plugin for Froala WYSIWYG HTML rich text editor.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 3a82475

Please sign in to comment.