Skip navigation

Compose content in the rich text editor

When you're adding content to a rich text element, you might want to add formatting or structure to your content. To do so, make use of the inline toolbar.

Table of contents

    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 monospace.

    An animation of adding formatting.

    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.

    A screenshot of the character count for a rich text.

    Add hyperlinks to your content by selecting a portion of the text in the rich text editor and clicking the Insert link  button.

    A screenshot of the button to insert a link.

    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 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:// 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.

    Adding images

    Make your content more engaging. Add images directly to the rich text by clicking  and then . The image will be inserted at the position of the cursor.

    A screenshot of the button to insert an image.

    When selecting the image, you can either choose an image from your existing assets or upload a new one.

    Adding tables

    To add a table, position your cursor in the text and click  and then .

    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.

    An animation of inserting a table.

    You can use any text formatting inside your tables and insert images into them. However, tables won't let you create nested tables or insert content items and components.

    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.

    Adding components

    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  and then to add a new component to the element. Choose a content type you want the component to be based on.

    A screenshot of the button to insert a component.

    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  and then  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.

    A screenshot of the button to insert an existing item.

    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  to open and edit the item.

    An animation of expanding and collapsing a content item in a rich text.

    Clear formatting

    Clear formatting by selecting a portion of the text in the rich text editor and clicking the button. All formatting for the currently selected text will be removed, including lists, tables, and links.

    An animation of clearning formatting.

    Components, linked items, and assets included in the selected area will be ignored and their formatting preserved.

    What's next?