wp/wp-includes/blocks/read-more/block.json
changeset 19 3d72ae0968f4
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
       
     1 {
       
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
       
     3 	"apiVersion": 2,
       
     4 	"name": "core/read-more",
       
     5 	"title": "Read More",
       
     6 	"category": "theme",
       
     7 	"description": "Displays the link of a post, page, or any other content-type.",
       
     8 	"textdomain": "default",
       
     9 	"attributes": {
       
    10 		"content": {
       
    11 			"type": "string"
       
    12 		},
       
    13 		"linkTarget": {
       
    14 			"type": "string",
       
    15 			"default": "_self"
       
    16 		}
       
    17 	},
       
    18 	"usesContext": [ "postId" ],
       
    19 	"supports": {
       
    20 		"html": false,
       
    21 		"color": {
       
    22 			"gradients": true,
       
    23 			"text": true
       
    24 		},
       
    25 		"typography": {
       
    26 			"fontSize": true,
       
    27 			"lineHeight": true,
       
    28 			"__experimentalFontFamily": true,
       
    29 			"__experimentalFontWeight": true,
       
    30 			"__experimentalFontStyle": true,
       
    31 			"__experimentalTextTransform": true,
       
    32 			"__experimentalLetterSpacing": true,
       
    33 			"__experimentalTextDecoration": true,
       
    34 			"__experimentalDefaultControls": {
       
    35 				"fontSize": true,
       
    36 				"textDecoration": true
       
    37 			}
       
    38 		},
       
    39 		"spacing": {
       
    40 			"margin": [ "top", "bottom" ],
       
    41 			"padding": true,
       
    42 			"__experimentalDefaultControls": {
       
    43 				"padding": true
       
    44 			}
       
    45 		},
       
    46 		"__experimentalBorder": {
       
    47 			"color": true,
       
    48 			"radius": true,
       
    49 			"width": true,
       
    50 			"__experimentalDefaultControls": {
       
    51 				"width": true
       
    52 			}
       
    53 		}
       
    54 	},
       
    55 	"style": "wp-block-read-more"
       
    56 }