question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error TypeError: fontFamily is undefined in Firefox theme.js:7993:11

See original GitHub issue

Do you want to request a feature or report a bug? Report a bug

What is the current behavior? I’m getting error TypeError: fontFamily is undefined in theme.js:7993:11 file. It happens only in Firefox, no error in Chrome. image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tinymce.com or similar. It happens on init of tinymce component. My init config is following:

tinymce.init({
            selector: 'textarea.mce.line-item-template',
            plugins: 'advlist autolink anchor code textcolor colorpicker contextmenu directionality hr image importcss template',
            toolbar: 'anchor code forecolor backcolor ltr rtl image template',            
            menubar: 'insert tools view format',
            contextmenu: 'link image inserttable | cell row column deletetable',
            contextmenu_never_use_native: false,
            forced_root_block: false,
            protect: [
                /\<\/?(td|tr)\>/g, 
                /\<\/?(td|tr) class=\"[\w\s-]+\"\>/g,
            ],
            verify_html: false
 });

What is the expected behavior? No errors in firefox.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE? Firefox Quantum 59.0.2 (64-bit) running on Windows, TinyMCE Version 4.7.11

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
spockecommented, May 4, 2018

Right I managed to reproduce this now will look into th this to get it solved.

0reactions
trevorjaycommented, May 27, 2020

Further testing shows the latest releases work with their recommended versions of Angular. That is: 5.0.8 and above is working with Angular 5 and 4.9.10 is working with Angular 4 (via @tinymce/tinymce-angular-legacy). I am closing this issue. If anyone can still reproduce this, please let us know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Javascript Application error: TypeError: text is undefined
Every time I opened Firefox I get this JavaScript Application Error: TypeError: text is undefined. I have so far, disabled my add ons...
Read more >
In Firefox on every site every word is now displayed as ...
This happened this morning. Every word on every site is now displayed as 'undefined' or multiple instances of 'undefined' one after another.
Read more >
Firefox show weird and unknown and weird font?
[v56+] Type about:preferences#general<enter> in the address bar. Under fonts and colors, press the Advanced button. Scroll to the bottom, turn ...
Read more >
I can't open FF and get message: Error: a is undefined | Firefox ...
Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the add-ons is causing the problem (switch to the...
Read more >
Change the fonts and colors websites use | Firefox Help
Some websites have custom fonts; to disable them: ... Only with High Contrast themes: This setting will make Firefox use the colors specified...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found