summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/quote
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/quote')
-rw-r--r--wp-includes/blocks/quote/block.json17
-rw-r--r--wp-includes/blocks/quote/style-rtl.css3
-rw-r--r--wp-includes/blocks/quote/style-rtl.min.css2
-rw-r--r--wp-includes/blocks/quote/style.css3
-rw-r--r--wp-includes/blocks/quote/style.min.css2
5 files changed, 20 insertions, 7 deletions
diff --git a/wp-includes/blocks/quote/block.json b/wp-includes/blocks/quote/block.json
index eff4649..b66e64b 100644
--- a/wp-includes/blocks/quote/block.json
+++ b/wp-includes/blocks/quote/block.json
@@ -17,10 +17,9 @@
"__experimentalRole": "content"
},
"citation": {
- "type": "string",
- "source": "html",
+ "type": "rich-text",
+ "source": "rich-text",
"selector": "cite",
- "default": "",
"__experimentalRole": "content"
},
"align": {
@@ -42,8 +41,7 @@
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
- "fontSize": true,
- "fontAppearance": true
+ "fontSize": true
}
},
"color": {
@@ -54,6 +52,15 @@
"background": true,
"text": true
}
+ },
+ "layout": {
+ "allowEditing": false
+ },
+ "spacing": {
+ "blockGap": true
+ },
+ "interactivity": {
+ "clientNavigation": true
}
},
"styles": [
diff --git a/wp-includes/blocks/quote/style-rtl.css b/wp-includes/blocks/quote/style-rtl.css
index e99e31e..fb6ac7d 100644
--- a/wp-includes/blocks/quote/style-rtl.css
+++ b/wp-includes/blocks/quote/style-rtl.css
@@ -14,4 +14,7 @@
.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;
} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/style-rtl.min.css b/wp-includes/blocks/quote/style-rtl.min.css
index 84c4c8e..7a62927 100644
--- a/wp-includes/blocks/quote/style-rtl.min.css
+++ b/wp-includes/blocks/quote/style-rtl.min.css
@@ -1 +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} \ No newline at end of file
+.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} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/style.css b/wp-includes/blocks/quote/style.css
index 366962d..97cdf47 100644
--- a/wp-includes/blocks/quote/style.css
+++ b/wp-includes/blocks/quote/style.css
@@ -14,4 +14,7 @@
.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;
} \ No newline at end of file
diff --git a/wp-includes/blocks/quote/style.min.css b/wp-includes/blocks/quote/style.min.css
index 81cdcd9..c3a1e9b 100644
--- a/wp-includes/blocks/quote/style.min.css
+++ b/wp-includes/blocks/quote/style.min.css
@@ -1 +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} \ No newline at end of file
+.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} \ No newline at end of file