wp/wp-includes/blocks/list/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/list",
     3 	"name": "core/list",
       
     4 	"title": "List",
     3 	"category": "text",
     5 	"category": "text",
       
     6 	"description": "Create a bulleted or numbered list.",
       
     7 	"keywords": [ "bullet list", "ordered list", "numbered list" ],
       
     8 	"textdomain": "default",
     4 	"attributes": {
     9 	"attributes": {
     5 		"ordered": {
    10 		"ordered": {
     6 			"type": "boolean",
    11 			"type": "boolean",
     7 			"default": false
    12 			"default": false,
       
    13 			"__experimentalRole": "content"
     8 		},
    14 		},
     9 		"values": {
    15 		"values": {
    10 			"type": "string",
    16 			"type": "string",
    11 			"source": "html",
    17 			"source": "html",
    12 			"selector": "ol,ul",
    18 			"selector": "ol,ul",
    13 			"multiline": "li",
    19 			"multiline": "li",
    14 			"__unstableMultilineWrapperTags": [
    20 			"__unstableMultilineWrapperTags": [ "ol", "ul" ],
    15 				"ol",
    21 			"default": "",
    16 				"ul"
    22 			"__experimentalRole": "content"
    17 			],
       
    18 			"default": ""
       
    19 		},
    23 		},
    20 		"type": {
    24 		"type": {
    21 			"type": "string"
    25 			"type": "string"
    22 		},
    26 		},
    23 		"start": {
    27 		"start": {
    24 			"type": "number"
    28 			"type": "number"
    25 		},
    29 		},
    26 		"reversed": {
    30 		"reversed": {
    27 			"type": "boolean"
    31 			"type": "boolean"
       
    32 		},
       
    33 		"placeholder": {
       
    34 			"type": "string"
    28 		}
    35 		}
    29 	},
    36 	},
    30 	"supports": {
    37 	"supports": {
    31 		"anchor": true,
    38 		"anchor": true,
    32 		"className": false,
    39 		"className": false,
       
    40 		"typography": {
       
    41 			"fontSize": true,
       
    42 			"__experimentalFontFamily": true
       
    43 		},
       
    44 		"color": {
       
    45 			"gradients": true
       
    46 		},
    33 		"__unstablePasteTextInline": true,
    47 		"__unstablePasteTextInline": true,
    34 		"lightBlockWrapper": true
    48 		"__experimentalSelector": "ol,ul"
    35 	}
    49 	},
       
    50 	"editorStyle": "wp-block-list-editor",
       
    51 	"style": "wp-block-list"
    36 }
    52 }