Problem/Motivation

buildNestedParagraphsFoDragDrop() assumes that the target entity type is paragraph, however isApplicable() returns $paragraph_type->entityClassImplements(ParagraphInterface::class); allowing it to be used on other entity types that also implement ParagraphInterface

Proposed resolution

Check that the entity_reference_revisions target_type is the same as the current paragraph.

Remaining tasks

None known

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

Issue fork paragraphs-3135904

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

dwkitchen created an issue. See original summary.

dwkitchen’s picture

The new drag and drop interface works well for my use case. Thanks for the work on it.

Here is a patch.

dwkitchen’s picture

Status: Active » Needs review
socialnicheguru’s picture

Status: Needs review » Needs work

no longer apply to dev version of paragraphs

dwkitchen’s picture

Status: Needs work » Needs review

I have opened a new merge request.