wp/wp-includes/blocks/gallery/block.json
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
     1 {
     1 {
       
     2 	"apiVersion": 2,
     2 	"name": "core/gallery",
     3 	"name": "core/gallery",
       
     4 	"title": "Gallery",
     3 	"category": "media",
     5 	"category": "media",
       
     6 	"description": "Display multiple images in a rich gallery.",
       
     7 	"keywords": [ "images", "photos" ],
       
     8 	"textdomain": "default",
     4 	"attributes": {
     9 	"attributes": {
     5 		"images": {
    10 		"images": {
     6 			"type": "array",
    11 			"type": "array",
     7 			"default": [],
    12 			"default": [],
     8 			"source": "query",
    13 			"source": "query",
    66 		"imageCrop": {
    71 		"imageCrop": {
    67 			"type": "boolean",
    72 			"type": "boolean",
    68 			"default": true
    73 			"default": true
    69 		},
    74 		},
    70 		"linkTo": {
    75 		"linkTo": {
    71 			"type": "string",
    76 			"type": "string"
    72 			"default": "none"
       
    73 		},
    77 		},
    74 		"sizeSlug": {
    78 		"sizeSlug": {
    75 			"type": "string",
    79 			"type": "string",
    76 			"default": "large"
    80 			"default": "large"
    77 		}
    81 		}
    78 	},
    82 	},
    79 	"supports": {
    83 	"supports": {
    80 		"anchor": true,
    84 		"anchor": true,
    81 		"align": true
    85 		"align": true
    82 	}
    86 	},
       
    87 	"editorStyle": "wp-block-gallery-editor",
       
    88 	"style": "wp-block-gallery"
    83 }
    89 }