Crop is broken on layout_builder

Created on 16 February 2024, 10 months ago

Problem/Motivation

When using layout builder, the crop interface is broken, showing the image twice.

Steps to reproduce

Create a block with an image field and change its form display to use ImageWidgetCrop
Go to a content type with layout builder enabled and add a block
When you're editing it, in the image field, your image will be duplicated.

Proposed resolution

This is being caused bc layout builder attaches a library with the reset.css library, which reset all styles in the page (reset.css ). My solution would be to do smth similiar to the gin_lb module, that removes this lib and add its custom css (gin_lb

🐛 Bug report
Status

Active

Version

2.0

Component

User interface

Created by

🇧🇷Brazil hmendes

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024