> For the complete documentation index, see [llms.txt](https://docs.labii.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.labii.com/widgets/column-widgets/form/text-inputs/richtext.md).

# RichText

## **Specs**

| Label                     | Value                         |
| ------------------------- | ----------------------------- |
| **Version**               | 0.2.0 (updated on 2025-12-09) |
| **Developer**             | Labii Inc.                    |
| **Type**                  | Column                        |
| **Support Configuration** | Yes                           |
| **Support Readonly view** | Yes                           |
| **Support Edit view**     | Yes                           |
| **Support Form view**     | Yes                           |
| **Support Default value** | Yes                           |
| **Support Import**        | Yes                           |
| **Allow multiple**        | Yes                           |

## Overview

The RichText widget enables the input and display of rich text content using a built-in rich text editor. This widget empowers users to create and edit text with various formatting options, such as bold, italic, underline, font styles, sizes, and more. It seamlessly combines text and formatting within a single component, allowing for the creation of visually appealing and dynamic content.

## Use case

1. Use this widget to collect rich text like email body.

## Configuration

Users can configure whether the text is collapsed by default. The default setting is **true**. If collapsing is supported, users can expand the text; otherwise, the widget displays the full content.

* Should Collapse - Whether the rich text content should be collapsed by default.

## Views

See the interface of the widget in the following views.

### **Readonly view**

Readonly view display the values of the column.

<figure><img src="/files/3hcPeuNdf4w8HoBtO0OH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9rjqwAvzb2EPdee8Tj3U" alt=""><figcaption></figcaption></figure>

### **Edit view**

The Edit view is the interface that allows you to modify the value.

<figure><img src="/files/Nc32GmSyKUcw1dKhEVgc" alt=""><figcaption></figcaption></figure>

### **Form view**

The Form view is the field integrated into the add form for collecting values when creating a new record.

The Form view is same as the Edit view.

## Data

Each widget in Labii stores data in a unique manner; refer below to understand how data from this widget is stored.

### Data format

HTML code.

### **Default value**

The Default Value field within the column allows you to specify the default value when a record is created.

Default value can be any HTML code.

### **Import value**

The Import Value is the value you need to include in your Excel table for it to be imported into Labii.

Import value can be any HTML code.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.labii.com/widgets/column-widgets/form/text-inputs/richtext.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
