# 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="https://3607108856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHVg57XIRcjV-Vbubtn%2Fuploads%2F7thgtjvf4rqCW8bdSweX%2Fwidget-column-richtext-readonly-collapsed.webp?alt=media&#x26;token=b386f657-bf94-431b-af82-97450280c2ba" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3607108856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHVg57XIRcjV-Vbubtn%2Fuploads%2FK79sEU6qhUGiGujHMt1b%2Fwidget-column-richtext-readonly-expanded.webp?alt=media&#x26;token=210267f0-4a24-42a8-b9e7-476c656d1c44" alt=""><figcaption></figcaption></figure>

### **Edit view**

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

<figure><img src="https://3607108856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LHVg57XIRcjV-Vbubtn%2Fuploads%2FliNzDAixQwFnofc0Saip%2Fwidget-column-richtext-edit.webp?alt=media&#x26;token=0b36ee90-8d2a-410c-9908-28abb1165049" 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
