Getting error TypeError: fontFamily is undefined in Firefox theme.js:7993:11
See original GitHub issueDo 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.
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:
- Created 5 years ago
- Reactions:2
- Comments:8 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Right I managed to reproduce this now will look into th this to get it solved.
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.