Problem/Motivation

I recently found myself needing to delete all the paragraphs in a node, but I realized that I only have the option to edit all, collapse all and drag and drop, but not the option to delete all, clarifying if I can delete one by one the paragraphs but I have a case of 200 in some nodes which would be almost impossible for me, so I would like to know how I can activate this option

CommentFileSizeAuthor
#4 Remove-all-action.png49.74 KBjannakha
#4 Remove-all-button.png85.76 KBjannakha

Issue fork paragraphs-3337935

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Nelo_Drup created an issue. See original summary.

jannakha’s picture

Version: 8.x-1.15 » 8.x-1.x-dev

jannakha’s picture

Title: Question support option delete all » Add option 'Remove all'
Category: Task » Feature request
Status: Active » Needs review
StatusFileSize
new85.76 KB
new49.74 KB

Changes in MR#75

NOTE:
- there's no checks for user access to delete for each paragraph (can be done later)
- button will not show up on default admin theme if paragraph_features are enabled as it overrides those actions

Screenshots:

smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

Seems like a feature that will need test coverage.