Scrollable Post Content

:discourse2: Summary Scrollable Post Content will allow you to add scrollable sections in posts with one click!
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/Scrollable-post-content
:open_book: New to Discourse Themes? Beginnerā€™s guide to using Discourse Themes

Install this theme component

Features

Desktop

Mobile

Composer button

How do I use it?

There are two ways to add scrollable content.

  1. highlight the content you want to target, then click the button in the composer.
  2. click the composer button and start typing / paste content.

Settings

Name Description
scrollable content height Set the desired height for scollable content in pixles - e.g 300 - Units are not needed.
scrollable content button icon Choose the icon for the scrollable content button in the composer

This theme comes with two settings:

  1. Content height

    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.

  2. Scrollable content button icon

    this allows you to set the icon used for the scrollable content button in the composer.

Translation Default
insert_scrollable_content Insert scrollable content

:discourse2: Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @JammyDodger 2024-06-15T11:14:22Z

Check documentPerform check on document:
54 Likes

Added the broken tag (issue reported here Topic toolbar popup menu does not show).

The component requires some updates to work on the latest Discourse version.

EDIT: Also, itā€™s archived on GitHub

4 Likes

Ok I just un-archived it. :slight_smile:

3 Likes

But why? The last commit was five years ago. It canā€™t work, and it was probably archived for a reason.

I believe it was working until recently and had been archived possibly a little too prematurely as part of an overly enthusiastic clear-up back in 2021. I think it just hadnā€™t needed anything updating since. :person_shrugging: (until now, at least).

But weā€™ll see, I suppose. :slight_smile:

3 Likes

Actually, the bigger problem, institutionally, is that someone archived it but left it marked as ā€œofficialā€. (But Iā€™m not part of the institution, so I may be wrong!)

1 Like

That was certainly part of the knot I was trying to untangle. :slight_smile: But if we can get it working again then it should all be peachy. :slight_smile: :crossed_fingers:

(And if not, I can retire it properly)

5 Likes

Here we go, I made a PR to fix the component: :+1:

6 Likes

The PR has been merged.

Iā€™ve removed broken tag. :+1:

4 Likes