Snippets
Snippets are a type of reusable content that insert predefined content into a page while editing. The snippet content is then edited in the WYSIWYG editor without affecting the original snippet file.
Snippets are often used for pieces of content with specific formatting, such as tables, buttons, and displaying quotes or images. Using snippets for design elements ensures consistent styling across pages and is specific to your website design. For information about your specific snippets, refer to your developer notes or contact your school's web content administrator.
Snippet creation and management is accessible to level 9 and 10 users only, but any level user can place a snippet on a page.
Using Snippets on PagesLink to this section
To insert a snippet on a page you're editing:
- While in an editable region, click Insert Snippet .
- In the Choose Snippet box, click a snippet name to add to the page.
- You can filter snippets by tag, name, or type.
- See a preview of the snippet content or the thumbnail image, if available.
- Click Insert.
- Fill out the snippet, as desired, with content.
- Oftentimes a snippet appears one way while editing and another in the page preview. A common type of snippet is a table transformation, where the snippet appears in the editable region as a table that you fill out. Then, when you save and preview, the information you entered in the table is placed in more complex styling.
- The snippets on your site are unique to your page design. For specific questions about what content should go in a snippet, contact a web administrator at your institution.
- Save the page and exit the editable region to see how the snippet displays.
Removing a snippet from a page depends on the snippet content. If it's a table, right-click the table and select "Delete Table." Otherwise, click and drag your cursor to highlight the unwanted content, and then press Backspace or Delete.