NHSLeadership / nightingale-2-0

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

Simple Reveal block not showing content when editing page #590

Closed idh-86 closed 1 year ago

idh-86 commented 1 year ago

Describe the bug When using the Simple Reveal block, the content no longer shows when you go back into the page and is replaced with 'Reveal Contents' in the body. When you switch to edit it in HTML mode, the content is there.

To Reproduce Steps to reproduce the behavior:

  1. Use the Simple Reveal block
  2. Save the page and exit
  3. Go back into the page to edit it

Expected behavior The content should be displayed as in previous versions

Screenshots image

Desktop (please complete the following information):

maheshmuralip commented 1 year ago

Thanks @idh-86 This is basically due to an issue with nhsblocks plugin. A fix for this is added in the new version of NHS blocks https://wordpress.org/plugins/nhsblocks/.

idh-86 commented 1 year ago

Thanks for the quick response! I've installed the latest version (1.3.10) but I still can't see any of the content. Is there something I'd need to amend HTML-wise in the older blocks?

maheshmuralip commented 1 year ago

No, I don’t think so. Thanks