Super Embed
Super Embed is a component that allows authors to insert blocks of HTML and embed script files onto the page.
*Note: Due to the risky nature of the Super Embed component, it is only available for Webmasters/Admins to view/insert/remove.
The Super Embed component allows you to directly embed HTML and embed script files from the DAM. The HTML field is required and will automatically remove unsafe tags, such as the script tag. The Script Files multifield allows you to embed script files along with the HTML. For each script file, you can specify Name and Value attributes for the embedded script tag.
When updating scripts (uploading different version with the same name) increment the Cache Buster to force browsers to disregard their cache and download the new version.
Examples
Example #1
The Super Embed below has custom HTML inserted to insert content directly on to the page. The example below shows an H3 heading in bold, green text with 15px of left padding, along with standard paragraph text in bold, red text that has 30px of left padding.
Example #2
The Experience Fragment below includes a Super Embed that has HTML inserted and a Javascript script included to work with our Image Card v2 to create dynamic navigation elements that can automatically gray-out the currently-loaded page. Depending on the page you have loaded, the active and disabled items below will switch.