diff --git a/test/integration/fixtures/blocks/core__comments-query-loop.html b/test/integration/fixtures/blocks/core__comments-query-loop.html index 2fbc1e0de80de2..156166ee90f9a4 100644 --- a/test/integration/fixtures/blocks/core__comments-query-loop.html +++ b/test/integration/fixtures/blocks/core__comments-query-loop.html @@ -1,41 +1,33 @@ -
+
+ -
- -
- -
- - - -
- - - -
- - - -
- - - - - -
- -
+
+
+ + + +
+ + +
+ +
+ + + + +
+
- + - + - + - -
- +
+ \ No newline at end of file diff --git a/test/integration/fixtures/blocks/core__comments-query-loop.json b/test/integration/fixtures/blocks/core__comments-query-loop.json index 98e97afdb9c90a..d796d78c97ffd9 100644 --- a/test/integration/fixtures/blocks/core__comments-query-loop.json +++ b/test/integration/fixtures/blocks/core__comments-query-loop.json @@ -6,6 +6,34 @@ "tagName": "div" }, "innerBlocks": [ + { + "name": "core/comments-title", + "isValid": true, + "attributes": { + "showPostTitle": true, + "showCommentsCount": true, + "level": 4, + "borderColor": "vivid-red", + "backgroundColor": "primary", + "textColor": "background", + "fontSize": "large", + "style": { + "spacing": { + "padding": { + "top": "6px", + "right": "6px", + "bottom": "6px", + "left": "6px" + } + }, + "border": { + "width": "3px", + "radius": "100px" + } + } + }, + "innerBlocks": [] + }, { "name": "core/comment-template", "isValid": true, diff --git a/test/integration/fixtures/blocks/core__comments-query-loop.parsed.json b/test/integration/fixtures/blocks/core__comments-query-loop.parsed.json index a5f207fff8388a..529336e78a0985 100644 --- a/test/integration/fixtures/blocks/core__comments-query-loop.parsed.json +++ b/test/integration/fixtures/blocks/core__comments-query-loop.parsed.json @@ -3,6 +3,33 @@ "blockName": "core/comments-query-loop", "attrs": {}, "innerBlocks": [ + { + "blockName": "core/comments-title", + "attrs": { + "level": 4, + "style": { + "spacing": { + "padding": { + "top": "6px", + "right": "6px", + "bottom": "6px", + "left": "6px" + } + }, + "border": { + "width": "3px", + "radius": "100px" + } + }, + "borderColor": "vivid-red", + "backgroundColor": "primary", + "textColor": "background", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, { "blockName": "core/comment-template", "attrs": {}, @@ -32,11 +59,11 @@ "innerContent": [] } ], - "innerHTML": "\n\t\t
\n\t\t\t\n\t\t
\n\t\t", + "innerHTML": "\n\t
\n\t", "innerContent": [ - "\n\t\t
\n\t\t\t", + "\n\t
", null, - "\n\t\t
\n\t\t" + "
\n\t" ] }, { @@ -81,13 +108,13 @@ "innerContent": [] } ], - "innerHTML": "\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t
\n\t\t\t", + "innerHTML": "\n\t
\n\t\n\t
\n\t", "innerContent": [ - "\n\t\t\t
\n\t\t\t\t", + "\n\t
", null, - "\n\n\t\t\t\t", + "\n\t\n\t", null, - "\n\t\t\t
\n\t\t\t" + "
\n\t" ] }, { @@ -105,27 +132,27 @@ "innerContent": [] } ], - "innerHTML": "\n\t\t
\n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\t\t
\n\t\t", + "innerHTML": "\n\t
\n\t\n\t\n\t\n\t\n\t\n\t
\n\t", "innerContent": [ - "\n\t\t
\n\t\t\t", + "\n\t
", null, - "\n\n\t\t\t", + "\n\t\n\t", null, - "\n\n\t\t\t", + "\n\t\n\t", null, - "\n\n\t\t\t", + "\n\t\n\t", null, - "\n\t\t
\n\t\t" + "
\n\t" ] } ], - "innerHTML": "\n\t
\n\t\t\n\n\t\t\n\t
\n\t", + "innerHTML": "\n\t
\n\t\n\t
\n\t", "innerContent": [ - "\n\t
\n\t\t", + "\n\t
", null, - "\n\n\t\t", + "\n\t\n\t", null, - "\n\t
\n\t" + "
\n\t" ] } ], @@ -158,25 +185,27 @@ "innerContent": [] } ], - "innerHTML": "\n\t\n\n\t\n\n\t\n\t", + "innerHTML": "\n\t\n\t\n\t\n\t\n\t\n\t", "innerContent": [ "\n\t", null, - "\n\n\t", + "\n\t\n\t", null, - "\n\n\t", + "\n\t\n\t", null, "\n\t" ] } ], - "innerHTML": "\n
\n\t\n\n\t\n
\n", + "innerHTML": "\n
\n\n\t\n\t\n\t
\n\t", "innerContent": [ - "\n
\n\t", + "\n
", null, "\n\n\t", null, - "\n
\n" + "\n\t\n\t", + null, + "
\n\t" ] } ] diff --git a/test/integration/fixtures/blocks/core__comments-query-loop.serialized.html b/test/integration/fixtures/blocks/core__comments-query-loop.serialized.html index 014b6210aaa089..dd0aa7f091628c 100644 --- a/test/integration/fixtures/blocks/core__comments-query-loop.serialized.html +++ b/test/integration/fixtures/blocks/core__comments-query-loop.serialized.html @@ -1,5 +1,7 @@ -
+
+ +
diff --git a/test/integration/fixtures/blocks/core__comments-title.html b/test/integration/fixtures/blocks/core__comments-title.html index 3ba9fbb36f6112..5af6be31bedfe0 100644 --- a/test/integration/fixtures/blocks/core__comments-title.html +++ b/test/integration/fixtures/blocks/core__comments-title.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/test/integration/fixtures/blocks/core__comments-title.json b/test/integration/fixtures/blocks/core__comments-title.json index 1e7a386971f7b7..bb436b955cd9ca 100644 --- a/test/integration/fixtures/blocks/core__comments-title.json +++ b/test/integration/fixtures/blocks/core__comments-title.json @@ -4,15 +4,24 @@ "isValid": true, "attributes": { "showPostTitle": true, - "textColor": "vivid-purple", - "fontFamily": "source-serif-pro", - "fontSize": "x-large", + "showCommentsCount": true, + "level": 4, + "borderColor": "vivid-red", + "backgroundColor": "primary", + "textColor": "background", + "fontSize": "large", "style": { - "typography": { - "textTransform": "uppercase", - "fontStyle": "italic", - "fontWeight": "900", - "lineHeight": "3" + "spacing": { + "padding": { + "top": "6px", + "right": "6px", + "bottom": "6px", + "left": "6px" + } + }, + "border": { + "width": "3px", + "radius": "100px" } } }, diff --git a/test/integration/fixtures/blocks/core__comments-title.parsed.json b/test/integration/fixtures/blocks/core__comments-title.parsed.json index 0fc109ee27be98..2aeed039c3a928 100644 --- a/test/integration/fixtures/blocks/core__comments-title.parsed.json +++ b/test/integration/fixtures/blocks/core__comments-title.parsed.json @@ -2,17 +2,25 @@ { "blockName": "core/comments-title", "attrs": { + "level": 4, "style": { - "typography": { - "textTransform": "uppercase", - "fontStyle": "italic", - "fontWeight": "900", - "lineHeight": "3" + "spacing": { + "padding": { + "top": "6px", + "right": "6px", + "bottom": "6px", + "left": "6px" + } + }, + "border": { + "width": "3px", + "radius": "100px" } }, - "textColor": "vivid-purple", - "fontSize": "x-large", - "fontFamily": "source-serif-pro" + "borderColor": "vivid-red", + "backgroundColor": "primary", + "textColor": "background", + "fontSize": "large" }, "innerBlocks": [], "innerHTML": "", diff --git a/test/integration/fixtures/blocks/core__comments-title.serialized.html b/test/integration/fixtures/blocks/core__comments-title.serialized.html index e54095328f79a3..6507dc669314d4 100644 --- a/test/integration/fixtures/blocks/core__comments-title.serialized.html +++ b/test/integration/fixtures/blocks/core__comments-title.serialized.html @@ -1 +1 @@ - +