For "Table of Contents" to appear, there must be four or more headings/sub-headings showing in the text field. It will then appear automatically and you can toggle between "Show" and "Hide".
With three or fewer headings you cannot create a "Table of Contents".
If you particularly want a "Table of Contents", simply add additional headings in the text field.