Anybody has solutions for this?
This topic has been created from a Discord post (1222283589496864899) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
Anybody has solutions for this?
This topic has been created from a Discord post (1222283589496864899) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
Hi <@1219372919982129434> have you made any progress?
Have you got something on that?
If you are using the new Blocks editor, it saves content as a JSON object. You can write a little recursive function to walk that json and generate a TOC according to your needs
or you could write a react component that does this recursion itself
Any updates on this??
This would be extremely useful
This is an application specific thing that is best implemented by the developer, rather than Strapi, imho. Or maybe it should be implemented as a plugin to the upstream editor component, still not a Strapi thing
I’ve seen a few posts on forums asking for this…would be nice to include by default.
the problem is there is not a good default. It’s a presentation problem
Strapi, as I understand it, cuts itself off at the presentation point. It’s a headless CMS with an admin UI