Running an html script on a Canvas page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2023
09:29 AM
I'm trying to run an html script for a countdown on a course page, but every time I save, the script is gone; I'm assuming Canvas doesn't want scripts running and it's just wiping out anything between script and \script; is that right? If it isn't right, what am I doing wrong?
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2023
09:34 AM
Hi @Mihai_B ...
Canvas has an "allowlist" of what HTML is allowed in the RCE (Rich Content Editor). You can find out more about this by visiting these two links:
- How do I use the HTML view in the Rich Content Edi... - Instructure Community (canvaslms.com)
- Canvas HTML Editor Allowlist - Instructure Community (canvaslms.com)
Code is stripped out of the RCE if it is not allowed.
Sorry I don't have better news for you, but I hope this helps to answer your question.