Add-in-between does not work / all elements are added at the end

Created on 15 March 2024, 6 months ago
Updated 18 April 2024, 5 months ago

Problem/Motivation

The feature is not working with the latest version, I've tried to add some entities in between but they keep showing at the end.

Steps to reproduce

Currently the setup is:

  • Drupal 10.2.2
  • Gin 8.x-3.0-rc9
  • Paragraphs Editor Enhancements 10.0.3

And the steps to reproduce:

  1. Create a node with a multiple paragraphs field configured with add-in between feature enabled
  2. Add different paragraph entities in the field
  3. Click in the button between the paragraphs
  4. The new paragraph gets added at the bottom

Here's a quick screencast that shows the issue https://www.loom.com/share/f49613893f634c01ab14d584e60ec7d5

Proposed resolution

Not sure if this works with deltas, probably the JS function is not picking them right.

πŸ› Bug report
Status

Closed: works as designed

Version

10.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024