Image preview when selecting paragraphs

Created on 30 July 2020, over 4 years ago
Updated 2 July 2024, 5 months ago

Problem/Motivation

Icons are a good idea, but usually a paragraph is more complicated than what can be shown in a little icon.

This feature request/patch introduces a different way of displaying the icon:
As a preview image.

Obviously, if this is a feature that needs to be properly implemented, we need to create a new field and not just use the icon field.
This was the fast solution for me, and a proof of concept.

When using the patch, and using modal form, the "icon" will be displayed like this:

Feature request
Status

Needs work

Version

1.12

Component

Code

Created by

🇩🇰Denmark ras-ben Copenhagen

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.

  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 7.4 & MySQL 5.7
    last update 12 months ago
    Composer require-dev failure
  • Updating the patch for latest version of paragraphs 1.16

  • Status changed to Needs work 5 months ago
  • 🇨🇦Canada dalin Guelph, 🇨🇦, 🌍

    This is a much needed feature! It's what Paragraphs Browser module is trying to do.

    The existing patch is a great proof-of-concept. But as-is it introduces a new problem of the screenshot on existing paragraphs is either too small to see, or if we make it big enough to see then it's a misleading representation of the content. What we really we need is a separate icon and screenshot. Show both in the modal, but only show the icon on existing paragraphs.

    So I'm setting this to "needs" work to add a separate field.

Production build 0.71.5 2024