form-builder icon indicating copy to clipboard operation
form-builder copied to clipboard

FormElementWrapping not compatible with neos-ui 8.3.10

Open patricekaufmann opened this issue 1 year ago • 1 comments

In the Neos backend certain collection divs are not displayed correctly, the whole UI crashes and becomes unusable. For example when rendering a ValidatorCollection with a nested TextValidator, the following problem occurs:

  • Instead of two nested divs (one for the ValidatorCollection and one for the TextValidator), there will be a single div with combined attributes, e.g. data-_neos-form-builder-type="Neos.Form.Builder:ValidatorCollection Neos.Form.Builder:TextValidator" - the same behaviour applies to the fusion path. The wrong fusion path is what eventually leads to the UI crashing.

Why is that?

Neos 8.3.10 no longer adds script tags when wrapping Content and the HtmlAugmenter now detects a root element, making it possible to add attributes instead of wrapping inside the fallback tag.

patricekaufmann avatar Oct 01 '24 12:10 patricekaufmann

@patricekaufmann Can we close this? AFAIS this is solved in #140

dlubitz avatar May 15 '25 10:05 dlubitz