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.

Icons in the 'stlye_formats' fail to load without any errors/logs.

See original GitHub issue

What is the current behavior? Describe the bug

Using a CDN path e.g. CloudFront as the baseURL will not load any Icons under the style_formats. The same icons do work on the toolbar, but not inside the style_formats component.

For example:

Style Formats Icons do not load with -> tinymce.baseURL = ‘https://subdomain.cloudfront.net/assets/tinymce

Style Formats Icons DO load with -> tinymce.baseURL = ‘https://www.myserver.net/assets/tinymce

Inspecting the Network tab will show all requests as successful & obviously the files rendered are exactly the same.


Please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tiny.cloud or similar.

https://fiddle.tiny.cloud/O7haab/5

I have provided both the CloudFront URL the actual server URL that CloudFront loads assets from.

What is the expected behavior?

If there are any errors in loading the Icons in the Style Formats component, there must be error logs.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?

Version >= 5.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
leemhensoncommented, Mar 23, 2021

Please, I have nothing to do with this issue. 😂 I suggest you thank @lnewson instead!

1reaction
karanvalechacommented, Mar 23, 2021

@lnewson thank you so much for looking into this.

I dug into the theme.js cache thing & it was loading theme.js from V5.2.

My understanding was that if it must be the scripts failing somewhere. Didn’t notice that it’s theme.js managing the placement of icons & it’s not necessarily supposed to be throwing errors.

Thank you for the help, I’ll close this issue 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I seeing a 404 (Not Found) error failed to load ...
After creating a simple HTML template for testing purpose, with no favicon.ico, I receive an error in the console "Failed to load resource:...
Read more >
Icons are changed unexpectedly in Windows
Fixes an issue in which icons randomly change to different icons in Windows XP, Windows Vista, and Windows 7.
Read more >
Common Flutter errors
Introduction. This page explains several frequently-encountered Flutter framework errors and gives suggestions on how to resolve them. This is a living ...
Read more >
Envato Elements Template Kits - Troubleshooting Common ...
This guide provides general help for common issues you may encounter when using the Template Kit Import or Envato Elements plugins.
Read more >
CSS/JS Issues | Troubleshooting | LSCache for WordPress
Troubleshooting JavaScript, CSS, and other page optimization issues in the LiteSpeed Cache for WordPress Plugin.
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