Verwende den Entwicklermodus für eine individuelle Anpassung von E-Mails

Der Entwicklermodus im Drag-and-Drop-E-Mail-Editor bietet dir erweiterte Anpassungsmöglichkeiten mit größerer Flexibilität und Kontrolle über deine E-Mail-Designs. Es wurde für diejenigen entwickelt, die benutzerdefinierten Code hinzufügen möchten, z. B. um die Farben der Aufzählungszeichen zu ändern oder eine andere Schriftgröße oder -farbe für E-Mails anzuzeigen, die auf Mobiltelefonen gelesen werden. 

Was ist der Entwicklermodus?

Der Entwicklermodus ist ein YAML-Code-Editor, der in den Drag & Drop-Editor für E-Mails integriert wurde. Du erhältst die Kontrolle über deine E-Mail Templates und kannst Aktionen ausführen, die von der Drag & Drop-Oberfläche des E-Mail-Editors nicht unterstützt werden. Beachte, dass nicht alle CSS-Eigenschaften im Entwicklermodus unterstützt werden.

➡️ Entdecke unsere häufigsten Anwendungsfälle für den Entwicklermodus für die individuelle Anpassung von E-Mails!

developer-mode_EN-US.png

Gut zu wissen

  • The developer mode opens on the left of your screen, allowing you to see your changes in real-time in your email design. From the developer mode, you can: 
    1. Expand or close the developer mode.
    2. Search for content by clicking the Search icon 🔍 and typing your query in the search bar.
    3. Apply the changes either automatically or manually. Simply activate or deactivate the Automatically apply changes option.dde_dvlp-options_en-us.png
  • Teste deine E-Mails, bevor du sie zeitlich planst, um sicherzustellen, dass alle Änderungen, die du im Entwicklermodus vorgenommen hast, korrekt funktionieren.

</>Zugriff auf den Entwicklermodus

So greifst du auf den Entwicklermodus zu:

  1. Erstelle eine E-Mail-Kampagne oder ein -Template und rufe den Schritt Design auf. 
  2. Wähle den Drag & Drop-Editor, um dein Design für die E-Mail zu erstellen.
  3. Klicke im Header des Drag & Drop-Editors auf das Dreipunktsymbol > Developer Mode (Entwicklermodus). Ein Informationsfenster öffnet sich.
  4. (Optional) Überprüfe das Kästchen Do not show again (Nicht mehr anzeigen), wenn du das Informationsfenster beim nächsten Öffnen des Entwicklermodus nicht sehen möchtest. 
  5. Klicke auf Open developer mode (Entwicklermodus öffnen).Screen_Shot_2020-04-21_at_09.26.35.png

Der Entwicklermodus öffnet sich auf der linken Seite deines Bildschirms und zeigt Echtzeit-Änderungen an deinem E-Mail-Design auf der rechten Seite deines Bildschirms an. Alle deine Änderungen werden automatisch gespeichert. Wenn du den Entwicklermodus nicht mehr benötigst, kannst du ihn schließen und zum Designmodus zurückkehren. 

Häufige Anwendungsfälle des Entwicklermodus für individuelle Anpassungen

Um dir die Leistungsfähigkeit des Entwicklermodus im E-Mail-Editor zu veranschaulichen, haben wir unsere häufigsten Anwendungsfälle für den Entwicklermodus zur individuellen Anpassung von E-Mails aufgelistet. Öffne die Untermenüs, um zu erfahren, wie du den Entwicklermodus nutzen kannst:

🔤 Verwenden einer anderen Schriftgröße, Schriftfamilie oder Farbe für den mobilen Modus

Set different font styles for mobiles to ensure readability and visual appeal:

  • Use a smaller font size to fit content on smaller screens,
  • Use a safe font family for better readability, and
  • Adjust font color to ensure good contrast in diverse lighting conditions or for dark-mode settings.
E-Mail auf dem Desktop E-Mail auf Mobilgeräten
dvlp-mode_desktop_en-us.png dvlp-mode_mobile_en-us.png

