-
Notifications
You must be signed in to change notification settings - Fork 368
Model data does not always show up in the tinymce window #23
Comments
Same issue here. |
We are having exactly the same problem. Can anyone advise if this will be fixed in the next release ? |
Yeah, same issue again. The dirty fix seems to have sort-of-worked for now. Had some errors like this show up in the console: |
@RichardAlan, thanx, that hack really solved this problem. |
@RichardAlan to the rescue! |
I've been running into a similar problem when tinymce is in a ng-switch or ng-if directive. |
Thanks @RichardAlan, your code solved similar issue for me too. Hope this is fixed soon! |
We solved a similar issue by making sure that the tinymce is destroyed properly. This way it will create a new instance when needed. elm.bind("$destroy", function () { |
Issue #49 looks like a dupe with yet another workaround. |
Thanks @Estyn, removing the instance when the scope is destroyed seems critical and in fact solved my similar problem. |
It appears that this fix is already in master - please comment if it is still an issue. |
@wesleycho will this be updated in a bower release soon? |
I believe it's in the latest version - let me know if not. |
@wesleycho thanks for the quick reply man! It doesn't appear to be in 0.0.5 (the latest as indicated by bower list). Thank you! |
My team member is noticing a problem with a tinymce window that is inside a Angular UI Bootstrap tab. Here is the code she is using:
We are using the very latest code as of July 24th. We have a normal table grid of data with an edit button as the first column on each row. When the edit button is clicked for the first time, the modal is opened, the tinymce window appears and the text is rendered inside the window and in the input box. On subsequent opens of the same or other rows in the grid tinymce window appears blank but the input box is always populated.
Some more information:
I added some console.log statements:
It appears that the tinyInstance.setContent is trying to set valid data. But 2nd and subsequent times around the tinymce window still does not show anything.
When changing the code to the following then the problem goes away:
The text was updated successfully, but these errors were encountered: