first commit
This commit is contained in:
82
wp-includes/blocks/post-content/block.json
Normal file
82
wp-includes/blocks/post-content/block.json
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/post-content",
|
||||
"title": "Content",
|
||||
"category": "theme",
|
||||
"description": "Displays the contents of a post or page.",
|
||||
"textdomain": "default",
|
||||
"usesContext": [ "postId", "postType", "queryId" ],
|
||||
"attributes": {
|
||||
"tagName": {
|
||||
"type": "string",
|
||||
"default": "div"
|
||||
}
|
||||
},
|
||||
"example": {
|
||||
"viewportWidth": 350
|
||||
},
|
||||
"supports": {
|
||||
"align": [ "wide", "full" ],
|
||||
"html": false,
|
||||
"layout": true,
|
||||
"background": {
|
||||
"backgroundImage": true,
|
||||
"backgroundSize": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"backgroundImage": true
|
||||
}
|
||||
},
|
||||
"dimensions": {
|
||||
"minHeight": true
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": true,
|
||||
"padding": true,
|
||||
"margin": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"margin": false,
|
||||
"padding": false
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"heading": true,
|
||||
"link": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": false,
|
||||
"text": false
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalTextDecoration": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
},
|
||||
"__experimentalBorder": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"style": "wp-block-post-content",
|
||||
"editorStyle": "wp-block-post-content-editor"
|
||||
}
|
||||
3
wp-includes/blocks/post-content/style-rtl.css
Normal file
3
wp-includes/blocks/post-content/style-rtl.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.wp-block-post-content{
|
||||
display:flow-root;
|
||||
}
|
||||
1
wp-includes/blocks/post-content/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/post-content/style-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-post-content{display:flow-root}
|
||||
3
wp-includes/blocks/post-content/style.css
Normal file
3
wp-includes/blocks/post-content/style.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.wp-block-post-content{
|
||||
display:flow-root;
|
||||
}
|
||||
1
wp-includes/blocks/post-content/style.min.css
vendored
Normal file
1
wp-includes/blocks/post-content/style.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-post-content{display:flow-root}
|
||||
Reference in New Issue
Block a user