vue-ckeditor2 icon indicating copy to clipboard operation
vue-ckeditor2 copied to clipboard

Calling setData twice produces IE11 console errors

Open vitality82 opened this issue 5 years ago • 1 comments

Describe the bug creating the RTE on IE11 throws a console bug: SCRIPT70 permission denied.

To Reproduce dynamically create an RTE on IE11

Additional context I found the reason why this happens: The second call to "setData" in the create() method is the reason why.

Question: Why is setData called twice?

this.instance.setData(this.value); this.instance.on('instanceReady', () => { this.instance.setData(this.value); });

Thanks!

vitality82 avatar Dec 03 '19 19:12 vitality82

Thank you @vitality82

I will investigate and fix soon.

dangvanthanh avatar Dec 04 '19 15:12 dangvanthanh