Hide/Show Caption and Alignment fields in for each entity embed

Created on 25 April 2024, 7 months ago
Updated 9 May 2024, 6 months ago

Problem/Motivation

Feature to have the ability to hide and show alignments and caption fields, when not needed, for every entity embed

Proposed resolution

At the time of entity embed form, giving the devs ability to align items or caption fields, for the use

Remaining tasks

A patch that will hide the caption and align options

Feature request
Status

Needs review

Version

1.6

Component

Code

Created by

🇮🇳India Aziza Anwari Gujarat

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

Comments & Activities

  • Issue created by @Aziza Anwari
  • Assigned to Gurkawal
  • Status changed to Needs review 7 months ago
  • 🇨🇦Canada ryanrobinson_wlu

    I tried this patch as I was looking for the same thing. The general idea works, but I have a couple suggestions.

    One is the upgrade path if this is added when you already have a button. I had an existing button that was set to only allow the Teaser display mode and was showing the caption and alignment options. After adding the patch, all of those options went to blank, meaning all the display modes showed up as options and caption/alignment did not. I think this should maintain existing settings as the default: whatever I previously had in display mode, and caption/alignment on. Imagining this coming through as a release, some would be surprised to have the behaviour changed.

    The second is that now the second page is unnecessary. The first page I select the entity I want to embed. The second page only shows me that same entity name again. Can that second page be skipped entirely if there are no options on it?

Production build 0.71.5 2024