Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tinymce failing to initialize in firefox with Material Tabs when used in second (any except first) tab #394

Closed
hviradiya-anaqua opened this issue Jul 17, 2024 · 2 comments

Comments

@hviradiya-anaqua
Copy link

What is the current behavior?
tinymce editor is not initializing in firefox browser when used with material tab and used in other than first tab. In console there is error.
Error thrown at below t.open() in tinymce.min.js as getDoc() is giving null.
image

Below is the error.

Uncaught (in promise) TypeError: t is undefined
    dO tinymce.min.js:4
    dO tinymce.min.js:4
    dO tinymce.min.js:4
    o tinymce.min.js:4
    Angular 16
    loadScript tinymce.min.js:4
    ZoneAwarePromise Angular
    loadScript tinymce.min.js:4
    r tinymce.min.js:4
    V tinymce.min.js:4
    r tinymce.min.js:4

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.
Download below zip. Do npm i & do ng serve and open http://localhost:4200/ in firefox

tinymce-angular-mat-tab-firefox-issue.zip

What is the expected behavior?
It should create/initialize tinymce editor without error

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": "^7.2.1",
"@tinymce/tinymce-angular": "^8.0.1",
"@angular/core": "^16.2.12",

Browser Affected: Firefox 127.0 (64-bit)

Have checked in below previous versions as well, same issue there.

"tinymce": "^6.8.3",
"@tinymce/tinymce-angular": "^7.0.0",

OS Used: Windows 10

@tiny-stale-bot
Copy link

This issue is stale because it has been open 30 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 7 days.

@tiny-stale-bot tiny-stale-bot added status:stale An issue that has been left with no response for an extended period of time. status: escalated labels Aug 17, 2024
@tiny-stale-bot
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@tiny-stale-bot tiny-stale-bot removed status: escalated status:stale An issue that has been left with no response for an extended period of time. labels Aug 24, 2024
@tiny-stale-bot tiny-stale-bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants