Changeset 50824 for trunk/src/wp-includes/blocks
- Timestamp:
- 05/07/2021 11:46:32 AM (4 years ago)
- Location:
- trunk/src/wp-includes/blocks
- Files:
-
- 3 added
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/button/block.json
r50761 r50824 3 3 "name": "core/button", 4 4 "category": "design", 5 "parent": [ 6 "core/buttons" 7 ], 5 "parent": [ "core/buttons" ], 8 6 "attributes": { 9 7 "url": { … … 39 37 "type": "string" 40 38 }, 41 "borderRadius": {42 "type": "number"43 },44 "style": {45 "type": "object"46 },47 39 "backgroundColor": { 48 40 "type": "string" … … 66 58 "gradients": true 67 59 }, 60 "fontSize": true, 68 61 "reusable": false, 62 "__experimentalBorder": { 63 "radius": true, 64 "__experimentalSkipSerialization": true 65 }, 66 "__experimentalFontFamily": true, 69 67 "__experimentalSelector": ".wp-block-button__link" 70 68 }, -
trunk/src/wp-includes/blocks/column/block.json
r49226 r50824 3 3 "name": "core/column", 4 4 "category": "text", 5 "parent": [ 6 "core/columns" 7 ], 5 "parent": [ "core/columns" ], 8 6 "attributes": { 9 7 "verticalAlignment": { -
trunk/src/wp-includes/blocks/columns/block.json
r50048 r50824 10 10 "supports": { 11 11 "anchor": true, 12 "align": [ 13 "wide", 14 "full" 15 ], 12 "align": [ "wide", "full" ], 16 13 "html": false, 17 14 "color": { -
trunk/src/wp-includes/blocks/file/block.json
r50048 r50824 35 35 "source": "html", 36 36 "selector": "a[download]" 37 }, 38 "displayPreview": { 39 "type": "boolean" 40 }, 41 "previewHeight": { 42 "type": "number", 43 "default": 600 37 44 } 38 45 }, -
trunk/src/wp-includes/blocks/heading/block.json
r50048 r50824 11 11 "source": "html", 12 12 "selector": "h1,h2,h3,h4,h5,h6", 13 "default": "" 13 "default": "", 14 "__experimentalRole": "content" 14 15 }, 15 16 "level": { -
trunk/src/wp-includes/blocks/index.php
r50761 r50824 11 11 require ABSPATH . WPINC . '/blocks/calendar.php'; 12 12 require ABSPATH . WPINC . '/blocks/categories.php'; 13 require ABSPATH . WPINC . '/blocks/file.php'; 13 14 require ABSPATH . WPINC . '/blocks/latest-comments.php'; 14 15 require ABSPATH . WPINC . '/blocks/latest-posts.php'; … … 34 35 'columns', 35 36 'embed', 36 'file',37 37 'freeform', 38 38 'gallery', -
trunk/src/wp-includes/blocks/latest-posts/block.json
r50048 r50824 59 59 "featuredImageAlign": { 60 60 "type": "string", 61 "enum": [ 62 "left", 63 "center", 64 "right" 65 ] 61 "enum": [ "left", "center", "right" ] 66 62 }, 67 63 "featuredImageSizeSlug": { -
trunk/src/wp-includes/blocks/list/block.json
r50048 r50824 6 6 "ordered": { 7 7 "type": "boolean", 8 "default": false 8 "default": false, 9 "__experimentalRole": "content" 9 10 }, 10 11 "values": { … … 14 15 "multiline": "li", 15 16 "__unstableMultilineWrapperTags": [ "ol", "ul" ], 16 "default": "" 17 "default": "", 18 "__experimentalRole": "content" 17 19 }, 18 20 "type": { … … 24 26 "reversed": { 25 27 "type": "boolean" 28 }, 29 "placeholder": { 30 "type": "string" 26 31 } 27 32 }, -
trunk/src/wp-includes/blocks/paragraph/block.json
r50048 r50824 11 11 "source": "html", 12 12 "selector": "p", 13 "default": "" 13 "default": "", 14 "__experimentalRole": "content" 14 15 }, 15 16 "dropCap": { … … 22 23 "direction": { 23 24 "type": "string", 24 "enum": [ 25 "ltr", 26 "rtl" 27 ] 25 "enum": [ "ltr", "rtl" ] 28 26 } 29 27 }, -
trunk/src/wp-includes/blocks/preformatted/block.json
r50761 r50824 9 9 "selector": "pre", 10 10 "default": "", 11 "__unstablePreserveWhiteSpace": true 11 "__unstablePreserveWhiteSpace": true, 12 "__experimentalRole": "content" 12 13 } 13 14 }, -
trunk/src/wp-includes/blocks/pullquote/block.json
r50048 r50824 8 8 "source": "html", 9 9 "selector": "blockquote", 10 "multiline": "p" 10 "multiline": "p", 11 "__experimentalRole": "content" 11 12 }, 12 13 "citation": { … … 14 15 "source": "html", 15 16 "selector": "cite", 16 "default": "" 17 "default": "", 18 "__experimentalRole": "content" 17 19 }, 18 20 "mainColor": { … … 31 33 "supports": { 32 34 "anchor": true, 33 "align": [ 34 "left", 35 "right", 36 "wide", 37 "full" 38 ] 35 "align": [ "left", "right", "wide", "full" ] 39 36 }, 40 37 "editorStyle": "wp-block-pullquote-editor", -
trunk/src/wp-includes/blocks/quote/block.json
r50048 r50824 9 9 "selector": "blockquote", 10 10 "multiline": "p", 11 "default": "" 11 "default": "", 12 "__experimentalRole": "content" 12 13 }, 13 14 "citation": { … … 15 16 "source": "html", 16 17 "selector": "cite", 17 "default": "" 18 "default": "", 19 "__experimentalRole": "content" 18 20 }, 19 21 "align": { -
trunk/src/wp-includes/blocks/search/block.json
r50761 r50824 5 5 "attributes": { 6 6 "label": { 7 "type": "string" 7 "type": "string", 8 "__experimentalRole": "content" 8 9 }, 9 10 "showLabel": { … … 13 14 "placeholder": { 14 15 "type": "string", 15 "default": "" 16 "default": "", 17 "__experimentalRole": "content" 16 18 }, 17 19 "width": { … … 22 24 }, 23 25 "buttonText": { 24 "type": "string" 26 "type": "string", 27 "__experimentalRole": "content" 25 28 }, 26 29 "buttonPosition": { -
trunk/src/wp-includes/blocks/separator/block.json
r50048 r50824 13 13 "supports": { 14 14 "anchor": true, 15 "align": [ "center","wide","full"]15 "align": [ "center", "wide", "full" ] 16 16 }, 17 17 "editorStyle": "wp-block-separator-editor", -
trunk/src/wp-includes/blocks/social-link.php
r50761 r50824 9 9 * Renders the `core/social-link` block on server. 10 10 * 11 * @param Array $attributes The block attributes.12 * @param String $contentInnerBlocks content of the Block.13 * @param WP Block $blockBlock object.11 * @param Array $attributes The block attributes. 12 * @param String $content InnerBlocks content of the Block. 13 * @param WP_Block $block Block object. 14 14 * 15 15 * @return string Rendered HTML of the referenced block. -
trunk/src/wp-includes/blocks/social-link/block.json
r50458 r50824 3 3 "name": "core/social-link", 4 4 "category": "widgets", 5 "parent": [ 6 "core/social-links" 7 ], 5 "parent": [ "core/social-links" ], 8 6 "attributes": { 9 7 "url": { -
trunk/src/wp-includes/blocks/social-links/block.json
r50458 r50824 36 36 }, 37 37 "supports": { 38 "align": [ 39 "left", 40 "center", 41 "right" 42 ], 38 "align": [ "left", "center", "right" ], 43 39 "anchor": true 44 40 }, -
trunk/src/wp-includes/blocks/spacer/block.json
r50761 r50824 12 12 } 13 13 }, 14 "usesContext": [ 15 "orientation" 16 ], 14 "usesContext": [ "orientation" ], 17 15 "supports": { 18 16 "anchor": true -
trunk/src/wp-includes/blocks/text-columns/block.json
r50048 r50824 15 15 } 16 16 }, 17 "default": [ 18 {}, 19 {} 20 ] 17 "default": [ {}, {} ] 21 18 }, 22 19 "columns": { -
trunk/src/wp-includes/blocks/verse/block.json
r50761 r50824 9 9 "selector": "pre", 10 10 "default": "", 11 "__unstablePreserveWhiteSpace": true 11 "__unstablePreserveWhiteSpace": true, 12 "__experimentalRole": "content" 12 13 }, 13 14 "textAlign": { … … 17 18 "supports": { 18 19 "anchor": true, 20 "color": { 21 "gradients": true, 22 "link": true 23 }, 19 24 "__experimentalFontFamily": true, 20 25 "fontSize": true,
Note: See TracChangeset
for help on using the changeset viewer.