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, select the "Insert Snippet" icon ( or ).
- Choose a snippet to add to the page. You can use the top dropdown to view a specific category, or filter snippets by name. Snippets are previewed on the right-hand side, but not all snippet styling renders, as some of that depends on which page the snippet is placed in.
- Click Insert to place the snippet on the page.
- 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 your changes 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 hit Backspace or Delete.