[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 { 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 "apiVersion": 3, 4 "name": "core/cover", 5 "title": "Cover", 6 "category": "media", 7 "description": "Add an image or video with a text overlay.", 8 "textdomain": "default", 9 "attributes": { 10 "url": { 11 "type": "string" 12 }, 13 "useFeaturedImage": { 14 "type": "boolean", 15 "default": false 16 }, 17 "id": { 18 "type": "number" 19 }, 20 "alt": { 21 "type": "string", 22 "default": "" 23 }, 24 "hasParallax": { 25 "type": "boolean", 26 "default": false 27 }, 28 "isRepeated": { 29 "type": "boolean", 30 "default": false 31 }, 32 "dimRatio": { 33 "type": "number", 34 "default": 100 35 }, 36 "overlayColor": { 37 "type": "string" 38 }, 39 "customOverlayColor": { 40 "type": "string" 41 }, 42 "isUserOverlayColor": { 43 "type": "boolean" 44 }, 45 "backgroundType": { 46 "type": "string", 47 "default": "image" 48 }, 49 "focalPoint": { 50 "type": "object" 51 }, 52 "minHeight": { 53 "type": "number" 54 }, 55 "minHeightUnit": { 56 "type": "string" 57 }, 58 "gradient": { 59 "type": "string" 60 }, 61 "customGradient": { 62 "type": "string" 63 }, 64 "contentPosition": { 65 "type": "string" 66 }, 67 "isDark": { 68 "type": "boolean", 69 "default": true 70 }, 71 "allowedBlocks": { 72 "type": "array" 73 }, 74 "templateLock": { 75 "type": [ "string", "boolean" ], 76 "enum": [ "all", "insert", "contentOnly", false ] 77 }, 78 "tagName": { 79 "type": "string", 80 "default": "div" 81 } 82 }, 83 "usesContext": [ "postId", "postType" ], 84 "supports": { 85 "anchor": true, 86 "align": true, 87 "html": false, 88 "shadow": true, 89 "spacing": { 90 "padding": true, 91 "margin": [ "top", "bottom" ], 92 "blockGap": true, 93 "__experimentalDefaultControls": { 94 "padding": true, 95 "blockGap": true 96 } 97 }, 98 "__experimentalBorder": { 99 "color": true, 100 "radius": true, 101 "style": true, 102 "width": true, 103 "__experimentalDefaultControls": { 104 "color": true, 105 "radius": true, 106 "style": true, 107 "width": true 108 } 109 }, 110 "color": { 111 "__experimentalDuotone": "> .wp-block-cover__image-background, > .wp-block-cover__video-background", 112 "heading": true, 113 "text": true, 114 "background": false, 115 "__experimentalSkipSerialization": [ "gradients" ], 116 "enableContrastChecker": false 117 }, 118 "dimensions": { 119 "aspectRatio": true 120 }, 121 "typography": { 122 "fontSize": true, 123 "lineHeight": true, 124 "__experimentalFontFamily": true, 125 "__experimentalFontWeight": true, 126 "__experimentalFontStyle": true, 127 "__experimentalTextTransform": true, 128 "__experimentalTextDecoration": true, 129 "__experimentalLetterSpacing": true, 130 "__experimentalDefaultControls": { 131 "fontSize": true 132 } 133 }, 134 "layout": { 135 "allowJustification": false 136 }, 137 "interactivity": { 138 "clientNavigation": true 139 } 140 }, 141 "editorStyle": "wp-block-cover-editor", 142 "style": "wp-block-cover" 143 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sat Dec 21 08:20:01 2024 | Cross-referenced by PHPXref |