Creating and inserting reusable information with content blocks

Return to top

50 Comments

  • It seems that if you include accordion content within a content block, the accordion toggle functionality no longer works when the content block is then added to another article. Is there a workaround for this? Thanks.

    0
  • Katarzyna Karpinska
    Zendesk Product Manager

    Hi Technical Writer - Marco Haber

    We are not supporting advanced article components in content blocks just yet, so I'm not surprised that this is not shared. 

    Out of curiosity, how have you tried to implement the accordion? was it directly in the content block source code? It might work better if you define a class for the accordion in the theme and apply it to a given element in the block.

    0
  • Ricardo Pereira

    Katarzyna Karpinska It would be great if we had greatly more flexibility when using HTML source code. We're desperate for a solution that supports images on CBs, even if we source images from outside and code them directly with HTML. Other things too e.g. text color.

    0
  • Katarzyna Karpinska
    Zendesk Product Manager

    Ricardo Pereira, if there are no unforeseen earthquakes we'll be launching images in CBs within the next month! Add-ons to formatting tools in CBs will follow shortly after.

    1
  • Ricardo Pereira

    That would be a great update!

    0
  • Jeff Stephenson

    Any news on inserting images into content blocks?

    0
  • Katarzyna Karpinska
    Zendesk Product Manager

    Jeff Stephenson, yes!! We are planning to launch it within a few weeks!

    0
  • Rick Marx

    I would also see a better use case for content blocks in macros in our company, likely even better than for the articles. Is there something planned along these lines, or is there an alternative we can use?

    0
  • Eduardo Escobar

    Hello, is there any way to make the content block visible to only certain users? I'd like to add a content block to an article that's only visible to signed-in users

    1
  • Katarzyna Karpinska
    Zendesk Product Manager

    Rick Marx, thank you for your comment, we definitely see the potential of extending content blocks to macros but we have some other pressing work in the pipeline we need to get to before that will be possible. The same applies for visibility permissions for content blocks Eduardo Escobar

    1
  • Stephen

    Hi Katarzyna Karpinska,

    I was wondering if there is any news on the availability of tables in Content Blocks?

    I was hoping to create a banner displaying which articles relate to certain products my company offers (similar to the image Zendesk uses in their articles :D ) and found creating a html table was easier than using an image.

    Best regards
    Stephen

    0
  • Laine Brusk

    Want to chime in here that even lightweight custom html would be incredibly useful. I'm currently trying to use blocks to replicate ~6-10 workflow articles that are mostly the same with some variance, but since I can't edit the html, numbered lists in blocks must start with 1. 

    1
  • Katarzyna Karpinska
    Zendesk Product Manager

    Stephen

    We had to shift our priorities a little and are currently looking into working on tables in content blocks in Q3 this year. 

    Laine Brusk

    I hear you, we are working on integrating our article and content blocks better in the future. In the meantime, I'll check with my team if we can add support to <ol> start attribute.

    0
  • Aoife O'Neill

    Adding a content block seems to hamper my ability to then edit source code. Is this expected behaviour? I can no longer access source code for the whole article. I have to click above the content block to access that piece of code, then below the block to access that piece of code. Is it possible to retain a view of the entire article, including the content block, in the source code editor? 

    0
  • Katarzyna Karpinska
    Zendesk Product Manager

    Hi Aoife O'Neill It is true that content block "slices" the content of articles in pieces and if you want to see HTML you need to look into all blocks separately (in the case of the article content - if you should put the cursor in the text below content block to see its HTML). We are working on some improvements in this area that will hopefully allow you to see all the article content as one consecutive HTML but content blocks will always be separate as they don't "live" in the article.

     

    0
  • sorin

    Katarzyna Karpinska Do you have any plans to allow correct update of the body of articles with content blocks via the API.

    Updating an article with content blocks from the API is kind of allowed, but creates some strange state for the article. The changes (made via API) will be visible in the online (published) version but not in the Guide Editor. So basically an article changed this way will have two content states: one with the API changes AND the Guide editor state (without the API changes). If a further change is made from Guide editor, this will overwrite all the changes made with the API.

    This issue creates some serious limitations for some of my customers who have content blocks enabled and trying to use functions like find and replace across many articles (we're a Zendesk development partner providing apps such as the Help Center Manager to Zendesk customers).

    Thank you!

    0
  • Katarzyna Karpinska
    Zendesk Product Manager

    Hi sorin, yes, and hopefully within the next couple of weeks. Keep an eye on our announcement page :) 

    1
  • sorin

    This is great news! Thank you Katarzyna Karpinska

    0
  • Kaarina

    Once a content block exists, is there a way to nest it under a different language? Like if it was created under English, can it be moved to Spanish so it shows up with the other Spanish content blocks when you go to insert it?

    0
  • Katarzyna Karpinska
    Zendesk Product Manager

    Hi Kaarina

    You can use any content block in any language, e.g. you can use English content block in Spanish translation. When it comes to searching for it however it won't be visible under Spanish, in order to find it you'd need to search for it either in its original language or use All languages option in the drop-down by the search field. 

    0

Please sign in to leave a comment.

Powered by Zendesk