After you create or insert a content block, you can edit the content block as needed. You can access the content block editor from the content block list or from any article that is using a content block. When you edit and update a content block, all articles that contain that content block are automatically updated in your help center to include the new content without impacting the articles' publication status.
About editing HTML source code in content blocks
If you are a Guide admin or an agent with permissions to update content blocks, you can use the content block editor to make changes to the content block and update all articles in which the content block appears. You can also edit the block's HTML source by clicking the Source Code () button at the end of the editor's toolbar.
class
and id
attributes from the HTML source of content blocks, with the following exceptions:
- Top-level
div
tags can use theclass
attribute. - Heading tags, such as
h1
andh2
, can use theid
attribute. If you don't specify anid
, Zendesk automatically assigns one to headings. Content blocks don't supporth5
orh6
headings.
Editing a content block from the content block list
Guide admins can edit a content block from the central content block management list. When you edit content blocks from the content blocks list, you are editing the master version of a content block that doesn’t have any context of the articles in which it is used. Therefore, you cannot link a content block to the heading of an article that contains the content block. However, you can link a content block to other articles in your help center.
- In Guide, click Guide admin at the top of the page, then click the Manage articles icon (
) in the sidebar.
- Under the Tasks tab in the left menu, click Content blocks.
- Click a content block to open the content block editor.
- Use the content block editor to make any necessary changes.
- Click Update. Your updates are saved and visible in all articles that use the content block. You do not need to republish the articles for the changes to appear.
Editing a content block from within an article
You can update a content block from within the article that contains that content block. When you are editing a content block from within an article, the article remains open in the background. To return to the article without saving the content block, click the breadcrumb in the upper left corner of the window.
To edit a content block from within an article that is using it
- Open the article that contains the content block you want to edit in Edit mode.
- Hover over the content block you want to edit, click the Options menu icon (
), then click Edit.
- Make any necessary changes in the content block editor.
- Click Update all articles.
Your updates are saved and visible in all articles that use the content block. You do not need to republish the articles for the changes to appear.
0 Comments
Please sign in to leave a comment.