Conteúdo do Post Rolável

: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 curtidas

Adicionada a tag broken (problema relatado aqui Topic toolbar popup menu does not show).

O componente requer algumas atualizações para funcionar na versão mais recente do Discourse.

EDIT: Além disso, está arquivado no GitHub

4 curtidas

Ok, acabei de desarquivá-lo. :slight_smile:

3 curtidas

Mas por quê? O último commit foi há cinco anos. Não pode funcionar e provavelmente foi arquivado por um motivo.

Acredito que estava funcionando até recentemente e foi arquivado, possivelmente um pouco prematuramente como parte de uma limpeza excessivamente entusiasmada em 2021. Acho que simplesmente não precisou de nenhuma atualização desde então. :person_shrugging: (até agora, pelo menos).

Mas veremos, suponho. :slight_smile:

3 curtidas

Na verdade, o maior problema, institucionalmente, é que alguém o arquivou, mas o deixou marcado como “oficial”. (Mas eu não faço parte da instituição, então posso estar errado!)

1 curtida

Essa certamente foi parte do nó que eu estava tentando desatar. :slight_smile: Mas se conseguirmos fazer funcionar novamente, tudo ficará perfeito. :slight_smile: :crossed_fingers:

(E se não, posso aposentá-lo devidamente)

5 curtidas

Vamos lá, fiz um PR para corrigir o componente: :+1:

6 curtidas

O PR foi mesclado.

Removi a tag broken. :+1:

4 curtidas