Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Locking data-container messes up content...

(0) ShareShare
ReportReport
Posted on by 10

Working with templates for email marketing I tried to lock parts of the template using <div data-container="true" data-locked="hard"> by entering the data-locked="hard" part in the html code. But strange things started to happen in the content and finally the content of that container disappeared. 

  • PerHj Profile Picture
    PerHj 10 on at
    RE: Locking data-container messes up content...

    Thanks. I create a new email template and add some content and at first everything looked fine. But after working for a while the content with data-locked="hard" disappeared on several different places. In this case I changed background color on the section surrounding the locked content and then it just disappeared - se code below.

    msedge_5F00_IMmO5FDCZc.png

    msedge_5F00_XC21DhLOLv.png

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Locking data-container messes up content...

    Hi,

    I have tried to reproduce your issue but failed.

    pastedimage1636700343663v1.png

    The container can be shown normally.

    pastedimage1636700365300v2.png

    Here is the version of my Marketing app.

    pastedimage1636700447462v3.png

    Please check if there is an update or share your code snippet with me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans