Compose content in the rich text editor
When you're adding content to a rich text element, you might want to format your text and add structure to your content. Use the options available in the inline toolbar.
Table of contents
Meet the toolbar
You can easily structure your content using headings, paragraphs, ordered or unordered nested lists, tables, links, images, components, and other items and add formatting such as bold, italics, subscript, superscript, and
Use character counter
If you need to write content of a specific length, there’s a character count located at the bottom of the editor window to help you.
The counter can also show the number of words and whether you're approaching a specified limit. To enable word count, adjust the limitations of the rich text element.
Add hyperlinks to your content by selecting a portion of the text in the rich text editor and clicking the Insert link button.
You can choose to create the new link as a Web URL link, Content item link, Email link, or Asset link:
- Web URL link – represents hyperlinks to websites (such as
https://yourwebsite.com). You can insert any type of URLOpens in a new window, including absolute and relative addresses, and anchors. You can also specify a link title and choose whether the link should open in a new browser window.
- Content item link – points to any content item within your project, limited to the currently selected language variant. You can publish content item links along with the content item.
- Email link – represents email hyperlinks (such as
mailto://email@example.com). Clicking on a mailto linkOpens in a new window opens a new blank email in the visitor's default email client. You can define the recipient and subject of the email.
- Asset link – points to any asset within your project and lets visitors view and download the file.
Make your content more engaging. Add images directly to the rich text by clicking Insert... and then Insert image. The image will be inserted at the position of the cursor.
When selecting the image, you can either choose an image from your existing assets or upload a new one.
To add a table, position your cursor in the text and click Insert... and then Insert table.
By default, the table will be 3 x 3 – consisting of 3 rows and 3 columns. You can change the table's dimensions by right-clicking the table and choosing one of the options shown.
If your tabular data is larger and more complex, model it in Kontent using components in rich text. This approach allows you to reuse your data and display it in your app however you want.
Depending on whether you'd like to reuse your content later or not, you can either choose a component (for one-time use) or a content item (reusable). Both of them can be added directly to a rich text element via the toolbar.
Click Insert... and then Insert new component to add a new component to the element. Choose a content type you want the component to be based on.
The component will be added to the text at the position of the cursor. To change the position of the inserted component within the rich text element, drag & drop the component as needed.
You can now start filling in the content. You can set limitations on the content type of the components that can be included in the rich text.
Save space by collapsing components
You can quickly collapse all the components in the rich text by clicking More actions and then choosing Collapse components.
Adding content items
Click Insert... and then Insert existing item to embed a content item into your text. The content item will be inserted into the text at the position of the cursor. To change the position of the content item within the rich text element, drag & drop the item as needed.
Identically as with linked items elements, a tile representing the included content item will appear showing its name, content type, workflow status, and readiness. You can set limitations on the content type of the content items that can be included in the rich text. After adding linked items, you can publish all the linked items along with the original content item to save you the time of publishing each item separately.
You can expand the item you added to see its content. Click Edit to open and edit the item.
Clear formatting by selecting a portion of the text in the rich text editor and clicking the Clear formatting button. All formatting for the currently selected text will be removed, including lists, tables, and links.
Components, linked items, and assets included in the selected area will be ignored and their formatting preserved.