Gutenberg: Gallery Block: Add Multiple Styles

Created on 9 May 2017  路  5Comments  路  Source: WordPress/gutenberg

Add multiple styles for laying out the gallery block.
Two initial styles are Tile (default) and Masonry layout.
A potential additional style could be slideshow

See #317 and #740

Needs Design [Feature] Blocks [Feature] Media [Priority] Low [Type] Question

Most helpful comment

I think slideshow should be a separate block.

All 5 comments

I think slideshow should be a separate block.

Related: #783

We already implemented a tiled gallery design by default which is fairly flexible with cropping and columns.

I think slideshow should be a separate block.

I though blocks would refer to the content. A slideshow is a gallery, when speaking of the content. It is just presented in another form. In fact, there mustn't even be differences in the HTML, beside some data-* attribute to indicate, that a JS plugin should displya this gallery as a slideshow.

Blocks refer to what is meaningful to a user to discover and use. Different blocks can have the same HTML markup but different expectations and different UIs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pfefferle picture pfefferle  路  3Comments

moorscode picture moorscode  路  3Comments

youknowriad picture youknowriad  路  3Comments

spocke picture spocke  路  3Comments

jasmussen picture jasmussen  路  3Comments