Skip to content

[BUG] Copy/Paste conflicts with Containers #92

@JonEG

Description

@JonEG

Summary / Description

When copying and pasting a content element inside a container, this new content element gets automatically sent to unused content elements.

Version

"ehaerer/paste-reference": "^4.0.3"
"b13/container": "^3.2.3"
"typo3/cms-core": "^13.4.28"

Steps to reproduce

  1. Create a container add
  2. Add a content element
  3. Copy it and paste it inside the container.

Expected behaviour

New content element should appear as copy of the original inside the container.

Actual behavior

New content element appear under unused content elements.

Additional

Possible fix

I was able to track the bug to file vendor/ehaerer/paste-reference/Resources/Public/JavaScript/paste-reference.js Here 't3js-paste' gets replaced by 't3js-paste-default' but containers needs this class on b13/container/Resources/Public/JavaScript/Overrides/paste.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions