Communities can create
Pages to layout a wide variety of content. To help community admins layout their pages, we’ve created a ‘block’ system. Blocks can be linearly added to flow content across a page. The block types we currently support are:
Pubs block: Used to flow a set of pubs using
Pages block: Used to flow a set of pages using
- Banner block: Used to create a banner that can have a title and button.
- Text block: Generic rich-text editor to flow text.
- HTML block: Input field that allows custom HTML to be rendered. We sanitize all input HTML to avoid security issues (e.g. XSS attacks).
Each of these blocks has a set of options that can be unique to that block type. Our current approach to laying out these options is not very sophisticated and can get a bit clunky for block types that have a lot of options.
To help community admins understand which block they should be using for a given purpose, we’ve created a set of simple templates that may help guide decisions. The set of templates and the description of block types could be improved.
Our ultimate goal is to give community admins confidence in their understanding and capability when laying out a Page within their community. Clean layout of the blocks, their descriptions, and their options will go a long way to accomplishing this goal.