The Text block (previously called the HTML block) can be added to the right-hand column in the sidebar of your course page.
It provides the standard text Editor for formatting text, adding images or creating links, and switching to HTML view, which allows any valid HTML code to be used. Audio, images, and other files can add unique elements to a course or site page.
Examples of the Text block
Add a Text block
- Log into the CLE (courses.ucsf.edu), and go to the course that you would like to add the text block.
- Click the Edit mode button next to your name in the upper right corner.
-
Open the block drawer on the upper right corner under the Edit mode button, and click Add a block in the top right of the course page.
-
Select the Text block from the drop-down menu. The Text block will appear below the other blocks in the right column, named (new text block).
-
At the right of the newly created Text block, click the Edit icon (gear icon) and select Configure (new text block) block. The Configuring a (new text block) block page will open.
-
In the text block title box, enter a Title for the block.
-
In the Content box, use Text Editor to add formatted text, images, links, or other content.
Note: We do not recommend embedding video in a block as it is unlikely to fit within the width of the block. Images will always resize in the text editor to fit the available space. -
(Optional) In the page content editor, click the show more buttons icon.
-
(optional)To enter the HTML code, click the HMTL icon in the editing toolbar. The editor window will switch to a code view where you can add valid HTML codes. You can click the HTML icon again to view a preview in the Content box.
-
Click Save changes to return to your course page and view it. The block will appear on the right-hand side of your CLE course.
Editing a text block
- Click on the gear icon on the right-hand side of the text block.
-
Select Configure (new text block) block.
-
Use the text editor to add formatted text, images, links, or other content of the block.
- Click Save changes to return to your course page.
Move or delete a block
-
To move an item: Hover the mouse pointer over the four arrow icon and an alt text popup appears with the text 'Move item name'. Press and hold the mouse button, as you drag and drop the item into a new location.
-
To delete an item: Click on the gear icon (cog icon) next to an item (block, resource, or activity) and select Delete block from the action menu. A prompt will ask you to confirm that the item will be deleted.
Blocks are very difficult to recover. If you are not certain that you wish to delete a block permanently, use the Hide block name option in the block settings menu (see below).
Hide / Show a Block
You can hide a block from the student view (it will still be visible to editors) without deleting it.
- To hide an item: Click the Edit settings icon for the block that is to be hidden, and click on the Eye icon with the label Hide block name.
- To show an item: Click the Edit settings icon for the hidden block that is to be shown, and click on the Eye crossed-out icon with the label Show block name.