Skip to content

Commit 4eda2eb

Browse files
committed
update dist, ref: froala#127
1 parent 03ff817 commit 4eda2eb

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

dist/vue-froala.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-froala.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

es/vue-froala.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ var _default = function _default(Vue) {
149149

150150
this.editorInitialized = false;
151151
this._editor = null;
152+
this.initEvents = [];
152153
}
153154
},
154155
getEditor: function getEditor() {

src/vue-froala.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,11 @@ export default (Vue, Options = {}) => {
168168
},
169169

170170
destroyEditor: function() {
171-
172171
if (this._editor) {
173-
174172
this._editor.destroy();
175173
this.editorInitialized = false;
176174
this._editor = null;
175+
this.initEvents = [];
177176
}
178177
},
179178

0 commit comments

Comments
 (0)