I'm hoping to use the "<!---" and "--->" tags to hide text in a webpage template so that it can be reused for multiple purposes. When editing a page in Canvas using the HTML code view, the code after the "<!---" tag is grayed out as expected and when viewing the saved page the relevant text is hidden.
However it seems this hidden text is actually deleted, as when the page is re-opened for editing, all the relevant HTML code between the "<!---"/"--->" tags is simply not there.
I know I can store multiple pages as templates, but I'd prefer to have the flexibility of working with fewer templates that have hidden code snippets to reactivate as needed.
Is this a glitch or is there some specific reason for the "<!---" tag working this way?
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.