Remove external CSS dependencies from Parsons iframe and use Moodle theme styles#1694
Remove external CSS dependencies from Parsons iframe and use Moodle theme styles#1694bpinger wants to merge 1 commit intomaths:masterfrom
Conversation
… logic to use moodle theme-based styles
|
Thanks @bpinger for pointing this out, and so helpfully suggesting a fix. We'll merge this into "dev" (rather than master) for testing and the next release once I've had a chance to review it. @jcopado could you have a look at this proposed change and check it's not problematic at your end? We already refer to the global One way or another, we will bring this in-house as you suggest. |
|
Hi @bpinger - thank you! I'm having trouble testing this, though. I'm getting CORS errors with the fonts. Hacking
|
Hi @EJMFarrow, thanks for the feedback! You’re absolutely right – we hadn’t considered that our configuration automatically handles CORS headers correctly. The issue with the wildcard header is a quick and dirty workaround, and I'm with you that this is not ideal. I’m going to revisit this and attempt to resolve the issue without additional header. I’ll update the pull request accordingly, reflecting your observation and thanking you again for bringing this to our attention. |
|
I was expecting that response; by default, Moodle does not and has no reason to add Realistically, we cannot force |


Problem
The Parsons iframe styling relied on externally loaded and outdated CSS dependencies. This introduced unnecessary CDN dependencies and could lead to inconsistencies with the active Moodle theme.
Solution
Testing
Tested with:
Verified: