Running an html script on a Canvas page

Jump to solution
Mihai_B
Community Member

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?

Labels (1)
0 Likes
1 Solution
Chris_Hofer
Community Coach
Community Coach

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:

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.

View solution in original post