az-digital / az_quickstart

UArizona's web content management system built with Drupal 10.
https://quickstart.arizona.edu
GNU General Public License v2.0
30 stars 20 forks source link

Provide a Button to Delete Individual Accordion Items #1641

Open rmarsh1ua opened 2 years ago

rmarsh1ua commented 2 years ago

Motivation

When creating accordions, presently, the only way to delete individual accordion items is to clear all content from the title and body of the item. It is very unintuitive for content editors.

Proposed Resolution

Add a delete button to accordion button so that they can be removed as easily as they can be added.

Additional context

This is also related to cards, which both are built the same. While working on this issue, a follow up TODO to add this functionality was never added because it was/is blocked by this Drupal core issue.

joeparsons commented 2 years ago

I think we could more or less copy the "Delete Card" implementation that was added to Cards in #1045.