TinyMCE - How to configure the Table Of Content option to use H1 to H9

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 02:07 AM
We are using TinyMCE (without any customization) and have enabled the TOC icon so knowledge creators can make a Table Of Contents based on the headers used in their knowledge article.
However, we are limited to use only heading 3 as heading 1 and 2 are way too big to use.
From the TinyMCE documentation online:
tableofcontents_depth
By default headers in the content will be inspected only three levels deep, so - H1 through H3. But it is possible to change this behavior by setting tableofcontents_depth to any number in 1-9 range, therefore matching all the headers beginning with H1 and all the way down to H9.
Type: Number
Default value: 3
Can this tableofcontents_depth setting be changed in the TinyMCE editor in ServiceNow?