[ARCHIVED] HTML and JavaScript | page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2021
11:13 PM
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
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021
04:32 PM
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
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.