AnsweredAssumed Answered

Adding Custom JS and CSS to a single Canvas Course

Question asked by Courtney O'Sullivan on Aug 16, 2018
Latest reply on Aug 17, 2018 by Stuart Ryan

Is it possible to add specific JS and CSS files to a single course?


I have had some request to have some specific functions that will need to be created (ie: Progress Bars, Interactive Elements) and I have tried to embed the script but get a few issues especially with the sanitising that the HTML form seems to have.  


Would the easiest way to get around this to be including a large JS file at the theme and then have that include required JS? 


Alternatively is there a way to alter how the sanitation works for HTML content?  I know this is not ideal but it looking at it from all directions.