- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2021 08:03 AM
Hello,
I am trying to enable the table of content in the html editor, but it looks like the option does not exist.
I have tried the following so far:
1. Inset table of content:
https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/product/knowledge-management/task/insert-toc-html-editor.html
that did not work as the button was not available.
2. then I went to
https://docs.servicenow.com/bundle/quebec-platform-administration/page/administer/form-administration/task/t_ConfigureTheTinyMCEHTMLToolbar.html
that did not help
3. then I went to this
https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/workspace/concept/tinymce.html
4. after that I started experimenting and modified that value field for glide.ui.html.editor.v4.toolbar.valid.buttons to include buttons that I could not see (anchor and toc), that did work for the anchor but not for the toc.
so right now I do not know what else to do to get the toc and the toc update available in my HTML editor
Solved! Go to Solution.
- Labels:
-
Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2021 06:50 AM
Today, I tested this feature in more detail in three of our demo instances: Quebec, Paris, and Orlando. Here are my findings:
- In Orlando: "toc" is not by default included in properties glide.ui.html.editor.v4.toolbar.valid.buttons and glide.ui.html.editor.v4.toolbar.line1. And even after I added it manually to both properties, the "toc" icon didn't appear in the toolbar.
- In both Paris and Quebec, "toc" is by default included in property glide.ui.html.editor.v4.toolbar.valid.buttons, and the "toc" icon appears in the toolbar even it is not in the value field in glide.ui.html.editor.v4.toolbar.line1. See the screenshots from the Paris instance:
My personal conclusion: "toc" is a feature that was added in Paris, and your instance was upgraded from Orlando or an earlier version, but something went wrong during the upgrade, and this is the reason why this feature is not available there. I think you have two options: either instance z-boot or to report an issue on HI.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2021 08:22 AM
That's strange, indeed. I have just tried it on my PDI (Quebec), and it works as described in the documentation.
1. I have updated property glide.ui.html.editor.v4.toolbar.line1 by adding the element toc.
2. The icon appeared in the editor, and it worked; see the screenshot:
3. Maybe you can try to use it in another instance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2021 08:41 AM
We are testing upgrading from Ontario to Quebec right now and it appears to me that the System Properties... UI Properties settings for the TinyMCE are being ignored. It also appears (whether this is the same or not) that it is also ignoring glide.ui.html.editor.v4.toolbar.line1 and glide.ui.html.editor.v4.toolbar.line2 values.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2021 08:49 AM
If any OOTB feature is not working on an instance whereas it works correctly on other instances, you might report the issue to HI, asking them for support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2021 04:44 AM
This is how my toolbar looks like after all the changes:
Available buttons:
glide.ui.html.editor.v4.toolbar.line1
glide.ui.html.editor.v4.toolbar.line2
To be honest I am not sure where else to look to get this fixed...