first commit
This commit is contained in:
73
wp-includes/blocks/site-tagline/block.json
Normal file
73
wp-includes/blocks/site-tagline/block.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/site-tagline",
|
||||
"title": "Site Tagline",
|
||||
"category": "theme",
|
||||
"description": "Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if it’s not displayed in the theme design.",
|
||||
"keywords": [ "description" ],
|
||||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"textAlign": {
|
||||
"type": "string"
|
||||
},
|
||||
"level": {
|
||||
"type": "number",
|
||||
"default": 0
|
||||
},
|
||||
"levelOptions": {
|
||||
"type": "array",
|
||||
"default": [ 0, 1, 2, 3, 4, 5, 6 ]
|
||||
}
|
||||
},
|
||||
"example": {
|
||||
"viewportWidth": 350,
|
||||
"attributes": {
|
||||
"textAlign": "center"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"align": [ "wide", "full" ],
|
||||
"html": false,
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true,
|
||||
"text": true
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"margin": true,
|
||||
"padding": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"margin": false,
|
||||
"padding": false
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalTextDecoration": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalWritingMode": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
},
|
||||
"__experimentalBorder": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true
|
||||
}
|
||||
},
|
||||
"editorStyle": "wp-block-site-tagline-editor",
|
||||
"style": "wp-block-site-tagline"
|
||||
}
|
||||
4
wp-includes/blocks/site-tagline/editor-rtl.css
Normal file
4
wp-includes/blocks/site-tagline/editor-rtl.css
Normal file
@@ -0,0 +1,4 @@
|
||||
.wp-block-site-tagline__placeholder{
|
||||
border:1px dashed;
|
||||
padding:1em 0;
|
||||
}
|
||||
1
wp-includes/blocks/site-tagline/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/site-tagline/editor-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-site-tagline__placeholder{border:1px dashed;padding:1em 0}
|
||||
4
wp-includes/blocks/site-tagline/editor.css
Normal file
4
wp-includes/blocks/site-tagline/editor.css
Normal file
@@ -0,0 +1,4 @@
|
||||
.wp-block-site-tagline__placeholder{
|
||||
border:1px dashed;
|
||||
padding:1em 0;
|
||||
}
|
||||
1
wp-includes/blocks/site-tagline/editor.min.css
vendored
Normal file
1
wp-includes/blocks/site-tagline/editor.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-site-tagline__placeholder{border:1px dashed;padding:1em 0}
|
||||
3
wp-includes/blocks/site-tagline/style-rtl.css
Normal file
3
wp-includes/blocks/site-tagline/style-rtl.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.wp-block-site-tagline{
|
||||
box-sizing:border-box;
|
||||
}
|
||||
1
wp-includes/blocks/site-tagline/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/site-tagline/style-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-site-tagline{box-sizing:border-box}
|
||||
3
wp-includes/blocks/site-tagline/style.css
Normal file
3
wp-includes/blocks/site-tagline/style.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.wp-block-site-tagline{
|
||||
box-sizing:border-box;
|
||||
}
|
||||
1
wp-includes/blocks/site-tagline/style.min.css
vendored
Normal file
1
wp-includes/blocks/site-tagline/style.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-site-tagline{box-sizing:border-box}
|
||||
Reference in New Issue
Block a user