Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#50014 closed enhancement (reported-upstream)

is a simple "lightbox" style for the image block a good idea?

Reported by: fastpenguin91's profile fastpenguin91 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: ui, javascript Cc:

Description

I'm new to this so sorry if this is not the correct approach.

In the Gutenberg block there is no "lightbox" style for images in the default image block.

I'd like to add an additional style setting that allows the users to select a lightbox styling so the image shows up in a larger modal to get a better view of the image on click.

If it's something that you decide to allow into the core is there a way that I can be the one to work on that code?

Change History (2)

#1 @sabernhardt
5 years ago

  • Component changed from General to Editor
  • Resolution set to reported-upstream
  • Status changed from new to closed
  • Version 5.4 deleted

Hi @fastpenguin91 and thanks for the suggestion!

Since Gutenberg issue GB21907 already covers the concept, I'll close this ticket so any further discussion of adding it to the editor's image blocks continues there.

If you're still having trouble implementing the lightbox modal on your site(s), whether you want to find/use a plugin or create a custom solution, you could ask for help in the support forums.
https://wordpress.org/support/forums/

#2 @desrosj
4 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.