Embedding accordion in Canvas LMS

I'm trying to embed an accordion on a page in the Canvas LMS. It basically works, but Canvas strips out the <script> tag after the page is saved, so when the accordion panels expand the content lower on the page does not shift down like it should.  

Any way around this?   (First itme H5P user)

timothylim23's picture

Just what I needed!  Thank you for pointing me to this tutorial.