Custom attributes in panels blocks and variants

Created on 5 February 2017, almost 8 years ago
Updated 24 August 2023, about 1 year ago

Problem/Motivation

I've seen that in a block variant, when you add a block you can't set custom css classes and ids, like you can do in drupal 7 with content panes.

Proposed resolution

Use similar solution to this #2710169: Custom attributes in blocks β†’

Remaining tasks

  • Add form fields
  • Update from submitter to save attributes
  • Update builder to output classes and IDs
  • Update schema

User interface changes

Add two textfields for block configuration form to insert classes and IDs for each block in panel variant.

API changes

No

Data model changes

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada dstorozhuk Chicago πŸ‡ΊπŸ‡Έ, Toronto πŸ‡¨πŸ‡¦, Kyiv πŸ‡ΊπŸ‡¦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024