> 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/ar/form-management/form-designer/rich-text-editor/smat-ghnyh.md).

# سمات غنية

باستخدام السمات الغنية يمكنك تحسين تجربة المستجيب وإضافة ميزات مخصصة إلى شفرة HTML الحالية لديك

## 🔠 سمات نافذة الحوار المنبثقة (Modal popup)

باستخدام سمات النافذة المنبثقة يمكنك تكوين أي عنصر HTML ليفتح نافذة منبثقة فوق الاستبيان. يمكن أيضًا تهيئة هذه النافذة لتحميل إطار iframe.

لإعداد سمات النافذة المنبثقة، انقر على تبويب المصدر في محرر النص الغني وأضف السمات التالية إلى وسم HTML الذي سيُستخدم لفتح النافذة المنبثقة

* **`data-dialog-`link** تسمح لك بتحديد عنوان URL للموقع الهدف الذي سيفتح داخل iframe النافذة المنبثقة.
* **`data-dialog-title`** تتيح لك تعيين عنوان للنافذة المنبثقة. اختياري.
* **`data-dialog-width`** تتيح لك تحديد عرض النافذة. اختياري.
* **`data-dialog-button`** تسمح لك بتغيير نص زر نافذة المنبثقة. اختياري.

فيما يلي مثال لرابط سيُستخدم لفتح نافذة منبثقة تعرض محتوى الموقع المحدد بواسطة قيمة السمة data-dialog-link.

<figure><img src="https://848173432-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" %}
السمات الغنية مدعومة حاليًا فقط داخل محتوى نص السؤال.
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/ar/form-management/form-designer/rich-text-editor/smat-ghnyh.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
