TinyMCE fails to initialize in Firefox

Open
#412 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, typescript
Domain
frontend

Research direction

Start with the linked CodeSandbox and reproduce the failure in Firefox 136.0.4, comparing the first clean load with subsequent loads across the reported Angular and TinyMCE versions. Done means the editor initializes reliably on repeated loads in Firefox without the reported promise TypeError, while preserving the working Chrome behavior.

Written by the indexing model from the issue text.

Description

needs: more info

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

Dominant language
TypeScript
Stars
346
Forks
94
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tinymce/tinymce-angular

All issues in tinymce/tinymce-angular

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.