FontAwesome fonts not loading when in Iframe under Froala and parent page already loaded same fonts.
Issue #15341848 • Assigned to wptrentri
Steps to reproduce
Reproduce:
- Have a page that loads fontawesome.css and Froala (don’t initiate froala)
- Have that page use a link to open another page (with same fontawesome and froala links loaded before) in an iframe and initiate Froala
Result
Froala will end up with broken (empty) toolbar as FontAwesome icons won’t be loaded.
This is 99.9% reproducible, I have set up a step by step page to duplicate this problem at:
http://pijulius.com/julius/edge-iframe-fonts-not-loading/
Tested with Chrome, Firefox and even IE and they all work just fine, it’s only Edge affected.
Also if you turn on Developer Tools in Edge it will work just fine too.
Notes
I know it’s Froala related but it seems it’s more Edge related as for some reason it only happens in Edge and even there works if Developer Tools is on :) also if you initiate Froala without the {iframe:true} of course it will work so it may be that Froala creates another iframe within the iframe and that’s why.
You need to sign in to your Microsoft account to add a comment.
Sign in