Layout Builder – paragraphs field disappears after editing paragraph with AJAX enabled

Created on 3 April 2025, 15 days ago

Problem/Motivation

If Layout Builder used to display paragraphs field, editing of the paragraph with Frontend Editing ("Enable Ajax content update" is turn on) results into disappearing of the field from display. The changes saved and visible after page reload, so the problem is with AJAX callback only.

Steps to reproduce

1. Create content type with Paragraphs field
2. Enable Layout Builder for this content type and put Paragraph field into layout section
3. Enable and configure Frontend Editing so you can edit paragraphs, enable "Enable Ajax content update" in UI settings
3. Create content of this content type and add some paragraphs
4. Go to created page and edit one of the paragraphs using Frontend Editing, click Save
5. All paragraphs disappear, no errors in log

Proposed resolution

Update FrontendController's update content method, so it respects Layout Builder settings

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

🇵🇱Poland nsavitsky

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