Intro to the HTML Content Block

The HTML Content block is one of the most powerful blocks provided by Rock. As someone who creates and maintains websites, you're going to love it. Let's walk through each of its features in detail.

Basic Usage

To edit an HTML block, click the ti ti-border-all icon in the Admin Toolbar at the bottom of the page where the block has been placed. Next, move your cursor over the ti ti-circle-arrow-right (Block Fly-out) toolbar and select the ti ti-pencil (Edit) button. This will bring up the edit modal (shown below). This modal allows you to edit the contents of the HTML.

Near the top-right of the block, you can also set a date range for which the content is valid. This is great for adding date-sensitive messages. Just keep in mind that the dates are based on midnight. So, if you want to see content from January 1 to January 7, you would set the first date to January 1, and the second date to January 8. In other words, the content will be displayed until, but not on, the second date.