We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf2950d commit 74c0ec2Copy full SHA for 74c0ec2
src/vue-froala.js
@@ -90,15 +90,15 @@ export default (Vue, Options = {}) => {
90
91
this.currentConfig = this.clone(this.config || this.defaultConfig);
92
93
- this._editor = new FroalaEditor(this.$el, this.currentConfig, () => {
94
- this.initListeners();
95
- this.editorInitialized = true;
96
- });
97
-
98
this.setContent(true);
99
100
// Bind editor events.
101
this.registerEvents();
+ this.initListeners();
+
+ this._editor = new FroalaEditor(this.$el, this.currentConfig)
+ this.editorInitialized = true;
102
103
},
104
0 commit comments