This repository was archived by the owner on Sep 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 368
A delay in setting the model will cause tinymce to remain empty #49
Comments
I verified this morning that this is a problem specific to AngularJS 1.2.0-rc3. Everything works great in AngularJS 1.2.0-rc2. Someone has already submitted an issue to AngularJS. Essentially, ngModel.$render is not successfully reassigned in the directive. |
I got around this issue by adding this code:
before
|
A simple fix is to add a positive priority in tinymce directive. In case you want to know more |
The priority fix clearly documented by @iwang worked like a dream. Genius! |
This looks like it is now fixed in master - let me know otherwise. |
iWang's solution worked for me too - thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here is a Plunker to demonstrate the issue: http://plnkr.co/edit/D1UFaF
I have put a timeout around setting the model that contains the content that should display in tinymce. As you can see in the Plunker, the regular 'ol textarea eventually loads up, but tinymce does not.
I'm using AngularJS 1.2.0-rc3, and the latest version of tinymce (4.0.8 at this moment).
The text was updated successfully, but these errors were encountered: