wp/wp-includes/blocks/text-columns/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/text-columns",
     3 	"name": "core/text-columns",
       
     4 	"title": "Text Columns (deprecated)",
     3 	"icon": "columns",
     5 	"icon": "columns",
     4 	"category": "design",
     6 	"category": "design",
       
     7 	"description": "This block is deprecated. Please use the Columns block instead.",
       
     8 	"textdomain": "default",
     5 	"attributes": {
     9 	"attributes": {
     6 		"content": {
    10 		"content": {
     7 			"type": "array",
    11 			"type": "array",
     8 			"source": "query",
    12 			"source": "query",
     9 			"selector": "p",
    13 			"selector": "p",
    11 				"children": {
    15 				"children": {
    12 					"type": "string",
    16 					"type": "string",
    13 					"source": "html"
    17 					"source": "html"
    14 				}
    18 				}
    15 			},
    19 			},
    16 			"default": [
    20 			"default": [ {}, {} ]
    17 				{},
       
    18 				{}
       
    19 			]
       
    20 		},
    21 		},
    21 		"columns": {
    22 		"columns": {
    22 			"type": "number",
    23 			"type": "number",
    23 			"default": 2
    24 			"default": 2
    24 		},
    25 		},
    26 			"type": "string"
    27 			"type": "string"
    27 		}
    28 		}
    28 	},
    29 	},
    29 	"supports": {
    30 	"supports": {
    30 		"inserter": false
    31 		"inserter": false
    31 	}
    32 	},
       
    33 	"editorStyle": "wp-block-text-columns-editor",
       
    34 	"style": "wp-block-text-columns"
    32 }
    35 }