first commit
This commit is contained in:
76
wp-includes/blocks/quote/block.json
Normal file
76
wp-includes/blocks/quote/block.json
Normal file
@ -0,0 +1,76 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/quote",
|
||||
"title": "Quote",
|
||||
"category": "text",
|
||||
"description": "Give quoted text visual emphasis. \"In quoting others, we cite ourselves.\" — Julio Cortázar",
|
||||
"keywords": [ "blockquote", "cite" ],
|
||||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"source": "html",
|
||||
"selector": "blockquote",
|
||||
"multiline": "p",
|
||||
"default": "",
|
||||
"__experimentalRole": "content"
|
||||
},
|
||||
"citation": {
|
||||
"type": "rich-text",
|
||||
"source": "rich-text",
|
||||
"selector": "cite",
|
||||
"__experimentalRole": "content"
|
||||
},
|
||||
"align": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"html": false,
|
||||
"__experimentalOnEnter": true,
|
||||
"__experimentalOnMerge": true,
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalTextDecoration": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"heading": true,
|
||||
"link": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true,
|
||||
"text": true
|
||||
}
|
||||
},
|
||||
"layout": {
|
||||
"allowEditing": false
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": true
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
}
|
||||
},
|
||||
"styles": [
|
||||
{
|
||||
"name": "default",
|
||||
"label": "Default",
|
||||
"isDefault": true
|
||||
},
|
||||
{ "name": "plain", "label": "Plain" }
|
||||
],
|
||||
"editorStyle": "wp-block-quote-editor",
|
||||
"style": "wp-block-quote"
|
||||
}
|
20
wp-includes/blocks/quote/style-rtl.css
Normal file
20
wp-includes/blocks/quote/style-rtl.css
Normal file
@ -0,0 +1,20 @@
|
||||
.wp-block-quote{
|
||||
box-sizing:border-box;
|
||||
overflow-wrap:break-word;
|
||||
}
|
||||
.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){
|
||||
margin-bottom:1em;
|
||||
padding:0 1em;
|
||||
}
|
||||
.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{
|
||||
font-size:1.5em;
|
||||
font-style:italic;
|
||||
line-height:1.6;
|
||||
}
|
||||
.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{
|
||||
font-size:1.125em;
|
||||
text-align:left;
|
||||
}
|
||||
.wp-block-quote>cite{
|
||||
display:block;
|
||||
}
|
1
wp-includes/blocks/quote/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/quote/style-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wp-block-quote{box-sizing:border-box;overflow-wrap:break-word}.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{font-size:1.125em;text-align:left}.wp-block-quote>cite{display:block}
|
20
wp-includes/blocks/quote/style.css
Normal file
20
wp-includes/blocks/quote/style.css
Normal file
@ -0,0 +1,20 @@
|
||||
.wp-block-quote{
|
||||
box-sizing:border-box;
|
||||
overflow-wrap:break-word;
|
||||
}
|
||||
.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){
|
||||
margin-bottom:1em;
|
||||
padding:0 1em;
|
||||
}
|
||||
.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{
|
||||
font-size:1.5em;
|
||||
font-style:italic;
|
||||
line-height:1.6;
|
||||
}
|
||||
.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{
|
||||
font-size:1.125em;
|
||||
text-align:right;
|
||||
}
|
||||
.wp-block-quote>cite{
|
||||
display:block;
|
||||
}
|
1
wp-includes/blocks/quote/style.min.css
vendored
Normal file
1
wp-includes/blocks/quote/style.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wp-block-quote{box-sizing:border-box;overflow-wrap:break-word}.wp-block-quote.is-large:where(:not(.is-style-plain)),.wp-block-quote.is-style-large:where(:not(.is-style-plain)){margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large:where(:not(.is-style-plain)) p,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-large:where(:not(.is-style-plain)) footer,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer{font-size:1.125em;text-align:right}.wp-block-quote>cite{display:block}
|
24
wp-includes/blocks/quote/theme-rtl.css
Normal file
24
wp-includes/blocks/quote/theme-rtl.css
Normal file
@ -0,0 +1,24 @@
|
||||
.wp-block-quote{
|
||||
border-right:.25em solid;
|
||||
margin:0 0 1.75em;
|
||||
padding-right:1em;
|
||||
}
|
||||
.wp-block-quote cite,.wp-block-quote footer{
|
||||
color:currentColor;
|
||||
font-size:.8125em;
|
||||
font-style:normal;
|
||||
position:relative;
|
||||
}
|
||||
.wp-block-quote.has-text-align-right{
|
||||
border-left:.25em solid;
|
||||
border-right:none;
|
||||
padding-left:1em;
|
||||
padding-right:0;
|
||||
}
|
||||
.wp-block-quote.has-text-align-center{
|
||||
border:none;
|
||||
padding-right:0;
|
||||
}
|
||||
.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{
|
||||
border:none;
|
||||
}
|
1
wp-includes/blocks/quote/theme-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/quote/theme-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote.has-text-align-right{border-left:.25em solid;border-right:none;padding-left:1em;padding-right:0}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{border:none}
|
24
wp-includes/blocks/quote/theme.css
Normal file
24
wp-includes/blocks/quote/theme.css
Normal file
@ -0,0 +1,24 @@
|
||||
.wp-block-quote{
|
||||
border-left:.25em solid;
|
||||
margin:0 0 1.75em;
|
||||
padding-left:1em;
|
||||
}
|
||||
.wp-block-quote cite,.wp-block-quote footer{
|
||||
color:currentColor;
|
||||
font-size:.8125em;
|
||||
font-style:normal;
|
||||
position:relative;
|
||||
}
|
||||
.wp-block-quote.has-text-align-right{
|
||||
border-left:none;
|
||||
border-right:.25em solid;
|
||||
padding-left:0;
|
||||
padding-right:1em;
|
||||
}
|
||||
.wp-block-quote.has-text-align-center{
|
||||
border:none;
|
||||
padding-left:0;
|
||||
}
|
||||
.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{
|
||||
border:none;
|
||||
}
|
1
wp-includes/blocks/quote/theme.min.css
vendored
Normal file
1
wp-includes/blocks/quote/theme.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;font-style:normal;position:relative}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large,.wp-block-quote.is-style-plain{border:none}
|
Reference in New Issue
Block a user