Allow image styles on paragraphs types

Created on 8 July 2024, 5 months ago

Problem/Motivation

Currently, there is no capability to define image styles on a per-paragraph basis. This limitation can be particularly restrictive when adding a paragraph within a layout using the Layout Paragraph module. Allowing image styles to be defined at the paragraph level would provide more flexibility and control over the presentation of content, enhancing the overall layout design and user experience.

Steps to reproduce

  1. Create a page and various paragraph types.
  2. Enable the Paragraph Layout module.
  3. Add a paragraph within the layout on the page.
  4. Expose the JSON of the page.

Proposed resolution

To address this issue, we propose the creation of a plugin that offers the functionality to define image styles for individual paragraphs. This plugin will allow users to specify different image styles for each paragraph type, thereby providing greater customization and improving the visual consistency across different layouts.

Remaining tasks

  1. Develop the plugin to enable the definition of image styles per paragraph.
  2. Test the plugin to ensure it works seamlessly with the Layout Paragraph module.
  3. Update documentation to reflect the new functionality and provide guidance on usage.
Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇮🇳India sumit-k

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