To change your font size, color, or family for mobiles, you will need to set the font styles for both mobile and desktop: 

  1. Entwerfen deiner E-Mail. 
  2. Rufe den Entwicklermodus auf
  3. Search for the content for which you want to change the font styles. Your content settings are just above it in the code. 
  4. Copy the codes corresponding to the type of style you want to change on mobile devices: 
    • Text font:font-family: 'font family name'
    • Text size:font-size: SIZEpx
    • Textfarbe: color: 'HEX' 
  5. Under the layout string and 320px value, paste the codes you copied above to edit the mobile font styles and replace their value with the one you need:
    • font-family: 'font family name' where font family name is the name of the font as it appears in the list of available fonts in the editor
    • font-size: SIZEpx where SIZE is the size you want to give to your content in px. 
    • color: 'HEX' where HEX is the HEX code corresponding to the color you want to give your content. 
      dvlp-mode_font-changes_EN-US.png
  6. From the content string, in our example Warm-up with Sun Salutations, remove any style, span, or class attributes between the single quotes '' to only keep your content.
    ➡️  Beispiel
    Wenn dein Inhalt wie folgt lautet: 
    content: '<h2 class="default-heading2"><span style="color:#116b6b;">Our 3 tips to practice safe yoga 🧘</span></h2>'
    Remove any style or class attributes to only keep your content, such as: 
    Inhalt: 'Our 3 tips to practice safe yoga 🧘' (Unsere 3 Tipps, um sicheres Yoga 🧘 zu praktizieren)
  7. Switch between the desktopdesktop-mode.png (⇧ + D) and mobilemobile-mode.png (⇧ + M) modes using the corresponding icons at the top-right of your email editor. This will allow you to ensure that your font styles change according to the type of device on which they are read.
  8. Nimm bei Bedarf weitere Änderungen im Entwicklermodus vor.  
  9. Click the cross icon close-dvlp-mode.jpeg to close the developer mode.

Congratulations! Your font styles are now changing depending on the device on which they are read. 

🎠 Hinzufügen von Anmerkungen zu Gmail (Deal, Bild oder Vorschau eines Artikels im Karussell in den Postfächern)
❗️ Wichtig
To display Gmail annotations to your Gmail recipients, you first need to register with Google. Annotations may not appear for all Gmail recipients due to factors like quality filters and frequency limits. Annotations are only visible in the Promotions tab of Gmail. 

Gmail annotations allow Gmail users to view and engage with your promotions directly from their inbox by clicking the annotated image or text without opening the email. These annotations allow messages received in Gmail's Promotions tab to stand out by adding features such as:

  • Anmerkungen zum Deal
  • Produktkarussells
  • Einzelbildvorschau

dvlp-mode_gmail-annotation_EN-US.png

So zeigst du deinen Empfänger:innen Gmail-Anmerkungen an: 

  1. Entwerfen deiner E-Mail. 
  2. Rufe den Entwicklermodus auf
  3. Copy the code from the tab below corresponding to the type of annotation you want to display to your Gmail recipients: 
    Deal annotationsProduct carouselsSingle image preview

    Zu kopierender Code

    Zu ersetzende Werte
    promo:
    -
    @context: 'http://schema.org/'
    @type: DiscountOffer
    description: DESCRIPTION
    discountCode: DISCOUNT_CODE
    availabilityStarts: START_DATE_TIME
    availabilityEnds: END_DATE_TIME
    • (Optional) DESCRIPTION is the text that displays with the deal badge, such as 20% off
    • (Optional) DISCOUNT_CODE is the discount or promotion code for the offer, such as 20TODAY
    • (Optional) START_DATE_TIME is the date and time when the offer begins in ISO 8601 format, such as 2023-09-25T18:44:37-07:00.
    • (Optional) END_DATE_TIME is the end date and time of the promotion in ISO 8601 format, such as 2023-09-25T18:44:37-07:00.
  4. At the top of the developer mode, under the fonts value and at the first level, paste the code you copied from one of the tabs above.
  5. Nimm bei Bedarf weitere Änderungen im Entwicklermodus vor.
  6. Click the cross icon close-dvlp-mode.jpeg to close the developer mode.
  7. (Optional) Send a test email to a test email address using Gmail and with the Promotions tab active, to ensure the Gmail annotation displays correctly.

Alternatively, you can use our HTML editor to display Gmail annotations. To learn more, check Google's official documentation

🎨 Ändern der Farbe von Aufzählungszeichen und nummerierten Listen

Changing the color of your bullets or numbers can be useful to emphasize key points, group ideas, or match your branding. Below is an example of what a colored bulleted list looks like: 

dvlp-mode_bullet-points_EN-US.png

💡 Gut zu wissen
Wenn du die Farbe deiner Aufzählungszeichen oder Zahlen änderst, übernimmt der damit verbundene Text automatisch deren Farbe. Es ist jedoch möglich, die Farbe deines Textes außerhalb des Entwicklermodus zu ändern, nachdem du die Farbe der Aufzählungszeichen angewendet hast.

