- 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
10-20-2021 04:37 AM
Hello,
As someone stated below, this appears to also be an issue in Quebec.
When we upgraded to Quebec Patch 8 the attribute field of Article Body on Knowledge was cleared out, without the system properties for available TinyMCE buttons being changed.
We added the previous attribute and it came alive again (with TOC among others).
Here's the attribute field text:
editor.height=300,editor.plugins=table colorpicker textcolor link image media codemirror lists advlist fullscreen charmap directionality emoticons hr insertdatetime nonbreaking pagebreak print searchreplace wordcount anchor toc codesample visualblocks visualchars compat3x autolink align_listitems,editor.toolbar= fontselect fontsizeselect | bold italic underline strikethrough forecolor backcolor pastetext removeformat | formatselect searchreplace undo redo | bullist numlist outdent indent alignleft aligncenter alignright | toc table link unlink image media codesample | code fullscreen,serializer=com.glide.script.TranslatedTextXMLSerializer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2023 12:12 AM
Hello there - obviously this was some time ago and I might be making a completely invalid comment, but I have found that the TOC option is not available until the relevant heading styles have been applied somewhere in the article. It's not mentioned in the question so I thought it might still be a useful point for someone else reading the question.