HTML and JavaScript | page

Jump to solution
jan_slapeta
Community Explorer

Hi, I am trying to embed JavaScript to a page using the HTML editor. But it fails every time. The editor seems to refuse to save it? Any advise would be appreciated.

Such as this one:

<script type="text/javascript" src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script><div class="altmetric-embed" data-badge-type="donut" data-altmetric-id="76414956"></div>

Wanted to add this Altmetric score directly to references discussed with students.

Thanks, Jan

0 Likes
1 Solution
kmeeusen
Community Champion

Hi @jan_slapeta 

As a security precaution, the Canvas RCE strips out executable code from the HTML editor. For a list of permitted HTML codes see the HTML Editor AllowList.

What are you trying to accomplish? Perhaps there are other solutions available.

Kelley

View solution in original post