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
What is the current behavior?
TinyMCE fails to initialize in Firefox with the following error: Uncaught (in promise) TypeError: t is undefined
On Chrome there's no such issue for the same page.
It is strange though, that the error doesn't show on the first clean load (in a private window) and the editor initializes correctly. But on second and consequent loads, it doesn't work and shows the error in console.
Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.
What is the expected behavior?
Which versions of TinyMCE/TinyMCE-Angular, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or TinyMCE-Angular?
tinymce-angular^8.0.1
Angular^19.1.2
Firefox 136.0.4 (64-bit)
Tested on Windows 10, Linux, MacOS
Hi @ahaller-billtrust! Yes, I actually finally found a "hack" to make it work, but I still don't know why exactly does it happen. What I did is to delay the initialization using *ngIf. In my case I set it to initialize after the api request has finished, i.e. *ngIf="!isLoadingData" for example. Let me know if you find the exact reason for the error and a proper solution!
@angelxz, it is an interesting issue. I tried to replicate the issue on github.io/tinymce-angular-test-page but no luck. Could you add more details about your initialization process? If possible could you provide a replication case?
Activity
ahaller-billtrust commentedon Apr 9, 2025
Hi @angelxz I found the same bug, where you able to fix the issue?
angelxz commentedon Apr 11, 2025
Hi @ahaller-billtrust! Yes, I actually finally found a "hack" to make it work, but I still don't know why exactly does it happen. What I did is to delay the initialization using
*ngIf. In my case I set it to initialize after the api request has finished, i.e.*ngIf="!isLoadingData"for example. Let me know if you find the exact reason for the error and a proper solution!tiny-ben-tran commentedon Mar 17, 2026
@angelxz, it is an interesting issue. I tried to replicate the issue on github.io/tinymce-angular-test-page but no luck. Could you add more details about your initialization process? If possible could you provide a replication case?