Skip to content

Need a way to modify the "RSVP" block #589

@carstingaxion

Description

@carstingaxion

Is your enhancement related to a problem? Please describe.

Hello GatherPress crew!

I'd love to have the ability to rename the existing Attending block. And further on, to style it.

This has nothing to do with translations, but with restrictions of the current button-implementation as it does not allow an editor to change the Button-Text itself. Maybe someone prefers Join us or Take part over Attending, but there is no way to change this.

This impossibility to modify basic stuff also took place as I wanted to change any styling. I expected all the controls, that buttons usually have (allowed within the current theme), but found nothing.

Maybe it would be a better approach to not create a custom block from scratch, but instead use a button-block variation. This would prevent GatherPress from the ongoing maintenance burden, to keep those custom blocks close to their core-equivalents. Having just variations allows to add needed functionality, while still having everything common UI elements in place, if theme and user-role allow for it. This is also true for the button and the query-loop blocks. I highly encourage everybody to consider creating block-variations from core-blocks instead of custom blocks, especially with the rise of the Block Bindings API or the Interactivity API.

  • Have you considered using a block-variation for the Attending block?
  • What where the reasons for creating a custom block?

Thanks in advance.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions