NHSLeadership / nightingale-2-0

A WordPress theme for the NHS using the NHS.UK frontend library
Other
28 stars 15 forks source link

Card Region blocks don't theme correctly under WordPress 6.0 #498

Closed idh-86 closed 2 years ago

idh-86 commented 2 years ago

Describe the bug Card Region blocks fail to render correctly when added to new pages after upgrading to WordPress 6.0

To Reproduce Steps to reproduce the behavior:

  1. Add a Card Region block to a page
  2. Save/preview the changes

Expected behavior Block should render as shown in the block editor

Desktop (please complete the following information):

Block as shown in block editor: image

Block as shown in actual page: image

CastorUK commented 2 years ago

Don't think this is related to WP 6, I was able to replicate on WP 5.9.

Checking styles history, it appears all the "nhsuk-care-card" styles have been renamed to "nhsuk-card-care".

But could be something else happening here.

maheshmuralip commented 2 years ago

Hello @CastorUK and @idh-86, Thanks for your comments. This is fine with the latest version of the theme Nightingale(2.4.3) and plugin Nhsblocks (1.3.2) Thanks