# السمات المنسقة

باستخدام السمات الغنية يمكنك تحسين تجربة المستجيب وإضافة ميزات مخصصة إلى شفرة 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="/files/eacd9983d3d518de74e5b4e831e7eddcb87ca4e7" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
السمات الغنية مدعومة حاليًا فقط داخل محتوى نص السؤال.
{% endhint %}


---

# 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.ngsurvey.com/ar/form-management/form-designer/rich-text-editor/alsmat-almnsqh.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.