So änderst du die Farbe deiner Aufzählungszeichen und nummerierten Listen:

  1. Erstelle eine Liste mit Aufzählungszeichen oder Nummern. 
  2. Rufe den Entwicklermodus auf
  3. Search for the list you've just created in the developer mode and spot the content value corresponding to it. Your content settings are just above it in the code. 
  4. Under the default value, paste the following code where HEX is the HEX code corresponding to the color you want to give your list: color: '#HEX'
    dvlp_paste-bullet_EN-US.png
  5. Check your email design on the right of your screen to see if your list of items has changed color. Your bullets or numbers and associated text should appear in the color that corresponds to the HEX code you entered in the developper mode. 
  6. Nimm bei Bedarf weitere Änderungen im Entwicklermodus vor. 
  7. Click the cross icon close-dvlp-mode.jpeg to close the developer mode.
  8. To change the color of your text while keeping the color of your bullets or numbers:
    1. Wähle den Text aus, dessen Farbe du ändern möchtest. 
    2. From the toolbar above your text, click the Font color icon.
      dvlp-mode_change-text-color_EN-US.png
    3. Select a color from your brand or previously used, or paste the HEX color code you want to give your text in the HEX field. In our example, #
      3B3F44
      .

Congratulations! You have changed the color of your bullet points or numbers. 

↪️ Einfügen von geschützten Leerzeichen oder Bindestriche

Non-breaking spaces and hyphens ensure proper formatting in email designs by preventing undesirable line breaks, such as a compound name or item price being split, and maintaining readability across devices. Check our example below to understand the importance of non-breaking spaces and hyphens:

Ohne geschützte Zeichen Mit geschützten Zeichen
dvlp_breaking_EN-US.jpeg dvlp_non-breaking_EN-US.jpeg

So fügst du geschützte Leerzeichen und Bindestriche in dein E-Mail-Design ein: 

  1. Entwerfen deiner E-Mail. 
  2. Rufe den Entwicklermodus auf
  3. Search for the content to which you want to add a non-breaking space or hyphen. Your content settings are just above it in the code. 
  4. Copy the code corresponding to the type of non-breaking character you want to include:
    • Geschütztes Leerzeichen: &nbsp;
    • Geschützter Bindestrich:
  5. Paste the code copied above in place of the space or hyphen you want to make non-breaking.
    dvlp_add-nonbreaking_EN-US.jpeg
  6. Check your email design on the right of your screen to see if your list of items has changed color. 
  7. Nimm bei Bedarf weitere Änderungen im Entwicklermodus vor. 
  8. Click the cross icon close-dvlp-mode.jpeg to close the developer mode.

Congratulations! You have added non-breaking characters to your email design. 

🏞️ Behebung von Problemen bei der Darstellung von Hintergrundbildern und Textblöcken in Outlook

Outlook desktop versions using the Microsoft Word rendering engine have limited CSS support (e.g., Outlook 2007, 2010, 2013, 2016, and Office 365 desktop versions). Background images and text formatting often display incorrectly, showing white backgrounds instead of images and misaligned text due to poor handling of properties like background-image and line-height.

To ensure background images and text blocks render properly in Outlook, use the following workaround:

  1. Entwerfen deiner E-Mail. 
  2. Retrieve the height size in px of your background image. In our example, 265px. 
  3. Rufe den Entwicklermodus auf
  4. Click the tab corresponding to the rendering issue you want to solve:
    Background imageText block
    ❗️ Wichtig
    This workaround only works for background images applied on body width, not full width, and under a grid-row value. Note that a grid-row value should not contain any button.
    1. Search for the grid-row value corresponding to where your background-image is displayed.
    2. Under the background-image value, enter height: followed by the height size in px of your background image. In our example, we will enter height: 265px.
      dvlp-mode_bckg-image_EN-US.png
  5. Nimm bei Bedarf weitere Änderungen im Entwicklermodus vor. 
  6. Click the cross icon close-dvlp-mode.jpeg to close the developer mode.
  7. (Optional) Send a test email to a test email address using one of the Outlook versions that do not support background images to ensure it displays correctly.
🤖 Hinzufügen von Alt-Text zu den Symbolen in Social Media

Add alt-text to your social media icons in your email designs to improve accessibility for visually impaired people using screen readers, enhance user experience, and ensure context is clear if images don’t load.

