Allowing unsafe HTML in help center articles

Return to top


  • Julia Shyshliuk

    Hi Zendesk Team, can I find any general resources at all to learn how to use the iframes in Zendesk Guide articles? 

  • Russell Chee
    Zendesk Customer Care

    Hey Julia,

    Thanks for reaching out to Zendesk Support about your query, I hope you are doing well. I would like to set expectations that at this current time using iframe on Zendesk Guide articles are not supported as an intended workflow. There are third party resources that may be able to assist as a workaround but unfortunately we do not have any native articles that could assist on this. Let me know if you have any other questions or need anything else!


  • Kat Thorson

    So what in this coding is considered "unsafe" since it seems to be used everywhere for creating a note or warning box? When I use this code for creating note boxes, it won't appear in the published article because "display unsafe content is off.

    <div style="background-color: #daf0ff; padding: 15px;">
    <p>Example text is here</p>

  • Dave Dyson
    Zendesk Community Manager

    Hi Kat,

    As the article says, any tag or attribute that's not included in the lists above is considered unsafe; in your case, this would include the section tag, and the background-color and padding attributes.

    However, you can achieve much the same result without having to enable unsafe content, by adding a class to your theme's style.css file, and then referencing that in the article (since the class tag is considered safe). For example, if you add the following to the style.css file:

    .warning-box {
      background-color: #daf0ff;
      padding: 15px;

    And then replace the your article html with this:

    <div class="warning-box">
      <p>Example text is here</p>

    Your warning box should then appear in your published article:


Please sign in to leave a comment.

Powered by Zendesk