Disable drupalAutoButtons for modal

Created on 25 August 2022, over 2 years ago
Updated 29 January 2024, 11 months ago

Problem/Motivation

When using paragraphs inside the modal block edit form, the "add new paragraph" button drops to the UI dialog button pane, but the block submit button doesn't. This is confusing to content editors.

Proposed resolution

To fix this, we can add one line to the modal dialog options to disable drupalAutoButtons. Unfortunately this setting is currently ignored by core, so users will also need to to install a patch from this related issue πŸ› Dialog drupalAutoButtons option should be respected on initial load Needs review .

Steps to reproduce

  • Enable Layout builder, Layout builder modal, and Paragraphs
  • Create a custom block type with a Paragraphs field
  • Add/Edit an instance of that block type in Layout Builder
πŸ› Bug report
Status

Needs review

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jayhuskins

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024