inappropriate Popup alert on save on Layout Builder and Paragraph Field

Created on 27 September 2023, about 1 year ago

Problem/Motivation

Similar to the [3221020] issue, We are able to reproduce the issue with the Gin theme 8.x-3.0-rc6 with Layout Paragraphs 2.0.3. In our application, we are using the Layout Paragraphs in the node Layout builder and Node Paragraph Field. To fix the issue we have rerolled the patch to work with both scenarios.

Steps to reproduce

1. Create content type with Layout Builder.
2. Create Paragraphs and use them in the Content-type Layout builder.
3. Create a node and got to the Layout builder
4. Use the Layout Paragraphs and choose the required Paragraph.
5. Add content to the Paragraph and try to save.

Proposed resolution

Fix the logic in preventLostChanges on layout_paragraphs/js/builder.js

Remaining tasks

Testing

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India arunkumark Coimbatore

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

Comments & Activities

Production build 0.71.5 2024