Allow <details> and <summary> tags in project release notes

Created on 5 December 2022, about 2 years ago
Updated 25 October 2024, about 2 months ago

Problem/Motivation

The Drupal core release managers would like to use the <details> and <summary> tags in release notes, in order to cut down visual noise but allow users to click to view additional information.

Steps to reproduce

See https://www.drupal.org/project/drupal/releases/10.0.0-rc1 β†’ where we tried to use these tags to wrap the full changelog.

Proposed resolution

Add <details> and <summary> to the relevant text filter.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

3.0

Component

User interface

Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

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.

  • πŸ‡ΊπŸ‡ΈUnited States dww

    Happy to open another issue if appropriate. I think we should expand the scope to allow these tags anywhere d.o allows filtered HTML. Comments on issues (and issue summaries) are two other spots where they would come in very handy (although I guess we have to make sure those would still work once we migrate to GitLab issues). Project pages themselves could also benefit...

    • drumm β†’ committed f05a57ef on 7.x-3.x
      Issue #3325362: Allow <details> and <summary> tags WYSIWYG
      
  • πŸ‡ΊπŸ‡ΈUnited States drumm NY, US

    It looks like this is supported in GitLab, so would migrate okay.

    Yes, this would be a global allowing this markup.

    The commit I’ve pushed addresses the second part of #2, so places with WYSIWYG editing don’t remove the tags when they are allowed.

    The default styles need to be checked before actually allowing this markup.

Production build 0.71.5 2024