Issue Task Resolved

#110541Offer content element column restrictions in the page module UI

Josua Vogel 08/27/26, 09:52 updated 09/14/26, 11:25

Description

Backend layout columns support restricting content element types per column via the allowedContentTypes and disallowedContentTypes column configuration. These restrictions are currently only enforced in DataHandlerContentElementRestrictionHook when the DataHandler actually processes the command.

Current behavior

The backend still offers actions that are guaranteed to fail:

  • Copy & Paste offers the “Paste into” / “Paste after” buttons for every column.
  • Drag & Drop shows drop zones in every column.
    When the user targets a column that does not allow the element’s CType, the operation is silently dropped by the hook and the user only gets a generic error notification afterwards.

This is confusing: the UI invites an action and then rejects it with a technical message.

Expected behavior

The restriction should be visible before the action is attempted:

  • No “Paste into” / “Paste after” button is rendered for a column that disallows the CType of the element on the clipboard.
  • Drag & Drop does not present a drop zone in a column that disallows the dragged element’s CType, so the drop is not possible in the first place.

Reviews 2