Currently, in SEEDS UI patterns (e.g., Teasers):

The component YAML does not include an extra_wrapper_class prop, so designers cannot add custom wrapper classes via the Visual Editor.

The existing element__wrapper prop, intended to allow selection of the HTML tag, does not render correctly in Twig templates.

Twig templates do not use the attributes object when rendering the wrapper element.

As a result:

Any class added in the Visual Editor or via attributes.class is ignore.

Issue fork seeds_ui-3545418

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mahmoud barhouma created an issue. See original summary.

mahmoud barhouma’s picture

Issue summary: View changes

ahmad-alyasaki’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.