diff options
Diffstat (limited to '')
-rw-r--r-- | wp-includes/blocks/list-item/block.json | 39 | ||||
-rw-r--r-- | wp-includes/blocks/list/block.json | 77 | ||||
-rw-r--r-- | wp-includes/blocks/list/style-rtl.css | 6 | ||||
-rw-r--r-- | wp-includes/blocks/list/style-rtl.min.css | 1 | ||||
-rw-r--r-- | wp-includes/blocks/list/style.css | 6 | ||||
-rw-r--r-- | wp-includes/blocks/list/style.min.css | 1 |
6 files changed, 130 insertions, 0 deletions
diff --git a/wp-includes/blocks/list-item/block.json b/wp-includes/blocks/list-item/block.json new file mode 100644 index 0000000..41221f1 --- /dev/null +++ b/wp-includes/blocks/list-item/block.json @@ -0,0 +1,39 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/list-item", + "title": "List item", + "category": "text", + "parent": [ "core/list" ], + "description": "Create a list item.", + "textdomain": "default", + "attributes": { + "placeholder": { + "type": "string" + }, + "content": { + "type": "string", + "source": "html", + "selector": "li", + "default": "", + "__experimentalRole": "content" + } + }, + "supports": { + "className": false, + "__experimentalSelector": "li", + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalFontWeight": true, + "__experimentalFontStyle": true, + "__experimentalTextTransform": true, + "__experimentalTextDecoration": true, + "__experimentalLetterSpacing": true, + "__experimentalDefaultControls": { + "fontSize": true + } + } + } +} diff --git a/wp-includes/blocks/list/block.json b/wp-includes/blocks/list/block.json new file mode 100644 index 0000000..e2fb9e4 --- /dev/null +++ b/wp-includes/blocks/list/block.json @@ -0,0 +1,77 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/list", + "title": "List", + "category": "text", + "description": "Create a bulleted or numbered list.", + "keywords": [ "bullet list", "ordered list", "numbered list" ], + "textdomain": "default", + "attributes": { + "ordered": { + "type": "boolean", + "default": false, + "__experimentalRole": "content" + }, + "values": { + "type": "string", + "source": "html", + "selector": "ol,ul", + "multiline": "li", + "__unstableMultilineWrapperTags": [ "ol", "ul" ], + "default": "", + "__experimentalRole": "content" + }, + "type": { + "type": "string" + }, + "start": { + "type": "number" + }, + "reversed": { + "type": "boolean" + }, + "placeholder": { + "type": "string" + } + }, + "supports": { + "anchor": true, + "className": false, + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalFontWeight": true, + "__experimentalFontStyle": true, + "__experimentalTextTransform": true, + "__experimentalTextDecoration": true, + "__experimentalLetterSpacing": true, + "__experimentalDefaultControls": { + "fontSize": true + } + }, + "color": { + "gradients": true, + "link": true, + "__experimentalDefaultControls": { + "background": true, + "text": true + } + }, + "spacing": { + "margin": true, + "padding": true, + "__experimentalDefaultControls": { + "margin": false, + "padding": false + } + }, + "__unstablePasteTextInline": true, + "__experimentalSelector": "ol,ul", + "__experimentalOnMerge": true, + "__experimentalSlashInserter": true + }, + "editorStyle": "wp-block-list-editor", + "style": "wp-block-list" +} diff --git a/wp-includes/blocks/list/style-rtl.css b/wp-includes/blocks/list/style-rtl.css new file mode 100644 index 0000000..aef9754 --- /dev/null +++ b/wp-includes/blocks/list/style-rtl.css @@ -0,0 +1,6 @@ +ol,ul{ + box-sizing:border-box; +} +ol.has-background,ul.has-background{ + padding:1.25em 2.375em; +}
\ No newline at end of file diff --git a/wp-includes/blocks/list/style-rtl.min.css b/wp-includes/blocks/list/style-rtl.min.css new file mode 100644 index 0000000..d840bee --- /dev/null +++ b/wp-includes/blocks/list/style-rtl.min.css @@ -0,0 +1 @@ +ol,ul{box-sizing:border-box}ol.has-background,ul.has-background{padding:1.25em 2.375em}
\ No newline at end of file diff --git a/wp-includes/blocks/list/style.css b/wp-includes/blocks/list/style.css new file mode 100644 index 0000000..aef9754 --- /dev/null +++ b/wp-includes/blocks/list/style.css @@ -0,0 +1,6 @@ +ol,ul{ + box-sizing:border-box; +} +ol.has-background,ul.has-background{ + padding:1.25em 2.375em; +}
\ No newline at end of file diff --git a/wp-includes/blocks/list/style.min.css b/wp-includes/blocks/list/style.min.css new file mode 100644 index 0000000..d840bee --- /dev/null +++ b/wp-includes/blocks/list/style.min.css @@ -0,0 +1 @@ +ol,ul{box-sizing:border-box}ol.has-background,ul.has-background{padding:1.25em 2.375em}
\ No newline at end of file |