Espandi completamente l'indice

Is there any way to make the entire TOC show up at once instead of dynamically hiding most of it? A full post outline can be useful for finding a section without knowing and clicking through its ancestry, or so you can just read all the section names as a way to skim a post.

4 Mi Piace

I would second this feature request. I can see that this might result in long TOCs, but at least one could add an “expand all” button or Link?

3 Mi Piace

I am wondering how the TOC plugin is intended to function as I am finding its behaviour sort of odd. I have attached an animated gif below showing my observed behaviour. Is this intentional?

tocissue

My personal thought/preference is that the TOC is just fully expanded from the start.

Thanks in advance!

4 Mi Piace

[citazione=“Ralf Stockmann, post:2, topic:270661, username:Ralf_Stockmann”]
Sostengo questa richiesta di funzionalità. Capisco che potrebbe risultare in indici (TOC) lunghi, ma almeno si potrebbe aggiungere un pulsante o un link “espandi tutto”?
[/citazione]

E apprezzerei molto se l’opzione “espandi tutto” fosse sviluppata presto.

1 Mi Piace

Sebbene io ami il sommario che si espande dinamicamente, concordo sul fatto che sarebbe davvero bello avere l’opzione per visualizzare un sommario completamente espanso per wiki più lunghi!

5 Mi Piace

Ecco un dirty hack:

.d-toc-sublevel {
	max-height: 500em !important;
    overflow: visible !important;
    opacity: 1 !important;
}

Copia e incolla questo nel CSS personalizzato del tuo tema, da qualche parte in

https://www.your-domain.com/admin/customize/themes/.

7 Mi Piace

Funziona alla grande :fist_left:

2 Mi Piace

Questa sarebbe una buona aggiunta per evitare di fare affidamento su (più) CSS.

1 Mi Piace