summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/read-more
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-includes/blocks/read-more
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/read-more')
-rw-r--r--wp-includes/blocks/read-more/block.json56
-rw-r--r--wp-includes/blocks/read-more/style-rtl.css8
-rw-r--r--wp-includes/blocks/read-more/style-rtl.min.css1
-rw-r--r--wp-includes/blocks/read-more/style.css8
-rw-r--r--wp-includes/blocks/read-more/style.min.css1
5 files changed, 74 insertions, 0 deletions
diff --git a/wp-includes/blocks/read-more/block.json b/wp-includes/blocks/read-more/block.json
new file mode 100644
index 0000000..d3386a4
--- /dev/null
+++ b/wp-includes/blocks/read-more/block.json
@@ -0,0 +1,56 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/read-more",
+ "title": "Read More",
+ "category": "theme",
+ "description": "Displays the link of a post, page, or any other content-type.",
+ "textdomain": "default",
+ "attributes": {
+ "content": {
+ "type": "string"
+ },
+ "linkTarget": {
+ "type": "string",
+ "default": "_self"
+ }
+ },
+ "usesContext": [ "postId" ],
+ "supports": {
+ "html": false,
+ "color": {
+ "gradients": true,
+ "text": true
+ },
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalFontWeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalTextTransform": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalTextDecoration": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true,
+ "textDecoration": true
+ }
+ },
+ "spacing": {
+ "margin": [ "top", "bottom" ],
+ "padding": true,
+ "__experimentalDefaultControls": {
+ "padding": true
+ }
+ },
+ "__experimentalBorder": {
+ "color": true,
+ "radius": true,
+ "width": true,
+ "__experimentalDefaultControls": {
+ "width": true
+ }
+ }
+ },
+ "style": "wp-block-read-more"
+}
diff --git a/wp-includes/blocks/read-more/style-rtl.css b/wp-includes/blocks/read-more/style-rtl.css
new file mode 100644
index 0000000..8cfefa8
--- /dev/null
+++ b/wp-includes/blocks/read-more/style-rtl.css
@@ -0,0 +1,8 @@
+.wp-block-read-more{
+ display:block;
+ width:-moz-fit-content;
+ width:fit-content;
+}
+.wp-block-read-more:not([style*=text-decoration]),.wp-block-read-more:not([style*=text-decoration]):active,.wp-block-read-more:not([style*=text-decoration]):focus{
+ text-decoration:none;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/read-more/style-rtl.min.css b/wp-includes/blocks/read-more/style-rtl.min.css
new file mode 100644
index 0000000..4f750e6
--- /dev/null
+++ b/wp-includes/blocks/read-more/style-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-read-more{display:block;width:-moz-fit-content;width:fit-content}.wp-block-read-more:not([style*=text-decoration]),.wp-block-read-more:not([style*=text-decoration]):active,.wp-block-read-more:not([style*=text-decoration]):focus{text-decoration:none} \ No newline at end of file
diff --git a/wp-includes/blocks/read-more/style.css b/wp-includes/blocks/read-more/style.css
new file mode 100644
index 0000000..8cfefa8
--- /dev/null
+++ b/wp-includes/blocks/read-more/style.css
@@ -0,0 +1,8 @@
+.wp-block-read-more{
+ display:block;
+ width:-moz-fit-content;
+ width:fit-content;
+}
+.wp-block-read-more:not([style*=text-decoration]),.wp-block-read-more:not([style*=text-decoration]):active,.wp-block-read-more:not([style*=text-decoration]):focus{
+ text-decoration:none;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/read-more/style.min.css b/wp-includes/blocks/read-more/style.min.css
new file mode 100644
index 0000000..4f750e6
--- /dev/null
+++ b/wp-includes/blocks/read-more/style.min.css
@@ -0,0 +1 @@
+.wp-block-read-more{display:block;width:-moz-fit-content;width:fit-content}.wp-block-read-more:not([style*=text-decoration]),.wp-block-read-more:not([style*=text-decoration]):active,.wp-block-read-more:not([style*=text-decoration]):focus{text-decoration:none} \ No newline at end of file