| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 { 2 "apiVersion": 3, 3 "$schema": "https://schemas.wp.org/trunk/block.json", 4 "name": "core/icon", 5 "title": "Icon", 6 "category": "media", 7 "description": "Insert an SVG icon.", 8 "keywords": [ "icon", "svg" ], 9 "textdomain": "default", 10 "attributes": { 11 "icon": { 12 "type": "string", 13 "role": "content" 14 }, 15 "flipHorizontal": { 16 "type": "boolean", 17 "default": false 18 }, 19 "flipVertical": { 20 "type": "boolean", 21 "default": false 22 }, 23 "rotation": { 24 "type": "number", 25 "default": 0 26 } 27 }, 28 "supports": { 29 "anchor": true, 30 "ariaLabel": { 31 "__experimentalSkipSerialization": true 32 }, 33 "align": [ "left", "center", "right" ], 34 "html": false, 35 "color": { 36 "__experimentalSkipSerialization": true, 37 "__experimentalDefaultControls": { 38 "background": true, 39 "text": true 40 } 41 }, 42 "interactivity": { 43 "clientNavigation": true 44 }, 45 "__experimentalBorder": { 46 "color": true, 47 "radius": true, 48 "style": true, 49 "width": true, 50 "__experimentalSkipSerialization": true, 51 "__experimentalDefaultControls": { 52 "color": false, 53 "radius": false, 54 "style": false, 55 "width": false 56 } 57 }, 58 "spacing": { 59 "padding": true, 60 "margin": true, 61 "__experimentalSkipSerialization": [ "padding" ], 62 "__experimentalDefaultControls": { 63 "margin": false, 64 "padding": false 65 } 66 }, 67 "dimensions": { 68 "width": true, 69 "__experimentalSkipSerialization": [ "width" ], 70 "__experimentalDefaultControls": { 71 "width": true 72 } 73 } 74 }, 75 "selectors": { 76 "root": ".wp-block-icon svg", 77 "css": ".wp-block-icon", 78 "spacing": { 79 "margin": ".wp-block-icon" 80 } 81 }, 82 "style": "wp-block-icon", 83 "editorStyle": "wp-block-icon-editor" 84 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Jul 25 08:20:20 2026 | Cross-referenced by PHPXref |