Skip to content

Commit

Permalink
update dist, ref: froala#127
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyan committed Jan 15, 2020
1 parent 03ff817 commit 4eda2eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/vue-froala.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-froala.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions es/vue-froala.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ var _default = function _default(Vue) {

this.editorInitialized = false;
this._editor = null;
this.initEvents = [];
}
},
getEditor: function getEditor() {
Expand Down
3 changes: 1 addition & 2 deletions src/vue-froala.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,11 @@ export default (Vue, Options = {}) => {
},

destroyEditor: function() {

if (this._editor) {

this._editor.destroy();
this.editorInitialized = false;
this._editor = null;
this.initEvents = [];
}
},

Expand Down

0 comments on commit 4eda2eb

Please sign in to comment.