vue-froala-wysiwyg
vue-froala-wysiwyg copied to clipboard
Unable to get Editor Instance on Focus Event
Im using the following Script
focus: function (event, editor) {
console.log('editor', editor);
console.log('element', this)
}
And the Editor is undefined, how am i able to do something like:
editor.image.insert('example.jpeg')
So i need to access the Editor Instance inside the Focus Event. Thanks for Advice!
editor doesn't exist so you can use ~editor.image.insert('example.jpeg')~ -> this.image.insert('example.jpeg')