TOP Table of Contents>>Auto Insert>> Select where to insert automatically.
With Auto Insert, you can set a table of content to be automatically inserted on any page or post.
When inserting the table of contents through Gutenberg or shortcodes, leave these options blank.