Slots that contain only text nodes render drop-zone when they should not

Created on 25 March 2025, 10 days ago

Overview

When a slot contains only text dom nodes, the drop-zone will render.

(almost)Copy/paste example

Drupal.org renamed some of the YML files, so they may have to be fixed in order to import properly.

A component that spits out a slot with no frills: https://www.drupal.org/files/issues/2025-03-25/experience_builder.compon... β†’

A component that spits out a text DOM node (no tags): https://www.drupal.org/files/issues/2025-03-25/experience_builder.compon... β†’

A pattern exhibiting the problem: https://www.drupal.org/files/issues/2025-03-25/experience_builder.patter... β†’

Proposed resolution

No clue - probably a front-end thing.

User interface changes

None

πŸ› Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

πŸ‡ΊπŸ‡ΈUnited States luke.leber Pennsylvania

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

Comments & Activities

Production build 0.71.5 2024