Collapse-O-Matic > Classic Editor Test

This is another example of the swap-title test, but using the Classic Editor instead of the Block Editor:

Span

[expand title="Läs mer" swaptitle="Visa mindre"]the target content[/expand]

Läs mer
the target content

Div

[expand title="Läs mer" swaptitle="Visa mindre" tag="div"]the target content[/expand]

Läs mer
the target content

Elwraptag & Span

[expand title="Läs mer" swaptitle="Visa mindre" elwraptag="div"]the target content[/expand]

Läs mer
the target content

Elwraptag & Div

[expand title="Läs mer" swaptitle="Visa mindre" tag="div" elwraptag="div"]the target content[/expand]

Läs mer
the target content

WordPress / Theme

WP Version Theme Block Classic
5.7.0 Twenty Twenty span – 15px float left
div – 20px
wrap & span – 8px
wrap & div –  4px
span – 15px
div – 20px
wrap & span – 4px
wrap & div –  8px
5.7.0 Twenty Seventeen span – 4px
div – 8px
wrap & span – 4px
wrap & div –  8px
span – 20px
div – 10px
wrap & span – 4px
wrap & div –  10px