diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-11 18:20:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 18:20:22 +0100 |
commit | 999e51572c093be901d6c8f942feb76038ae940c (patch) | |
tree | 0b2242d6df50748abf3f11c717211e8bbcf3d45e /files/de/web/html/global_attributes/contenteditable/index.html | |
parent | 747e709ad97c5782af29688f52c8105c08d9a323 (diff) | |
parent | 12b585b8e60a2877ff64dc6dc5ab058c43652f47 (diff) | |
download | translated-content-999e51572c093be901d6c8f942feb76038ae940c.tar.gz translated-content-999e51572c093be901d6c8f942feb76038ae940c.tar.bz2 translated-content-999e51572c093be901d6c8f942feb76038ae940c.zip |
Merge pull request #55 from fiji-flo/unslugging-de
Unslugging de
Diffstat (limited to 'files/de/web/html/global_attributes/contenteditable/index.html')
-rw-r--r-- | files/de/web/html/global_attributes/contenteditable/index.html | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/files/de/web/html/global_attributes/contenteditable/index.html b/files/de/web/html/global_attributes/contenteditable/index.html new file mode 100644 index 0000000000..7f61ceab45 --- /dev/null +++ b/files/de/web/html/global_attributes/contenteditable/index.html @@ -0,0 +1,115 @@ +--- +title: contenteditable +slug: Web/HTML/Global_attributes/contenteditable +tags: + - Globale Attribute + - HTML + - Referenz + - Textbearbeitung + - Texteingabe + - contenteditable +translation_of: Web/HTML/Global_attributes/contenteditable +original_slug: Web/HTML/Globale_Attribute/contenteditable +--- +<div>{{HTMLSidebar("Global_attributes")}}</div> + +<p>Das <a href="/de/docs/Web/HTML/Globale_Attribute">globale Attribut</a> <code><strong>contenteditable</strong></code> ist ein Aufzählungsattribut, das angibt, ob das Element für den Benutzer bearbeitbar sein soll. Das Attribut muss eines der folgenden Werte annehmen:</p> + +<ul> + <li><code>true</code> oder eine <em>leere Zeichenkette</em> geben an, dass das Element editierbar sein soll;</li> + <li><code>false</code> gibt an, dass das Element nicht editierbar sein darf..</li> +</ul> + +<p>Wenn das Attribut nicht gesetzt ist, wird der Standardwert vom Elternelement <em>geerbt</em>.</p> + +<p>Das Attribut ist ein <em>Aufzählungs-</em> und kein <em>Boolean</em>-Attribut. Das bedeutet, dass eines der Werte <code>true</code>, <code>false</code> oder die leere Zeichenkette erforderlich sind und eine abgekürzte Schreibweise wie <code><label contenteditable>Example Label</label></code> nicht erlaubt ist. Die richtige Verwendung ist <code><label contenteditable="true">Example Label</label></code>.</p> + +<p>Die Farbe der {{Glossary("caret", "Texteinfügemarke")}} kann mit der CSS-Eigenschaft {{cssxref("caret-color")}} gesetzt werden.</p> + +<h2 id="Spezifikation">Spezifikation</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Spezifikation</th> + <th scope="col">Status</th> + <th scope="col">Kommentar</th> + </tr> + <tr> + <td>{{SpecName('HTML WHATWG', "editing.html#attr-contenteditable", "contenteditable")}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td>Keine Änderung seit letztem Snapshot, {{SpecName('HTML5.1')}}</td> + </tr> + <tr> + <td>{{SpecName('HTML5.1', "editing.html#attr-contenteditable", "contenteditable")}}</td> + <td>{{Spec2('HTML5.1')}}</td> + <td>Snapshot von {{SpecName('HTML WHATWG')}}, keine Änderung seit {{SpecName('HTML5 W3C')}}</td> + </tr> + <tr> + <td>{{SpecName('HTML5 W3C', "editing.html#attr-contenteditable", "contenteditable")}}</td> + <td>{{Spec2('HTML5 W3C')}}</td> + <td>Snapshot von {{SpecName('HTML WHATWG')}}, ursprüngliche Definition.</td> + </tr> + </tbody> +</table> + +<h2 id="Browserkompatibilität">Browserkompatibilität</h2> + +<p>{{ CompatibilityTable }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatGeckoDesktop("1.9") }}</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>Feature</th> + <th>Android Webview</th> + <th>Chrome for Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Mobile</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatGeckoMobile("1.9") }}</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatVersionUnknown }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Siehe_auch">Siehe auch</h2> + +<ul> + <li><a href="/de/docs/Web/Guide/HTML/Content_Editable">Inhalt bearbeitbar machen</a></li> + <li><a href="/de/docs/Web/HTML/Globale_Attribute">Globale Attribute</a></li> + <li>{{domxref("HTMLElement.contentEditable")}} and {{domxref("HTMLElement.isContentEditable")}}</li> + <li>The CSS {{cssxref("caret-color")}} property</li> +</ul> |