AJAX View Mode Switching Does Not Work with Layout Paragraphs

Created on 8 July 2025, 3 months ago

Problem/Motivation

When using the Paragraph View Mode module in combination with Layout Paragraphs, the AJAX view mode switching feature does not work inside modal/off-canvas paragraph editors.

Steps to reproduce

  1. 1. Install and enable Paragraph View Mode and Layout Paragraphs.
  2. 2. Create a paragraph type with multiple view modes and matching form modes.
  3. 3. Add this paragraph inside a layout region of Layout Paragraphs (e.g., in a 2-column layout).
  4. 4. Attempt to switch view modes using the dropdown while editing the paragraph in the modal.
  5. 5. The AJAX spinner spins, but the form does not reload with the new form mode.

Proposed resolution

The form should reload via AJAX and reflect the matching form mode, just like it does when using standard paragraph editing.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Jordan.Schmitt

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

Comments & Activities

Production build 0.71.5 2024