summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/block
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
commit0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch)
treee139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/blocks/block
parentAdding upstream version 6.5.5+dfsg1. (diff)
downloadwordpress-0e41b5d52fdc6af6442816b5f465c9db9f84e126.tar.xz
wordpress-0e41b5d52fdc6af6442816b5f465c9db9f84e126.zip
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/block')
-rw-r--r--wp-includes/blocks/block/block.json6
-rw-r--r--wp-includes/blocks/block/editor-rtl.css20
-rw-r--r--wp-includes/blocks/block/editor-rtl.min.css1
-rw-r--r--wp-includes/blocks/block/editor.css20
-rw-r--r--wp-includes/blocks/block/editor.min.css1
5 files changed, 5 insertions, 43 deletions
diff --git a/wp-includes/blocks/block/block.json b/wp-includes/blocks/block/block.json
index 34dcb9a..fdce3bc 100644
--- a/wp-includes/blocks/block/block.json
+++ b/wp-includes/blocks/block/block.json
@@ -12,9 +12,13 @@
"type": "number"
},
"content": {
- "type": "object"
+ "type": "object",
+ "default": {}
}
},
+ "providesContext": {
+ "pattern/overrides": "content"
+ },
"supports": {
"customClassName": false,
"html": false,
diff --git a/wp-includes/blocks/block/editor-rtl.css b/wp-includes/blocks/block/editor-rtl.css
deleted file mode 100644
index da6bc36..0000000
--- a/wp-includes/blocks/block/editor-rtl.css
+++ /dev/null
@@ -1,20 +0,0 @@
-.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{
- padding-left:0;
- padding-right:0;
-}
-.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{
- display:block;
-}
-.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{
- display:none;
-}
-
-.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{
- box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
-}
-.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{
- box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
-}
-.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{
- box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff;
-} \ No newline at end of file
diff --git a/wp-includes/blocks/block/editor-rtl.min.css b/wp-includes/blocks/block/editor-rtl.min.css
deleted file mode 100644
index cd6495b..0000000
--- a/wp-includes/blocks/block/editor-rtl.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff} \ No newline at end of file
diff --git a/wp-includes/blocks/block/editor.css b/wp-includes/blocks/block/editor.css
deleted file mode 100644
index da6bc36..0000000
--- a/wp-includes/blocks/block/editor.css
+++ /dev/null
@@ -1,20 +0,0 @@
-.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{
- padding-left:0;
- padding-right:0;
-}
-.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{
- display:block;
-}
-.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{
- display:none;
-}
-
-.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{
- box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
-}
-.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{
- box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
-}
-.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{
- box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff;
-} \ No newline at end of file
diff --git a/wp-includes/blocks/block/editor.min.css b/wp-includes/blocks/block/editor.min.css
deleted file mode 100644
index cd6495b..0000000
--- a/wp-includes/blocks/block/editor.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color)}.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff} \ No newline at end of file