内容块是已分组的文本段,可在您帮助中心的一篇或多篇文章中,或在您帐户中的不同帮助中心品牌中重复使用。您可以从帮助中心创建内容块,也可以从要使用内容块的文章中创建内容块。在这两种情况下,内容块都会显示在内容块列表中,您可以在其中查看内容块及其使用位置、编辑内容块,或从帮助中心移除内容块。
Guide 管理员可以在任何文章中创建并插入内容块。专员只能在其有权编辑的文章中创建和插入内容块。Guide 管理员或有权更新内容块的专员可以在包含这些内容块的已发布文章中编辑和更新内容块。
从帮助中心创建内容块
当您从帮助中心菜单创建内容块时,该内容块将添加到内容块列表中,并可插入到您希望其显示的任意文章中。请参阅在文章中插入内容块。
从帮助中心创建的内容块将采用帮助中心的默认区域设置,无论内容块本身使用何种语言。例如,如果您从默认语言为美式英语的帮助中心创建内容块,则内容块区域设置也将为英语,即使内容块的正文包含西班牙语文本。
从帮助中心创建内容块
- 在帮助中心或知识管理中,单击顶部菜单栏中的添加,然后选择内容块。
- 为内容块取一个有意义的名称,方便识别以轻松在其它文章中重复使用。这是一个内部名称,用于标识您在内容块列表中的内容块。它对终端用户不可见。
- 运用工具栏和自动设置格式选项,按需设置内容块中内容的格式,例如添加粗体、创建项目符号列表,或插入链接或媒体文件(如视频)。请参阅帮助中心文章编辑器参考。
设置内容块中内容的格式会影响所有使用此内容块的文章。
- 单击创建。
内容随即成为一个内容块,可独立存储,供其他文章重复使用。您可以编辑内容块,或返回内容块列表以执行其它管理任务。
从文章创建内容块
您可以基于单个内容单元创建内容块,例如段落、组别标题、表格、代码块或项目符号列表。您还可以基于一篇文章中的多个(连续)内容组别,甚至基于整篇文章的文本创建内容块。您可以在一篇文章中使用一个或多个内容块,以及常规文本。在本文中,常规文本是指您创建的文章文本,不在内容块中。
从文章创建的内容块将采用文章的区域设置,无论内容块本身使用什么语言。例如,如果您从西班牙语文章创建内容块,则该内容块的区域设置也将是西班牙语,即使该内容块的内容包含英语文本。
创建内容块
- 如果您尚未这样做,请保存您要在其中创建内容块的文章。
- 在您的文章中,选择您要设为可重用内容块的内容。注意:如果您选择文本片段,例如段落中的一个句子,则整个段落都将包含在新内容块中。段落或组别标题是您可以包含在内容块中的最小内容片段。
- 在顶部工具栏上,单击内容块 (
) 图标。
注意:当您从文章创建内容块时,文章将在后台保持打开状态。要返回文章而不保存内容块,单击窗口左上角的痕迹导航。 - 为内容块取一个有意义的名称,方便识别以轻松在其它文章中重复使用。
- 运用工具栏和自动设置格式选项,按需设置内容块中内容的格式,例如添加粗体、创建项目符号列表,或插入链接或媒体文件(如视频)。请参阅帮助中心文章编辑器参考。
设置内容块中内容的格式会影响所有使用此内容块的文章。
- 单击创建。
内容随即成为一个内容块,可独立存储以供其他文章重用。在文章中,文本带有阴影背景。您无需保存文章即可创建内容块。
在文章中插入内容块
您可以在任何要包含可重用内容的帮助中心文章中插入内容块。
在文章中插入内容块
- 在文章中,单击您要添加可重用内容的位置。注意:您无法将内容块插入项目符号列表或编号列表。
- 在顶部工具栏上,单击内容块 (
) 图标。
将显示可用内容块的列表。
- 选择您要添加的内容块。优化结果的方式如下:
- 指定内容块名称的一部分。仅搜索内容块名称,而不搜索内容块正文。
- 按编辑日期或创建日期排序。
- 按字母顺序排序。
- 单击内容块以预览内容。
- 单击插入。
内容块将插入到文章中,并带有阴影背景。
在源代码视图中 (
如果光标位于内容块上方,然后单击源代码视图,您将只能看到内容块上方文本的 HTML 代码。要查看内容块下方文本的 HTML 代码,请将光标放在内容块下方,然后打开源代码视图。),您将不会看到任何内容块的 HTML 代码,只会看到常规文本的 HTML 代码。这是因为内容块独立存在于帮助中心。此外,如果光标位于内容块之间,您将只能看到光标所在常规文本块的 HTML 代码。
61 条评论
Mathilde
Hi,
We’ve noticed that lately our content blocks have become more unreliable and don’t update in all the places they’re used — sometimes only in 4 out of 21 locations. Is there a limit to how many places a content block can be used?
In cases where the block doesn’t update, we’re forced to unpublish the article and then republish it. Sometimes we have to do this several times before the changes are actually reflected online.
It’s really problematic that we can’t rely on the content we have in our content blocks, and it becomes an unmanageable task to keep track of where the text is actually updated. We have 21 brands and 76 languages, so it’s a lot to go through just to check whether a content block is properly updated everywhere.
It’s worth mentioning that this issue occurs in content blocks with plain text as well as in content blocks where we use HTML code blocks.
0
Mathilde
Hi,
We’ve noticed that lately our content blocks have become more unreliable and don’t update in all the places they’re used — sometimes only in 4 out of 21 locations. Is there a limit to how many places a content block can be used?
In cases where the block doesn’t update, we’re forced to unpublish the article and then republish it. Sometimes we have to do this several times before the changes are actually reflected online.
It’s really problematic that we can’t rely on the content we have in our content blocks, and it becomes an unmanageable task to keep track of where the text is actually updated. We have 21 brands and 76 languages, so it’s a lot to go through just to check whether a content block is properly updated everywhere.
It’s worth mentioning that this issue occurs in content blocks with plain text as well as in content blocks where we use HTML code blocks.
0
Tess Starr
Is there any plans to add view permissions to content blocks. I have external facing articles where it would be helpful to have internal facing content blocks (for additional notes to agents and admins specifically) Rather than creating two separate guides, it would be helpful if I could put the internal content within blocks that cannot be viewed by end users.
0
Annika Bald
Hi dear Zendesk Team,
we would like to clean up and change the locale of the content block? We have a big mess of various ways of created content blocks in the wrong locale - bu I cannot find any way to change the locale after it was created.
It is not feasible to delete and create them all anew!
Any info on this would be highly appreciated. :)
Best,
Annika
0
M Rogers
We have accumulated several content blocks and are no longer using some of them. I see no option to delete them to reduce clutter. Will this be an option soon?
0
Mark Rickard
Why would my content block styles look different from native content?
In this example, both headers are H1. I am using the Picto template and it is up-to-date.
0
Shawna James
0
Melinda Nelson
How do you create a block with bullets and change the color of the entire block? Here's an example:
0
Dave Garofalo
Just want to upvote Aoife's feedback. Would be very useful to have content blocks in Macros. We have a “how to contact support” PDF that we attach to lots of macros, and content blocks could replace that.
0
Katarzyna Karpinska
Hi sorin, unfortunately I don't have a timeline for this change at this moment.
0
请先登录再写评论。