From 0aa305ffab271d9d04157dfad053a088816f2267 Mon Sep 17 00:00:00 2001 From: Akshay Jat Date: Tue, 31 Dec 2019 09:21:53 -0500 Subject: [PATCH] fix: htmlSet error in modal (#107) --- src/vue-froala.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vue-froala.js b/src/vue-froala.js index b5ca8d0..9920b3f 100644 --- a/src/vue-froala.js +++ b/src/vue-froala.js @@ -165,9 +165,9 @@ export default (Vue, Options = {}) => { }, destroyEditor: function() { + this.initEvents = []; if (this._editor) { - this._editor.destroy(); this.editorInitialized = false; this._editor = null;