This is a theme component that will allow you to add scrollable sections in posts with one click!
After clicking “view theme” navigate to the “Scrollable post content” topic in the #General category
This theme comes with two settings:
this allows you to set the desired height of the scrollable content in pixels. It defaults to 300. If you want to change it, just add a number, no need for units.
Scrollable content button icon
this allows you to set the icon used for the scrollable content button in the composer.
The component comes with one string that you can translate.
insert_scrollable_content: Insert scrollable content
This acts as the label for the composer button.
How do I use it?
There are two ways to add scrollable content.
- highlight the content you want to target, then click the button in the composer.
- click the composer button and start typing / paste content.
Either way works so it’s up to you.
How do I install this theme component?
Follow the theme installation guide and add the theme component to your active themes.
If you’re new to Discourse themes, you can learn more about them here.