-
Guten Berg!
+
+
-
+
diff --git a/core-blocks/test/fixtures/core__cover-image.json b/core-blocks/test/fixtures/core__cover-image.json
index 7f12304be6f8a..e6f1ce08e7e91 100644
--- a/core-blocks/test/fixtures/core__cover-image.json
+++ b/core-blocks/test/fixtures/core__cover-image.json
@@ -4,15 +4,29 @@
"name": "core/cover-image",
"isValid": true,
"attributes": {
- "title": [
- "Guten Berg!"
- ],
"url": "https://cldup.com/uuUqE_dXzy.jpg",
- "contentAlign": "center",
+ "id": 8398,
"hasParallax": false,
"dimRatio": 40
},
- "innerBlocks": [],
- "originalContent": "
"
+ "innerBlocks": [
+ {
+ "uid": "_uid_0",
+ "name": "core/paragraph",
+ "isValid": true,
+ "attributes": {
+ "content": [
+ "Paragraph 1"
+ ],
+ "align": "center",
+ "dropCap": false,
+ "placeholder": "Write title…",
+ "fontSize": "large"
+ },
+ "innerBlocks": [],
+ "originalContent": "
Paragraph 1
"
+ }
+ ],
+ "originalContent": "
"
}
]
diff --git a/core-blocks/test/fixtures/core__cover-image.parsed.json b/core-blocks/test/fixtures/core__cover-image.parsed.json
index 25808e4279256..75fd0ba187af1 100644
--- a/core-blocks/test/fixtures/core__cover-image.parsed.json
+++ b/core-blocks/test/fixtures/core__cover-image.parsed.json
@@ -3,10 +3,22 @@
"blockName": "core/cover-image",
"attrs": {
"url": "https://cldup.com/uuUqE_dXzy.jpg",
+ "id": 8398,
"dimRatio": 40
},
- "innerBlocks": [],
- "innerHTML": "\n
\n"
+ "innerBlocks": [
+ {
+ "blockName": "core/paragraph",
+ "attrs": {
+ "align": "center",
+ "placeholder": "Write title…",
+ "fontSize": "large"
+ },
+ "innerBlocks": [],
+ "innerHTML": "\n\t\t
Paragraph 1
\n\t\t"
+ }
+ ],
+ "innerHTML": "\n
\n"
},
{
"attrs": {},
diff --git a/core-blocks/test/fixtures/core__cover-image.serialized.html b/core-blocks/test/fixtures/core__cover-image.serialized.html
index 87e8dc9795084..631a6169b2409 100644
--- a/core-blocks/test/fixtures/core__cover-image.serialized.html
+++ b/core-blocks/test/fixtures/core__cover-image.serialized.html
@@ -1,5 +1,9 @@
-
+
diff --git a/edit-post/assets/stylesheets/_z-index.scss b/edit-post/assets/stylesheets/_z-index.scss
index dd99e2b0b8fc3..eda062b0b9fc0 100644
--- a/edit-post/assets/stylesheets/_z-index.scss
+++ b/edit-post/assets/stylesheets/_z-index.scss
@@ -72,6 +72,8 @@ $z-layers: (
'.components-autocomplete__results': 1000000,
'.skip-to-selected-block': 100000,
+
+ '.wp-block-cover-image__inner-container': 0,
);
@function z-index( $key ) {
diff --git a/editor/components/block-list/block.js b/editor/components/block-list/block.js
index 43d145c4948ad..39fdd04413906 100644
--- a/editor/components/block-list/block.js
+++ b/editor/components/block-list/block.js
@@ -591,7 +591,7 @@ export class BlockListBlock extends Component {
{ showSideInserter && (
-
+
-
@@ -60,7 +60,7 @@ exports[`DefaultBlockAppender should match snapshot 1`] = `
value="Write your story"
/>
-
@@ -84,7 +84,7 @@ exports[`DefaultBlockAppender should optionally show without prompt 1`] = `
value=""
/>