Reviewed & tested by the community
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
21 Jan 2020 at 09:18 UTC
Updated:
6 Jul 2026 at 11:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedJohnatas created an issue. See original summary.
Comment #2
guypaddock commentedOn a related note, we've gotten user feedback that the current behavior of "Remove" being under a drop-down/pop-out menu is awkward and they really wish there was a delete button or similar on the paragraph item. What's described here in this ticket goes even further toward more efficient bulk operations.
Comment #3
berdirFrom our perspective, a client-side delete implementation would address the multiple part, if the delete action is immediate, without ajax delay, then I think that would be sufficient. See #2833934: Introduce client side remove, with confirmation? and undo
Making the delete button always visible could be a widget setting, but could be tricky with the available space, maybe as an icon like in those old mockups.
Comment #4
jannakha commentedif anyone needs a patch to "Remove all" - https://www.drupal.org/project/paragraphs/issues/3337935
Comment #5
anybodyBulk selection of paragraphs for deletion would still be useful :) Bringing this back to life.
Comment #8
cmarrufo commentedHi everyone!
I opened a MR for this feature. I had something similar in a project and have tried to adapt it as best as possible for the widget. Here is a short demo video showing how it works.
Note: I'm aware that the description for this issue mentions displaying a confirmation message before deletion (perhaps a confirmation dialog box or something similar), but I haven't implemented that yet; right now, the deletion happens immediately.
Comment #9
cmarrufo commentedComment #11
tushar1 commentedTested on:
Drupal 11.4.0
Paragraphs module
Steps performed:
Installed and enabled the Paragraphs module.
Created a Paragraph type with a text field.
Added a Paragraph reference field to the Article content type.
Created an Article with a single paragraph.
Verified that no checkbox is displayed and the existing delete button is available (as per the proposed behavior).
Added multiple paragraphs to the Article.
Verified that checkboxes are displayed for each paragraph when there are two or more paragraphs.
Verified that the Delete selection button is displayed.
Selected multiple paragraphs and clicked Delete selection.
Confirmed that only the selected paragraphs were removed while the remaining paragraphs retained their order.
Comment #12
tushar1 commented