You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
I can't initialise the editor with the content_css option set to a value which is obtained from an XHR request because the link function of the directive is called before the callback of the XHR request. As a consequence of this, the options are not passed to the directive.
If I broadcast a $tinymce:refresh event after initialising the options, the editor gets re-initialised with the new options, but the old editor is not removed.
I a have little experience in angular directives, is it possible to watch changes in the options and reflect them in the editor? It would be a great feature of this directive.
The text was updated successfully, but these errors were encountered:
I am going to close this ticket in favor of #158 for now. I will open a new bug about the refresh event not removing the old editor, as I have seen that too.
That workaround doesn't works when you need to re-initialise the editor more than one time. After the options are defined you can no longer re-initialise the editor. In my example, the template can be changed more than once.
I can't initialise the editor with the
content_css
option set to a value which is obtained from an XHR request because the link function of the directive is called before the callback of the XHR request. As a consequence of this, the options are not passed to the directive.If I broadcast a
$tinymce:refresh
event after initialising the options, the editor gets re-initialised with the new options, but the old editor is not removed.I a have little experience in angular directives, is it possible to watch changes in the options and reflect them in the editor? It would be a great feature of this directive.
The text was updated successfully, but these errors were encountered: