diff options
Diffstat (limited to 'files/ar/web/api/document/designmode/index.html')
-rw-r--r-- | files/ar/web/api/document/designmode/index.html | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/files/ar/web/api/document/designmode/index.html b/files/ar/web/api/document/designmode/index.html deleted file mode 100644 index 2300a50dd1..0000000000 --- a/files/ar/web/api/document/designmode/index.html +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: Document.designMode -slug: Web/API/Document/designMode -translation_of: Web/API/Document/designMode ---- -<div>{{ ApiRef() }}</div> - -<div> </div> - -<h2 id="Summary" name="Summary">نبذه مختصره</h2> - -<p><code>document.designMode</code></p> - -<p>يتحكم بطبيعة عرض كامل المحتوى كـ قابل للتعديل. القيم التي يقبلها هي "<code style="font-style: normal; font-weight: 700;">off"</code> <sup><code>معطل</code></sup> و <code style="font-style: normal; font-weight: 700;">"on" مشغل </code> .بحسب تخصيصه. القيمة الافتراضية لهذه الخاصية معطله <code style="font-style: normal; font-weight: 700;">"off"</code>. فايرفوكس يتبع هذا النمط. الاصدارات الحديثة من كروم و إنترنت اكسبلورر القيمة الافتراضية فيها <code style="font-style: normal; font-weight: 700;">"inherit"</code>. بدأً من الاصدار 43 لمتصفح كروم، القيمة الافتراضية هي "<code style="font-style: normal; font-weight: 700;">off</code>" و <code style="font-style: normal; font-weight: 700;">"inherit"</code> لم تعد مدعومه اكثر. في إنترنت اكسبلورر 6 حتى 10، القيمة هي مستثمرة</p> - -<h2 id="الصيغة">الصيغة</h2> - -<pre class="brush: js">var mode = document.designMode; -document.designMode = "on"; -document.designMode = "off";</pre> - -<h2 id="Example" name="Example">مثال</h2> - -<p>جعل عنصر/عناصر <code>ifram </code> قابله للتعديل:</p> - -<pre>iframeNode.contentDocument.designMode = "on"; -</pre> - -<h2 id="التخصيص">التخصيص</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">الخاصية</th> - <th scope="col">الحالة</th> - <th scope="col">تعليق</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', '#making-entire-documents-editable:-the-designmode-idl-attribute', 'designMode')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Initial definition.</td> - </tr> - </tbody> -</table> - -<h2 id="دعم_المتصفحات" style="font-size: 2.14285714285714rem;">دعم المتصفحات</h2> - -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th style="line-height: 16px;">الدعم</th> - <th style="line-height: 16px;">كروم</th> - <th style="line-height: 16px;">ايدج</th> - <th style="line-height: 16px;">فايرفوكس</th> - <th style="line-height: 16px;">إنترنت اكسبلورر</th> - <th style="line-height: 16px;">اوبرا</th> - <th style="line-height: 16px;">سفاري</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th style="line-height: 16px;">Feature</th> - <th style="line-height: 16px;">Android</th> - <th style="line-height: 16px;">Android Webview</th> - <th style="line-height: 16px;">Edge</th> - <th style="line-height: 16px;">Firefox Mobile (Gecko)</th> - <th style="line-height: 16px;">IE Mobile</th> - <th style="line-height: 16px;">Opera Mobile</th> - <th style="line-height: 16px;">Safari Mobile</th> - <th style="line-height: 16px;">Chrome for Android</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatNo}}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="See_also" name="See_also">شاهد ايضاً</h2> - -<ul> - <li><a href="/en-US/docs/Rich-Text_Editing_in_Mozilla">Rich-Text Editing in Mozilla</a></li> - <li>{{domxref("HTMLElement.contentEditable")}}</li> - <li><a href="https://msdn.microsoft.com/en-us/library/ms533720(v=vs.85).aspx">designMode property</a> on MSDN</li> -</ul> |