Content area code snippet includes line breaks which can leave an email template uneditable
Trailblazer Community

Content area code snippet includes line breaks which can leave an email template uneditable

Marketing Cloud Email Studio , Marketing Cloud Sending , Marketing Cloud Content Builder

Last updated 2022-04-25 ·Reference W-10979778 ·Reported By 1 users

In Review

Summary
When selecting the Code Snippet Content Area option to add to an HTML past email, additional line breaks are added and the Content Area is not created. If the HTML paste email is then saved, the Edit button will become unclickable and the template cannot be edited.

Repro
1. Create template email from html paste.
2 Insert the system default “content area” code snippet.
3. The content block will not be created due to the line breaks in the code snippet.

Code snippet which is generated :

<div data-type="slot" data-allowed-blocks="" data-max-blocks=""
data-label="Drop blocks or content here"></div>

Workaround
Manually remove line breaks that are added prior to clicking save.

Reported By (1)

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.