最近搜索


没有最近搜索

编辑帮助中心文章的源代码



image avatar

Charles Nadeau

Zendesk Documentation Team

已于 2025年4月01日 编辑


7

0

22 条评论

Hello, 

During the initial migration to Zendesk, embedded code from the previous HC provider was included in the articles.  It doesn't impact the functionality, but I would like to avoid future problems.  Is there a way of searching for and stripping all of that code automatically?  It is a long manual process because I have to get into the code of each article individually.

0


8001833167258 you'll need to navigate to the “Security” section in your Guide settings and make sure the “Display unsafe content” option is checked.

0


Hi.

 

I see <script> as unsafe HTML elements. But how can i implement Schema markup with Json-LD script? It is totally safe script which i need to make my articles more accesible for Google.

0


Hi Felix,
 
Currently, the options in the editor are fixed. If you can't find the specific option you need for your article, you can always add it in the source code or theme code. Providing this feedback would be really helpful for us to improve our product.
 
I suggest creating a new post in the General Product Feedback topic in our community. This way, you can connect with other users who might have similar needs and explore potential workarounds together. Engaging in discussions with a lot of users can catch the attention of our product managers during roadmap planning. Thank you.
 
Best,
Paolo | Technical Support Engineer | Zendesk

0


Hi, I was wondering if it is possible to add custom options to the WYSIWYG editor?
I have certain elements that I want to use consistent formatting, which is not available via the editor. For this purpose, I have created custom classes in the CSS style file, but I am not able to use these classes without having to open the source code every time.

0


1265139235370 you can wrap Font Awesome in <span> tags instead of <i> tags. In certain cases, such as tables, empty <span> tags are removed, so you have to add a non-breaking space (&nbsp;) inside the <span>.

1


Note: Even if your help center doesn't strip safe tags, the third-party HTML article editor used in the help center (TinyMCE) may strip some safe tags from the HTML. For example, the editor removes <i> tags with no content, such as those used for Font Awesome icons.

Does anyone know of any workarounds/resolutions to this?

 

0


The "safe" list is missing a few semantic HTML elements:

  • figure
  • figcaption
  • mark

1


5240986373786 take a look at Welcome to WhatsApp in Zendesk Support.

If you can't find what you need there you should contact our support using the chat in the bottom right corner.

1


Hi! Are safe tags and attributes for tickets the same as the ones listed here? Or perhaps there are two different lists for those altogether?

0


登录再写评论。