Adding and editing tables in Rich Text / HTML content items
The Rich Text Editor includes a table builder, which makes it easy to create and manage tables in your guides. Tables are best used to organize and present data and information, rather than for laying out content. Try to avoid using tables as a way to create columns inside of a box. Instead, consider using the Bootstrap grid system or the CSS grid.
- To insert a table, place the cursor where you want the table to go and click on the Table () button.
- In the Table Properties window, use the options under the Table Properties tab to customize your table.
- Rows: enter the number of rows you want to add (you can also add more rows later).
- Columns: enter the number of columns you want to add (you can also add more columns later).
- Headers: indicate whether the first row and/or first column of the table are headers.
- Caption: enter an optional caption for your table. This will display above the table in a
<caption>element and can assist with making your table accessible.
- For more info on creating accessible tables, check out WebAIM.
- Summary: enter an optional summary for your table (this will be included in the
- Class: select one of the many available CSS classes to apply to your table. Each class makes it easy to apply built-in styles to your table without any extra CSS code.
- Optionally, you can adjust the options under the Legacy Properties tab to fine-tune your table's styles. However, fore best results, we strongly recommend you use the available CSS classes instead.
- Click the OK button to insert the table.
- Save the changes to your Rich Text/HTML content item.
Editing an existing table
- To edit an existing table, right-click on a table cell and select from the available options.
- Cell: these options allow you to insert, delete, merge, and split cells. You can also select Cell Properties, which allows you to customize things such as the height, alignment, and background color.
- Row: these options allow you to insert and delete rows.
- Column: these options allow you to insert and delete columns.
- Delete Table: this will completely delete the table and its contents.
- Table Properties: this will allow you to adjust the initial table properties, such as the headers, caption, and class.