So fügst du Alt-Text in dein E-Mail-Design ein: 

  1. Gestalte deine E-Mail und füge deine Social-Media-Symbole hinzu.
  2. Rufe den Entwicklermodus auf
  3. Search for the type: social-media values. There should be one for each social media icon. Your content settings are just above it in the code. 
  4. Under each src value corresponding to your social media icons, search for the 'alt: null' value or add one.
  5. Replace null with your alt text. In our example, our website icon alt text will be The Green Yoga website, and our Instagram icon alt text will be Instagram account
    dvlp-mode_alt-text_EN-US.jpeg
  6. Nimm bei Bedarf weitere Änderungen im Entwicklermodus vor.  
  7. Click the cross icon close-dvlp-mode.jpeg to close the developer mode.
  8. (Optional) Send a test email to check that your alt-text is displayed correctly for each of your media icons.
📦 Eine Liste der Elemente nach ihrem Status anzeigen

Display a specific list of content (image, title, text, section etc.) only when conditions within the section are met. This is very useful when you only want to display a list of items if it contains your desirable elements.

For example, you could create a shipment confirmation email that includes separate lists for shipped and back-ordered items.

Diese E-Mail würde Folgendes enthalten:

  • Eine Liste mit den versendeten Artikeln.
  • A list with the items that are back-ordered and will be shipped later.

➡️ To learn more about how you can display a list of items according to their status, check our dedicated article Show or hide content based on repeatable content.

sample_email.png

Wenn du die Anpassung deiner E-Mail-Designs mit dem Entwicklermodus weiter vertiefen möchten, überprüfe unsere technische Dokumentation für unsere Template-Sprache und sehe dich alle verfügbaren Aktionen an:

❓ FAQs

Kann ich HTML im Entwicklermodus verwenden?

Anders als du vielleicht gedacht hast, ist es nicht möglich, im Entwicklermodus HTML direkt einzugeben. Stattdessen solltest du YAML verwenden, das eine einfache Darstellung für eine JSON-ähnliche Verzeichnisstruktur ist.

Mit dieser Sprache verwendest du abstrakte Definitionen, die von unserem Team erstellt wurden, um die Entwicklung von Templates zu vereinfachen und sicherzustellen, dass das HTML, das erzeugt und an die Kundinnen und Kunden versendet wird, von unseren Tools verwaltet wird. Dies ermöglicht die beste Qualität und eine breite Unterstützung für E-Mail-Clients.

Warum kann ich den HTML-Code nicht direkt bearbeiten?

Wie du vielleicht weißt, sind die E-Mail-Clients nicht alle gleich und es kann schwierig sein, professionell aussehende Newsletter zu erstellen, die überall funktionieren, auch auf Mobiltelefonen und in Outlook.

Außerdem ist dies eine Standardaufgabe, da neue E-Mail-Clients auf den Markt kommen und alte Clients die Art und Weise ändern, wie sie E-Mails darstellen.

Deshalb arbeiten wir hart daran, dass deine E-Mails überall wie erwartet funktionieren, und zwar mit minimalem Aufwand für dich. Wir haben eine abstrakte Methode entwickelt, mit der du deinen HTML-Code definieren kannst. Die Arbeit hinter den Kulissen übernehmen wir. 

Gibt es irgendwelche Einschränkungen im Entwicklermodus?

Für 99 % der Anwendungsfälle wirst du nur selten auf Einschränkungen bei unserer Template-Sprache stoßen, da wir ständig daran arbeiten, sie zu aktualisieren. Aber natürlich könnte es einige Besonderheiten oder kundenspezifische Funktionen geben, die wir vielleicht übersehen haben. Dies eröffnet eine neue Welt von Möglichkeiten, die über das hinausgehen, was wir in der Benutzeroberfläche anbieten. Entdecke unsere häufigsten Anwendungsfälle für den Entwicklermodus für erweiterte E-Mail-Anpassungen!

⏭️ Nächste Schritte

🤔 Sie haben eine Frage?

Wenden Sie sich bei Fragen an unser Support-Team: Erstellen Sie einfach ein Ticket über Ihr Konto. Wenn Sie noch kein Konto haben, können Sie uns hier kontaktieren.

Wenn Sie Unterstützung bei einem Projekt mit Brevo suchen, können wir Sie mit der richtigen zertifizierten Brevo-Partneragentur verbinden.

💬 War dieser Beitrag hilfreich?

7 von 27 fanden dies hilfreich