ckeditor5-angular icon indicating copy to clipboard operation
ckeditor5-angular copied to clipboard

editorInstance is empty when the ready event fires

Open ma2ciek opened this issue 3 years ago • 1 comments

Originally reported in #219. 

After looking at the code it seems that the this.editorComponent.editorInstance getter can't be yet accessed as the editor creator promise isn't resolved yet - a 0s setTimeout on the ckeditor5-angular component's side should be enough to fix the situation. Thanks for the report.

ma2ciek avatar Jul 27 '20 11:07 ma2ciek

Can I ask, what is the situation with this? Is the setTimeout with 0 seconds an agreed fix to use, or has there been any developments?

ejke avatar Oct 13 '21 08:10 ejke

I am unable to reproduce this. If someone still experiences this issue, please provide detailed reproduction steps.

przemyslaw-zan avatar Sep 06 '23 11:09 przemyslaw-zan