angular-ui / ui-tinymce

AngularUI wrapper for TinyMCE
MIT License
488 stars 371 forks source link

tinyInstance is null #188

Open ghost opened 8 years ago

ghost commented 8 years ago

it needs 4 calls to become available...
capture

deeg commented 8 years ago

Can you please add a plunker reproducing the problem so we can look into fixing it?

deeg commented 8 years ago

You can use this plunker as a template to create your own.

ghost commented 8 years ago

Just add console.log(tinyInstance); at line 178, you will see

richcocks commented 8 years ago

I believe this may also be related to the issue I am seeing where the readonly status (ng-disabled) is not correctly being set. In ensureInstance, tinymce.get() does not return the instance.