> For the complete documentation index, see [llms.txt](https://docs.eximee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/podpiecie-i-edycja-tresci-z-poziomu-wniosku.md).

# Attaching and editing Content from the request level

## Attaching Content to the Formatted Content component <a href="#podpiecieiedycjatrescizpoziomuwniosku-podpiecietrescidokomponentutrescformatowana" id="podpiecieiedycjatrescizpoziomuwniosku-podpiecietrescidokomponentutrescformatowana"></a>

After adding a component from the base components panel **Formatted content** it needs to be populated with a content artifact. With the component selected, choose in the component properties panel in the field **CONTENT** option **Edit content**. This will open the panel and display information about no artifact being selected. To choose an artifact, use the selection field **Select artifact** located in the panel header. Selecting an artifact automatically selects the latest version. The version can be changed using the selection field **Version**.

![Figure 1. Rich text editing panel - artifact selection](/files/3cf09331fe6dfbb46efd066bbee3ff944de0911d)

After selecting an artifact, the editor displays the formatted content code and its preview. Editing the content is possible after pressing the edit button (![](/files/22e7a76d0cd3de80c69b8dfe5f064352bc340d40)).

![Figure 2. Rich text editing panel - preview mode from the application](/files/c0fcde304ff3654be4cf1ab40190c2dbf687e67c)

### Edit mode <a href="#podpiecieiedycjatrescizpoziomuwniosku-trybedycji" id="podpiecieiedycjatrescizpoziomuwniosku-trybedycji"></a>

Editing formatted content can take place in the content editor ([Content Editor](/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/edytor-tresci.md)) or directly where it was added (in the application or in a composite component). In the second case, this is done using the tab **Content** in the component properties panel **Formatted content**. In edit mode, the edit button is replaced by the buttons **Discard draft** and **Save**. The artifact name and version selection fields are locked.

Changes should be made in the code editor available directly under the header. The changes made are stored in a working copy (draft). These changes can be discarded at any time using the button **Discard draft**. To save the changes, click the button **Save**, and then enter a version description in the dialog box that appears. Confirming the dialog will create a minor version of the artifact.

![Figure 3. Rich text editing panel - edit mode from the application](/files/c745006e0d9e419bc42e9e21413cd128eb956cc2)

{% hint style="info" %}
If the editing panel for formatted content whose working copy (draft) we already have is opened, an appropriate message will appear in the header. In such a situation, you can choose whether to continue editing the existing draft or delete the previous draft and create a new one.
{% endhint %}

Information about creating an artifact **Content** described in [Creating and binding the Content artifact](/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/tworzenie-i-podpiecie-artefaktu-tresc.md).


---

# 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.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/podpiecie-i-edycja-tresci-z-poziomu-wniosku.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.
