Problem/Motivation
We are trying to create a 'Section' component that only has a one column layout.
The one column layout is displayed by default and must be checked.
Steps to reproduce
Create a paragraph with only one layout
Proposed resolution
Hide 'Layout' tab when there is only one available layout for a component
Remaining tasks
Provide MR
Review MR
Commit MR
User interface changes
Components with only one layout will no longer display the layout tab,
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screenshot 2024-08-19 at 12.02.22 PM.png | 140.36 KB | jrockowitz |
| #3 | mercury_editor-issue-3468995-comment-3.patch | 1.35 KB | jrockowitz |
Issue fork mercury_editor-3468995
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments
Comment #3
jrockowitz commentedComment #4
jrockowitz commentedComment #5
jrockowitz commentedComment #6
sethhill commentedTested against 2.1.x and this looks good to merge. Setting to RTBC.
Comment #8
sethhill commented