avo-hq/avo

Show trix / rhino always_show variation

Offen

#3.263 geöffnet am 24.09.2024

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Ruby (308 Forks)user submission
Good first issueHelp wanted

Repository-Metriken

Stars
 (1.778 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 6h) (67 gemergte PRs in 30 T)

Beschreibung

Feature

Show a part of the content with a click to see more See loom: https://www.loom.com/share/d95cfc272bb84e1797870265c9a710fb

to be discussed how we introduce this without creating regressions for users that really want to hide everything. introduce an extra boolean? partial_show ?

Current workarounds

Define a custom partial for the show action -> copying the app/components/avo/fields/trix_field/show_component.html.erb and using our own styles?

or overwriting the hidden CSS class within this wrapper?

Contributor Guide