wp/wp-includes/blocks/pullquote/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/pullquote",
     3 	"name": "core/pullquote",
       
     4 	"title": "Pullquote",
     3 	"category": "text",
     5 	"category": "text",
       
     6 	"description": "Give special visual emphasis to a quote from your text.",
       
     7 	"textdomain": "default",
     4 	"attributes": {
     8 	"attributes": {
     5 		"value": {
     9 		"value": {
     6 			"type": "string",
    10 			"type": "string",
     7 			"source": "html",
    11 			"source": "html",
     8 			"selector": "blockquote",
    12 			"selector": "blockquote",
     9 			"multiline": "p"
    13 			"multiline": "p",
       
    14 			"__experimentalRole": "content"
    10 		},
    15 		},
    11 		"citation": {
    16 		"citation": {
    12 			"type": "string",
    17 			"type": "string",
    13 			"source": "html",
    18 			"source": "html",
    14 			"selector": "cite",
    19 			"selector": "cite",
    15 			"default": ""
    20 			"default": "",
       
    21 			"__experimentalRole": "content"
    16 		},
    22 		},
    17 		"mainColor": {
    23 		"mainColor": {
    18 			"type": "string"
    24 			"type": "string"
    19 		},
    25 		},
    20 		"customMainColor": {
    26 		"customMainColor": {
    27 			"type": "string"
    33 			"type": "string"
    28 		}
    34 		}
    29 	},
    35 	},
    30 	"supports": {
    36 	"supports": {
    31 		"anchor": true,
    37 		"anchor": true,
    32 		"align": [
    38 		"align": [ "left", "right", "wide", "full" ]
    33 			"left",
    39 	},
    34 			"right",
    40 	"styles": [
    35 			"wide",
    41 		{
    36 			"full"
    42 			"name": "default",
    37 		]
    43 			"label": "Default",
    38 	}
    44 			"isDefault": true
       
    45 		},
       
    46 		{ "name": "solid-color", "label": "Solid color" }
       
    47 	],
       
    48 	"editorStyle": "wp-block-pullquote-editor",
       
    49 	"style": "wp-block-pullquote"
    39 }
    50 }