Skip to content

Banner block schema and tailwind conflict fix - #24

Open
Tishasoumya-02 wants to merge 6 commits into
mainfrom
banner-block-schema-fix
Open

Banner block schema and tailwind conflict fix#24
Tishasoumya-02 wants to merge 6 commits into
mainfrom
banner-block-schema-fix

Conversation

@Tishasoumya-02

Copy link
Copy Markdown
Contributor

No description provided.

default: 'layout',
filterActions: ['layout', 'full'],
actions: config.blocks.widths,
actions: [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tishasoumya-02 Aren’t we going backward from a configurable approach to a hardcoded one?

@Tishasoumya-02 Tishasoumya-02 Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a quick fix at that moment, I created a PR in VLT kitconcept/volto-light-theme#910, applying the same fix as it is for separator and button block blocks.tsx and ButtonStylingSchema

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can close this PR

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tishasoumya-02 no because standalone banner block will be broken. The correct fix is only one line change.

actions: config.blocks.widths.map((width) => width.name)

missing map which we fix in Volto and left here. please amend this and then we will merge this. I will check the VLT pr.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still breaks the acceptance test , screenshot below
Screenshot 2026-08-11 at 2 12 20 PM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, i check the button block there we don't even pass this will talk with @sneridagh regarding this https://github.com/kitconcept/volto-button-block/blob/main/packages/volto-button-block/src/components/schema.js#L86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants