bcgov / bcbb

A collection of modules for the Drupal base build used to streamline the build and deployment of applications at Ministry of Finance.
GNU General Public License v2.0
2 stars 0 forks source link

Add Panels patch to enable style settings on a block #10

Closed CraigClark closed 1 year ago

CraigClark commented 1 year ago

OP timer

https://openplus.monday.com/boards/4092908516/pulses/4666686647


This feature support the following requirements

alpha release

Additional context

There is currently no way to add custom classes to blocks on a panels page. I had a discussion with Joel about this and ke provided the following info:

So, if you look at the PATCHES.txt file in panels on other sites you can see the patches that were applied... in this case the patch came from drupalwxt so it is not in our composer.json Enter drupal/panels patch #2849867 description here Source: https://www.drupal.org/files/issues/2020-04-30/panels_custom_attributes_in_panels_blocks-2849867-78.patch might be worth getting Liam to add all patches to panels that DrupalWxT add.

Proposed solution

  1. Apply the patch Joel mentioned.
  2. Check panels patches used on WxT and add those as well.

Definition of done (DoD)

panel block style settings screen capture

CraigClark commented 1 year ago

Validated that this is done. I can now add classes, IDs and custom css to a block on the page builder