New to Translating WordPress? Read through our Translator Handbook to get started. Hide
| Prio | Original string | Translation | — |
|---|---|---|---|
| ↑ | Allows to add HTML attributes to Gutenberg blocks. | Ermöglicht das Hinzufügen von HTML-Attributen zu Gutenberg-Blöcken. | Details |
Original current |
|||
| ↑ | Attributes for Blocks | Attributes for Blocks | Details |
Original current |
|||
| You can modify which roles have the <code>unfiltered_html</code> capability using custom code in your theme's <code>functions.php</code> file or via a custom plugin. Only grant this capability if you trust the current and future users of that role to not do anything malicious. | Du kannst festlegen, welche Rollen über die Berechtigung <code>unfiltered_html</code> verfügen, indem du individuellen Code in der Datei <code>functions.php</code> deines Themes oder über ein individuelles Plugin verwendest. Gewähre diese Berechtigung nur, wenn du darauf vertraust, dass die aktuellen und zukünftigen Benutzer dieser Rolle keine böswilligen Handlungen vornehmen. | Details | |
Original current
You can modify which roles have the <code>unfiltered_html</code> capability using custom code in your theme's <code>functions.php</code> file or via a custom plugin. Only grant this capability if you trust the current and future users of that role to not do anything malicious.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| When the current user doesn't have <code>unfiltered_html</code> capabilities attributes cannot be added and all existing attributes are stripped when the post is updated. | Wenn der aktuelle Benutzer nicht über die Berechtigung <code>unfiltered_html</code> verfügt, können keine Attribute hinzugefügt werden, und alle vorhandenen Attribute werden bei der Aktualisierung des Beitrags entfernt. | Details | |
Original current
When the current user doesn't have <code>unfiltered_html</code> capabilities attributes cannot be added and all existing attributes are stripped when the post is updated.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| How do I add unfiltered_html capability to user roles? | Wie füge ich Benutzerrollen die Berechtigung „unfiltered_html“ hinzu? | Details | |
Original current
How do I add unfiltered_html capability to user roles?
CommentFound in faq header. You have to log in to edit this translation. |
|||
| Why is the input disabled? | Wieso ist die Eingabe deaktiviert? | Details | |
Original current
Why is the input disabled?
CommentFound in faq header. You have to log in to edit this translation. |
|||
| @ prefix in an attribute name is used for "override" mode in this plugin, for Alpine.js attributes use <code>x-on:click</code> instead of <code>@click</code> or use the shorthand syntax with two <code>@</code> characters instead of one: <code>@@click</code>. | Das Präfix @ in einem Attributnamen wird im Modus „Überschreiben” dieses Plugins verwendet. Für Alpine.js-Attribute verwendest du <code>x-on:click</code> anstelle von <code>@click</code> oder verwende die Kurzschreibweise mit zwei <code>@</code>-Zeichen anstelle von einem: <code>@@click</code>. | Details | |
Original current
@ prefix in an attribute name is used for "override" mode in this plugin, for Alpine.js attributes use <code>x-on:click</code> instead of <code>@click</code> or use the shorthand syntax with two <code>@</code> characters instead of one: <code>@@click</code>.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| Usage with Alpine.js | Verwendung mit Alpine.js | Details | |
Original current |
|||
| <a href="https://playground.wordpress.net/?plugin=attributes-for-blocks&url=%2Fwp-admin%2Fpost.php%3Fpost%3D2%26action%3Dedit">Demo</a> | <a href="https://playground.wordpress.net/?plugin=attributes-for-blocks&url=%2Fwp-admin%2Fpost.php%3Fpost%3D2%26action%3Dedit&language=de_DE">Demo</a> | Details | |
Original current
<a href="https://playground.wordpress.net/?plugin=attributes-for-blocks&url=%2Fwp-admin%2Fpost.php%3Fpost%3D2%26action%3Dedit">Demo</a>
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| The <code>afb_unsupported_blocks</code> filter can be used in your child theme's <code>functions.php</code> file to disable block support for adding additional attributes. | Der Filter <code>afb_unsupported_blocks</code> kann in der Datei <code>functions.php</code> deines untergeordneten Themes verwendet werden, um die Blockunterstützung für das Hinzufügen zusätzlicher Attribute zu deaktivieren. | Details | |
Original current
The <code>afb_unsupported_blocks</code> filter can be used in your child theme's <code>functions.php</code> file to disable block support for adding additional attributes.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| Disable block support | Blockunterstützung deaktivieren | Details | |
Original current |
|||
| Blocks with custom attributes may become invalid, depending on which attributes you've added. From there you can recover the block without the custom attributes by clicking "Attempt Block Recovery" or keep the block with custom attributes as HTML by choosing "Convert to HTML". If you don't want to risk blocks becoming invalid you need to remove all custom attributes before disabling the plugin. | Blöcke mit individuellen Attributen können ungültig werden, je nachdem, welche Attribute du hinzugefügt hast. Von dort aus kannst du den Block ohne die individuellen Attribute wiederherstellen, indem du auf „Blockwiederherstellung versuchen“ klickst, oder den Block mit den individuellen Attributen als HTML behalten, indem du „In HTML umwandeln“ auswählst. Wenn du nicht riskieren möchtest, dass Blöcke ungültig werden, musst du alle individuellen Attribute entfernen, bevor du das Plugin deaktivierst. | Details | |
Original current
Blocks with custom attributes may become invalid, depending on which attributes you've added. From there you can recover the block without the custom attributes by clicking "Attempt Block Recovery" or keep the block with custom attributes as HTML by choosing "Convert to HTML". If you don't want to risk blocks becoming invalid you need to remove all custom attributes before disabling the plugin.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| It should work with normal blocks that render a valid WP Element that can utilize the <code>blocks.getSaveContent.extraProps</code> filter as well as dynamic blocks that utilize a <code>render_callback</code>. Third party blocks that do something unorthodox may not work.↵ <a href="https://plugins.trac.wordpress.org/browser/attributes-for-blocks/trunk/includes/unsupported-blocks.php">Known unsupported blocks</a> | Es sollte mit normalen Blöcken funktionieren, die ein gültiges WP-Element darstellen, das den Filter <code>blocks.getSaveContent.extraProps</code> verwenden kann, sowie mit dynamischen Blöcken, die einen <code>render_callback</code> verwenden. Blöcke von Drittanbietern, die etwas Unorthodoxes tun, funktionieren möglicherweise nicht. <a href="https://plugins.trac.wordpress.org/browser/attributes-for-blocks/trunk/includes/unsupported-blocks.php">Bekannte nicht unterstützte Blöcke</a> | Details | |
Original current
It should work with normal blocks that render a valid WP Element that can utilize the <code>blocks.getSaveContent.extraProps</code> filter as well as dynamic blocks that utilize a <code>render_callback</code>. Third party blocks that do something unorthodox may not work.↵
<a href="https://plugins.trac.wordpress.org/browser/attributes-for-blocks/trunk/includes/unsupported-blocks.php">Known unsupported blocks</a>
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| For regular blocks, attributes are added to the block save content's root element, meaning they will be rendered only on the front end and not in the editor. For dynamic blocks the attributes are added via <code>render_callback</code> function and they may also be applied in the editor, depending if the block is rendered server or client side. | Bei regulären Blöcken werden Attribute zum Stammelement des gespeicherten Blockinhalts hinzugefügt, was bedeutet, dass sie nur im Frontend und nicht im Editor dargestellt werden. Bei dynamischen Blöcken werden die Attribute über die Funktion <code>render_callback</code> hinzugefügt und können auch im Editor angewendet werden, je nachdem, ob der Block serverseitig oder clientseitig gerendert wird. | Details | |
Original current
For regular blocks, attributes are added to the block save content's root element, meaning they will be rendered only on the front end and not in the editor. For dynamic blocks the attributes are added via <code>render_callback</code> function and they may also be applied in the editor, depending if the block is rendered server or client side.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| In your selected block's inspector controls (Block settings) scroll all the way to the bottom and click on "Advanced". It should contain a section called "Additional attributes".↵ Type an attribute name into the "Add attribute" field and press "Add" to add an attribute for the block. A new input with the attribute's name should appear below, into which you can optionally insert the attribute value.↵ Example attributes: <code>style</code>, <code>title</code>, <code>target</code>, <code>class</code>, <code>id</code>, <code>onclick</code>, <code>data-*</code>, <code>aria-*</code>. | Scrolle in den Inspektor-Steuerelementen deines ausgewählten Blocks (Block-Einstellungen) ganz nach unten und klicke auf „Erweitert“. Dort sollte ein Abschnitt namens „Zusätzliche Attribute“ zu finden sein. Gib einen Attributnamen in das Feld „Attribut hinzufügen” ein und klicke auf „Hinzufügen”, um ein Attribut für den Block hinzuzufügen. Darunter sollte ein neues Eingabefeld mit dem Namen des Attributs erscheinen, in das du optional den Attributwert eingeben kannst. Beispielattribute: <code>style</code>, <code>title</code>, <code>target</code>, <code>class</code>, <code>id</code>, <code>onclick</code>, <code>data-*</code>, <code>aria-*</code>. | Details | |
Original current
In your selected block's inspector controls (Block settings) scroll all the way to the bottom and click on "Advanced". It should contain a section called "Additional attributes".↵
Type an attribute name into the "Add attribute" field and press "Add" to add an attribute for the block. A new input with the attribute's name should appear below, into which you can optionally insert the attribute value.↵
Example attributes: <code>style</code>, <code>title</code>, <code>target</code>, <code>class</code>, <code>id</code>, <code>onclick</code>, <code>data-*</code>, <code>aria-*</code>.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
Export as
Comment
Short description.