summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/paragraph
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/paragraph')
-rw-r--r--wp-includes/blocks/paragraph/block.json2
-rw-r--r--wp-includes/blocks/paragraph/style-rtl.css2
-rw-r--r--wp-includes/blocks/paragraph/style-rtl.min.css2
-rw-r--r--wp-includes/blocks/paragraph/style.css2
-rw-r--r--wp-includes/blocks/paragraph/style.min.css2
5 files changed, 5 insertions, 5 deletions
diff --git a/wp-includes/blocks/paragraph/block.json b/wp-includes/blocks/paragraph/block.json
index 7cfe785..6f11baf 100644
--- a/wp-includes/blocks/paragraph/block.json
+++ b/wp-includes/blocks/paragraph/block.json
@@ -7,7 +7,6 @@
"description": "Start with the basic building block of all narrative.",
"keywords": [ "text" ],
"textdomain": "default",
- "usesContext": [ "postId" ],
"attributes": {
"align": {
"type": "string"
@@ -31,6 +30,7 @@
}
},
"supports": {
+ "splitting": true,
"anchor": true,
"className": false,
"color": {
diff --git a/wp-includes/blocks/paragraph/style-rtl.css b/wp-includes/blocks/paragraph/style-rtl.css
index b420b54..ab1a9a4 100644
--- a/wp-includes/blocks/paragraph/style-rtl.css
+++ b/wp-includes/blocks/paragraph/style-rtl.css
@@ -33,7 +33,7 @@ p.has-drop-cap.has-background{
overflow:hidden;
}
-p.has-background{
+:root :where(p.has-background){
padding:1.25em 2.375em;
}
diff --git a/wp-includes/blocks/paragraph/style-rtl.min.css b/wp-includes/blocks/paragraph/style-rtl.min.css
index d48810f..50049ba 100644
--- a/wp-includes/blocks/paragraph/style-rtl.min.css
+++ b/wp-includes/blocks/paragraph/style-rtl.min.css
@@ -1 +1 @@
-.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em 0 0 .1em;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-right:.1em}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg} \ No newline at end of file
+.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em 0 0 .1em;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-right:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg} \ No newline at end of file
diff --git a/wp-includes/blocks/paragraph/style.css b/wp-includes/blocks/paragraph/style.css
index 849c89a..ad28631 100644
--- a/wp-includes/blocks/paragraph/style.css
+++ b/wp-includes/blocks/paragraph/style.css
@@ -33,7 +33,7 @@ p.has-drop-cap.has-background{
overflow:hidden;
}
-p.has-background{
+:root :where(p.has-background){
padding:1.25em 2.375em;
}
diff --git a/wp-includes/blocks/paragraph/style.min.css b/wp-includes/blocks/paragraph/style.min.css
index 5a0f9cb..40c17c6 100644
--- a/wp-includes/blocks/paragraph/style.min.css
+++ b/wp-includes/blocks/paragraph/style.min.css
@@ -1 +1 @@
-.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}p.has-background{padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg} \ No newline at end of file
+.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg} \ No newline at end of file