Skip to content

TinyMCE fails to initialize in Firefox #412

Open

Description

@angelxz

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.
Image

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

Activity

  1. ahaller-billtrust commented on Apr 9, 2025

    @ahaller-billtrust

    Hi @angelxz I found the same bug, where you able to fix the issue?

  2. angelxz commented on Apr 11, 2025

    @angelxz
    Author

    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!

  3. tiny-ben-tran commented on Mar 17, 2026

    @tiny-ben-tran
    Contributor

    @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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: more infoFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions