> For the complete documentation index, see [llms.txt](https://docs.qore.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qore.dev/component/text/rich-text.md).

# Rich Text

### Cara menambahkan *rich text component*&#x20;

Berikut langkah-langkah untuk menambahkan *rich* *text component*

* Buka Qore App Editor&#x20;
* Pada tab library, di section text pilih *rich text component*. Terdapat 2 cara untuk menambahkan *component* ke dalam emulator&#x20;
  * Jika ingin menambahkan *component* langsung ke suatu page, kamu dapat *double-click card* tersebut
  * Jika ingin menambahkan *component* ke dalam salah satu kontainer di page tersebut, kamu dapat *drag and drop* ke dalam kontainer yang diinginkan<br>

    <figure><img src="/files/0UuV1dRIZOwGMvFpV5jV" alt=""><figcaption></figcaption></figure>

    &#x20;Jika berhasil maka description *text component* akan muncul di *emulator editor screen* seperti berikut&#x20;

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

### Properties *rich text component*

Rich text component memiliki 3 properties yang dapat diatur yakni&#x20;

* **Text** : *properties* ini menentukan text yang akan muncul di aplikasi
* **Alignment  :***properties* ini mengatur perataan text di aplikasi apakah rata kiri, rata tengah, rata kanan
* **Limit text :**  *properties* ini mengatur apakah text tersebut dapat ditampilkan sebagian atau langsung ditampilkan secara keseluruhan. \
  \
  Jika setting limit text diaktifkan maka text akan ditampilkan sebagian dan terdapat button untuk mengakses keseluruhan text <br>

  <figure><img src="/files/Z3wwFrJTrva1eXj0KvQP" alt=""><figcaption><p>Component Rich Text dengan setting limit text yang diaktifkan</p></figcaption></figure>


---

# 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.qore.dev/component/text/rich-text.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.
