avo-hq/avo

Show trix / rhino always_show variation

开放

#3,263 创建于 2024年9月24日

 (3 条评论) (0 个反应) (0 位负责人)Ruby (308 个派生)user submission
Good first issueHelp wanted

仓库指标

星标
 (1,778 个星标)
PR 合并指标
 (平均合并 1天 6小时) (30 天内合并 67 个 PR)

描述

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?

贡献者指南