[ARCHIVED] HTML Comment out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2015
08:49 AM
Has anyone got the "comment" tags to work in a published Canvas Page? Every time I add a comment <!-- Comment here --> to the page and publish it, Canvas wipes my code out.
Solved! Go to Solution.
2 Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2015
09:41 AM
@chris_slupianek , the rule of thumb in the HTML Editor is that if you're using a tag that is not listed in the Canvas HTML Editor Whitelist, it will get stripped out. I know we've had specific questions in the past about the "comment" tag, which definitely doesn't stick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2016
03:37 AM
Update -
If you use
<div style="display: none;">
</div>
instead of <span...
then it appears to be persistent. Info found here: Re: Aceptable HTML Elements
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.