Additional functions in Knowledge Articles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 06:24 AM
Has anyone added dropdown menus in knowledge articles with links to anchors that take the reader to a certain section of the article.
Also, has anyone added tabs within a knowledge article allowing the reader to click on a tab to view information specific to the tab.
The standard knowledge editor does not offer these features, but perhaps you can add these in the html?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 06:31 AM
Good morning!
I haven't done that SPECIFICALLY, but, if you use a combination of collapsible content, anchor tags, and attachments that open in a new window, you can mimic all those behaviors.
I've created collapsible content using the following code:
<details>
<summary>HEADER GOES HERE</summary>
<p>content content content</p> (You can do tables, anchor tags, just code as normal)
</details>
And I've done anchor tags all over the place - to create a table of contents at the top and to go from one article to the specific section of a different article. You can also put anchor tags in a knowledge block and you can link to it from wherever (same article or different article) and it will work when published.
I haven't seen a need for tabs within the same article yet. I just attach docs (FAQs, spreadsheets, etc.) and have them either open in a new internet browser tab or have them download. (I tend to have things that are meant to be read only or be a resource open in a new tab. Forms, spreadsheets, anything that has to be filled out, saved, used, and sent somewhere - those things I code to download automatically to save a step for the user.)
I find this coding MUCH EASIER to do, since I'm working mostly with people who are not super familiar with HTML - including myself. But these techniques are easy to use and to combine.
I hope this helps. PLease feel free to reply if you have follow-up questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 07:36 AM
Thanks for sharing the collapsable content code! I'm anxious to give that a try!
Did you know the TinyMce editor has a built-in table of contents tool that can be enabled?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2023 07:23 AM
For a Table of Contents, that feature is now built-in to the Tiny MCE toolbar (upgraded in Tokyo). See this thread for more info:
However, for transparency's sake, I did attempt to follow this but had trouble surfacing the ToC button on the toolbar. I'm still experimenting with enabling it globally via Sys properties vs. specifically per field. Enabling it per field definitely does work but obviously global would be better. We are also using Service Operations Worskpace to edit articles, which is a factor in surfacing the button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2024 09:42 AM
To get the ToC button to become available you have to change the font size to Header 3 (or higher) of the ToC line you want showing in the ToC.
(This ToC will automatically become available in the toolbar "AFTER" you set the Headers below in the article. One the Section title headers have been set, and you press the ToC it will automatically create the ToC.
Table of Content
- New Information
- Expired Information
New Information: (set this section title wording to font size (header 3 or higher)
The new information for this kb is .. blah blah blah...
Expired Information: (set this section title wording to font size (header 3 or higher)
The expired information for this kb is... blah blah blah..