> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/de/form-management/form-designer/rich-text-editor/erweiterte-attribute.md).

# Erweiterte Attribute

Mit Rich-Attributen können Sie das Erlebnis für Befragte weiter verbessern und Ihrer vorhandenen HTML-Codebasis benutzerdefinierte Funktionen hinzufügen

## 🔠 Modal-Popup-Dialogfenster-Attribute

Mit den Modal-Popup-Attributen können Sie jedes Ihrer HTML-Elemente so konfigurieren, dass ein modales Popup-Fenster über Ihrer Umfrage geöffnet wird. Dieses Modal-Popup-Fenster kann auch so konfiguriert werden, dass es ein IFrame lädt.

Um die Modal-Popup-Attribute einzurichten, klicken Sie auf die Quell-Registerkarte Ihres Rich-Text-Editors und fügen Sie die folgenden Attribute dem HTML-Tag hinzu, das zum Öffnen des Modal-Fensters verwendet wird

* **`data-dialog-`link** ermöglicht Ihnen, die Ziel-Website-URL festzulegen, die in Ihrem Modal-Popup-IFrame geöffnet wird.
* **`data-dialog-title`** ermöglicht Ihnen, einen Titel für das Popup festzulegen. Optional.
* **`data-dialog-width`** ermöglicht Ihnen, die Breite des Fensters festzulegen. Optional.
* **`data-dialog-button`** ermöglicht Ihnen, den Text der Schaltfläche des Popup-Fensters zu ändern. Optional.

Hier ein Beispiel für einen Link, der verwendet wird, um ein Popup-Fenster zu öffnen, das den Inhalt der durch den Wert des data-dialog-link-Attributs angegebenen Website anzeigt.

<figure><img src="https://133942686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FnojW9AVt89wWxOs37R8l%2Fimage.png?alt=media&amp;token=cedf8458-e3b7-44b5-b239-17c6222f3fbc" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Rich-Attribute werden derzeit nur innerhalb des Fragen-Textinhalts unterstützt.
{% endhint %}


---

# 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.ngsurvey.com/de/form-management/form-designer/rich-text-editor/erweiterte-attribute.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.
