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 @Moin 2024-12-08T23:42:05Z

Check documentPerform check on document:
54 лайка

Добавлен тег broken (проблема описана здесь: Topic toolbar popup menu does not show).

Компоненту требуется несколько обновлений для работы в последней версии Discourse.

РЕДАКТИРОВАНИЕ: Кроме того, он заархивирован на GitHub

4 лайка

Окей, я только что разархивировал это. :slight_smile:

3 лайка

Но почему? Последний коммит был пять лет назад. Это не может работать, и, скорее всего, оно было заархивировано не просто так.

Я полагаю, что всё работало до недавнего времени, но было, возможно, немного преждевременно заархивировано в рамках излишне рьяной уборки в 2021 году. Кажется, с тех пор в нём просто не было необходимости что-либо обновлять. :person_shrugging: (по крайней мере, до настоящего момента).

Но, думаю, мы увидим. :slight_smile:

3 лайка

На самом деле, более серьёзная проблема с институциональной точки зрения заключается в том, что кто-то заархивировал документ, но оставил его помеченным как «официальный». (Но я не являюсь частью этого института, поэтому могу ошибаться!)

1 лайк

Это, безусловно, было частью узла, который я пытался распутать. :slight_smile: Но если нам удастся снова заставить его работать, всё будет замечательно. :slight_smile: :crossed_fingers:

(А если нет, я смогу корректно вывести его из эксплуатации)

5 лайков

Поехали, я отправил PR для исправления компонента: :+1:

6 лайков

PR был слит.

Я удалил тег broken. :+1:

5 лайков