Feature Request: Preserve size of ToC while document is saved

[ad_1]

First of all thanks for the plugin. It has replace all the others πŸ‘πŸ»

And here is my request:

  • When a document is saved, the ToC is recalculated.
  • During that time the ToC is replaced with a progress icon.
  • The different height of the ToC results in a jump that on long pages is rather noticeable.
  • When the cursor is down on the page every save is annoying as sometimes you lose track of the cursor while the page is jumping.

I was about to file an issue with the Gutenberg block editor when I realized that this only occurs when a SimpleTOC block is in place.

Of course I could add the ToC later on just before publishing, but I sometimes work for days or weeks on a long post and the links of the ToC are helpful while working on it. In the editor for copying and pasting internal links, in the frontend for jumping around the content.

So if there is way to preserve the size of the ToC while the document is saved that would be much appreciated.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer