TinyMCE fails to initialize in Firefox
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 @angelxz I found the same bug, where you able to fix the issue?
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!