Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 150311

Build in WordPress gallery. Used to show multiple pictures in a grid.

16 votes
Accepted

Validation error: Extending Gutenberg gallery block

This will contain the images from the gallery registerBlockType( 'cgb/block-my-test-block', { title: __( 'MT - Gallery' ), // Block title. … icon: 'format-gallery', // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/. …
Andreas's user avatar
  • 331
7 votes
2 answers
6k views

Validation error: Extending Gutenberg gallery block

I am trying to extend the Gutenberg core/gallery block to add some new functionality to my image gallery on the frontend. I have created a separate plugin to handle this task. … Assuming the error is caused by the difference between my HTML structure and the expected gallery structure: How can I make Gutenberg recognize my HTML structure as a gallery? …
Andreas's user avatar
  • 331