From 05dbb0ce430d7d6fa51ae676d2f3da9ba102c30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=B3=C5=82kowski?= Date: Tue, 13 Apr 2021 07:50:51 +0200 Subject: [PATCH] Format all JSON files using Prettier formatter (#30714) * Gutenberg Plugin: Format JSON files with Prettier * Add newline to generated manifest to bring a Prettier smile Co-authored-by: Marcus Kazmierczak --- composer.json | 7 +- docs/manifest.json | 2 +- docs/toc.json | 512 ++-- docs/tool/index.js | 4 +- jsconfig.json | 2 +- lerna.json | 4 +- packages/a11y/tsconfig.json | 5 +- packages/api-fetch/tsconfig.json | 13 +- packages/block-library/src/button/block.json | 4 +- packages/block-library/src/column/block.json | 4 +- packages/block-library/src/columns/block.json | 5 +- .../block-library/src/latest-posts/block.json | 6 +- .../block-library/src/navigation/block.json | 5 +- .../block-library/src/paragraph/block.json | 5 +- .../block-library/src/post-author/block.json | 5 +- .../src/post-comments-count/block.json | 4 +- .../src/post-comments-form/block.json | 5 +- .../src/post-comments/block.json | 10 +- .../block-library/src/post-content/block.json | 5 +- .../block-library/src/post-date/block.json | 5 +- .../block-library/src/post-excerpt/block.json | 5 +- .../src/post-featured-image/block.json | 5 +- .../src/post-hierarchical-terms/block.json | 5 +- .../block-library/src/post-title/block.json | 5 +- .../block-library/src/pullquote/block.json | 7 +- .../src/query-pagination-next/block.json | 5 +- .../src/query-pagination-numbers/block.json | 5 +- .../src/query-pagination-previous/block.json | 5 +- .../src/query-pagination/block.json | 5 +- .../block-library/src/separator/block.json | 2 +- .../block-library/src/social-link/block.json | 4 +- .../block-library/src/social-links/block.json | 6 +- packages/block-library/src/spacer/block.json | 4 +- .../block-library/src/text-columns/block.json | 5 +- packages/customize-widgets/package.json | 4 +- .../default-class-anonymous/exports.json | 22 +- .../fixtures/default-class-named/exports.json | 27 +- .../default-function-anonymous/exports.json | 22 +- .../fixtures/default-function-named/ast.json | 37 +- .../default-function-named/exports.json | 27 +- .../fixtures/default-function-named/ir.json | 2 +- .../test/fixtures/default-identifier/ast.json | 42 +- .../fixtures/default-identifier/exports.json | 12 +- .../fixtures/default-import-default/ast.json | 37 +- .../default-import-default/exports.json | 12 +- .../default-import-default/module-ir.json | 2 +- .../fixtures/default-import-named/ast.json | 42 +- .../default-import-named/exports.json | 12 +- .../default-import-named/module-ir.json | 8 +- .../fixtures/default-named-export/ast.json | 47 +- .../default-named-export/exports.json | 37 +- .../fixtures/default-parse-error/exports.json | 235 +- .../exports.json | 12 +- .../exports.json | 22 +- .../fixtures/default-variable/exports.json | 17 +- .../test/fixtures/named-class/exports.json | 27 +- .../named-default-exported/exports.json | 27 +- .../named-default-exported/module-ir.json | 12 +- .../test/fixtures/named-default/exports.json | 27 +- .../fixtures/named-default/module-ir.json | 12 +- .../test/fixtures/named-function/exports.json | 27 +- .../test/fixtures/named-function/ir.json | 2 +- .../named-identifier-destructuring/ast.json | 92 +- .../exports.json | 22 +- .../test/fixtures/named-identifier/ast.json | 52 +- .../fixtures/named-identifier/exports.json | 22 +- .../named-identifiers-and-inline/ast.json | 137 +- .../named-identifiers-and-inline/exports.json | 72 +- .../test/fixtures/named-identifiers/ast.json | 147 +- .../fixtures/named-identifiers/exports.json | 52 +- .../test/fixtures/named-identifiers/ir.json | 18 +- .../fixtures/named-import-named/exports.json | 57 +- .../fixtures/named-import-namespace/ast.json | 47 +- .../named-import-namespace/exports.json | 22 +- .../module-exports.json | 27 +- .../named-import-namespace/module-ir.json | 8 +- .../test/fixtures/named-variable/exports.json | 32 +- .../fixtures/named-variables/exports.json | 47 +- .../fixtures/namespace-commented/exports.json | 17 +- .../namespace-commented/module-ir.json | 2 +- .../test/fixtures/namespace/exports.json | 12 +- .../test/fixtures/namespace/module-ir.json | 2 +- .../test/fixtures/tags-function/exports.json | 67 +- .../test/fixtures/tags-variable/exports.json | 32 +- packages/dom/tsconfig.json | 2 +- .../assets/greeting-reusable-block.json | 8 +- .../core__4-invalid-starting-letter.json | 20 +- ...ore__4-invalid-starting-letter.parsed.json | 16 +- .../fixtures/blocks/core__archives.json | 22 +- .../blocks/core__archives.parsed.json | 20 +- .../core__archives__showPostCounts.json | 22 +- ...core__archives__showPostCounts.parsed.json | 20 +- .../fixtures/blocks/core__audio.json | 28 +- .../fixtures/blocks/core__audio.parsed.json | 38 +- .../blocks/core__audio__deprecated-1.json | 24 +- .../core__audio__deprecated-1.parsed.json | 34 +- .../fixtures/blocks/core__block.json | 20 +- .../fixtures/blocks/core__block.parsed.json | 34 +- .../core__button__center__deprecated.json | 24 +- ...re__button__center__deprecated.parsed.json | 38 +- .../blocks/core__button__squared.json | 34 +- .../blocks/core__button__squared.parsed.json | 50 +- .../fixtures/blocks/core__buttons.json | 66 +- .../fixtures/blocks/core__buttons.parsed.json | 86 +- .../blocks/core__buttons__deprecated-1.json | 62 +- .../core__buttons__deprecated-1.parsed.json | 84 +- .../fixtures/blocks/core__calendar.json | 16 +- .../blocks/core__calendar.parsed.json | 30 +- .../fixtures/blocks/core__categories.json | 24 +- .../blocks/core__categories.parsed.json | 38 +- .../e2e-tests/fixtures/blocks/core__code.json | 20 +- .../fixtures/blocks/core__code.parsed.json | 34 +- .../fixtures/blocks/core__column.json | 62 +- .../fixtures/blocks/core__column.parsed.json | 76 +- .../blocks/core__column__deprecated-1.json | 66 +- .../core__column__deprecated-1.parsed.json | 80 +- .../fixtures/blocks/core__columns.json | 146 +- .../fixtures/blocks/core__columns.parsed.json | 176 +- .../blocks/core__columns__deprecated.json | 162 +- .../core__columns__deprecated.parsed.json | 144 +- .../fixtures/blocks/core__cover.json | 58 +- .../fixtures/blocks/core__cover.parsed.json | 72 +- .../blocks/core__cover__deprecated-1.json | 56 +- .../core__cover__deprecated-1.parsed.json | 40 +- .../blocks/core__cover__deprecated-2.json | 56 +- .../core__cover__deprecated-2.parsed.json | 40 +- .../blocks/core__cover__deprecated-3.json | 56 +- .../core__cover__deprecated-3.parsed.json | 40 +- .../blocks/core__cover__deprecated-4.json | 70 +- .../core__cover__deprecated-4.parsed.json | 80 +- .../blocks/core__cover__deprecated-5.json | 62 +- .../core__cover__deprecated-5.parsed.json | 72 +- .../blocks/core__cover__deprecated-6.json | 196 +- .../core__cover__deprecated-6.parsed.json | 224 +- .../blocks/core__cover__gradient-image.json | 60 +- .../core__cover__gradient-image.parsed.json | 74 +- .../blocks/core__cover__gradient-video.json | 60 +- .../core__cover__gradient-video.parsed.json | 76 +- .../blocks/core__cover__gradient.json | 58 +- .../blocks/core__cover__gradient.parsed.json | 70 +- .../blocks/core__cover__solid-color.json | 58 +- .../core__cover__solid-color.parsed.json | 70 +- .../blocks/core__cover__video-overlay.json | 60 +- .../core__cover__video-overlay.parsed.json | 76 +- .../fixtures/blocks/core__cover__video.json | 58 +- .../blocks/core__cover__video.parsed.json | 74 +- .../fixtures/blocks/core__embed.json | 28 +- .../fixtures/blocks/core__embed.parsed.json | 38 +- .../blocks/core__file__new-window.json | 30 +- .../blocks/core__file__new-window.parsed.json | 40 +- .../core__file__no-download-button.json | 28 +- ...core__file__no-download-button.parsed.json | 40 +- .../blocks/core__file__no-text-link.json | 26 +- .../core__file__no-text-link.parsed.json | 40 +- .../fixtures/blocks/core__freeform.json | 20 +- .../blocks/core__freeform.parsed.json | 34 +- .../blocks/core__freeform__undelimited.json | 20 +- .../core__freeform__undelimited.parsed.json | 18 +- .../blocks/core__gallery-with-caption.json | 55 +- .../core__gallery-with-caption.parsed.json | 41 +- .../fixtures/blocks/core__gallery.json | 55 +- .../fixtures/blocks/core__gallery.parsed.json | 41 +- .../blocks/core__gallery__columns.json | 57 +- .../blocks/core__gallery__columns.parsed.json | 43 +- .../blocks/core__gallery__deprecated-1.json | 46 +- .../core__gallery__deprecated-1.parsed.json | 40 +- .../blocks/core__gallery__deprecated-2.json | 56 +- .../core__gallery__deprecated-2.parsed.json | 40 +- .../blocks/core__gallery__deprecated-3.json | 53 +- .../core__gallery__deprecated-3.parsed.json | 43 +- .../blocks/core__gallery__deprecated-4.json | 72 +- .../core__gallery__deprecated-4.parsed.json | 44 +- .../blocks/core__gallery__deprecated-5.json | 84 +- .../core__gallery__deprecated-5.parsed.json | 44 +- .../fixtures/blocks/core__group.json | 70 +- .../fixtures/blocks/core__group.parsed.json | 82 +- .../blocks/core__group__deprecated-2.json | 46 +- .../core__group__deprecated-2.parsed.json | 60 +- ...re__group__deprecated-inner-container.json | 70 +- ...up__deprecated-inner-container.parsed.json | 82 +- .../blocks/core__group__deprecated.json | 50 +- .../core__group__deprecated.parsed.json | 62 +- .../blocks/core__heading__deprecated-1.json | 24 +- .../core__heading__deprecated-1.parsed.json | 40 +- .../blocks/core__heading__deprecated-2.json | 24 +- .../core__heading__deprecated-2.parsed.json | 36 +- .../blocks/core__heading__deprecated-3.json | 32 +- .../core__heading__deprecated-3.parsed.json | 36 +- .../blocks/core__heading__deprecated-4.json | 26 +- .../core__heading__deprecated-4.parsed.json | 40 +- .../blocks/core__heading__h2-color.json | 24 +- .../core__heading__h2-color.parsed.json | 38 +- .../fixtures/blocks/core__heading__h2.json | 22 +- .../blocks/core__heading__h2.parsed.json | 34 +- .../fixtures/blocks/core__heading__h4-em.json | 22 +- .../blocks/core__heading__h4-em.parsed.json | 36 +- .../blocks/core__heading_align-textalign.json | 26 +- .../core__heading_align-textalign.parsed.json | 40 +- .../e2e-tests/fixtures/blocks/core__html.json | 20 +- .../fixtures/blocks/core__html.parsed.json | 34 +- .../fixtures/blocks/core__image.json | 24 +- .../fixtures/blocks/core__image.parsed.json | 34 +- .../blocks/core__image__attachment-link.json | 28 +- .../core__image__attachment-link.parsed.json | 38 +- .../blocks/core__image__center-caption.json | 26 +- .../core__image__center-caption.parsed.json | 38 +- .../core__image__custom-link-class.json | 30 +- ...core__image__custom-link-class.parsed.json | 38 +- .../blocks/core__image__custom-link-rel.json | 30 +- .../core__image__custom-link-rel.parsed.json | 38 +- .../blocks/core__image__custom-link.json | 28 +- .../core__image__custom-link.parsed.json | 38 +- .../blocks/core__image__deprecated-1.json | 26 +- .../core__image__deprecated-1.parsed.json | 38 +- .../blocks/core__image__deprecated-2.json | 30 +- .../core__image__deprecated-2.parsed.json | 42 +- .../blocks/core__image__deprecated-3.json | 30 +- .../core__image__deprecated-3.parsed.json | 42 +- .../blocks/core__image__media-link.json | 28 +- .../core__image__media-link.parsed.json | 38 +- .../blocks/core__invalid-Capitals.json | 20 +- .../blocks/core__invalid-Capitals.parsed.json | 16 +- .../blocks/core__invalid-special.json | 20 +- .../blocks/core__invalid-special.parsed.json | 16 +- .../blocks/core__latest-comments.json | 26 +- .../blocks/core__latest-comments.parsed.json | 38 +- .../fixtures/blocks/core__latest-posts.json | 48 +- .../blocks/core__latest-posts.parsed.json | 38 +- .../core__latest-posts__displayPostDate.json | 48 +- ..._latest-posts__displayPostDate.parsed.json | 36 +- .../fixtures/blocks/core__list__ul.json | 22 +- .../blocks/core__list__ul.parsed.json | 34 +- .../fixtures/blocks/core__loginout.json | 22 +- .../blocks/core__loginout.parsed.json | 30 +- .../fixtures/blocks/core__media-text.json | 60 +- .../blocks/core__media-text.parsed.json | 68 +- .../core__media-text__image-alt-no-align.json | 60 +- ...media-text__image-alt-no-align.parsed.json | 70 +- ...t__image-fill-no-focal-point-selected.json | 62 +- ...e-fill-no-focal-point-selected.parsed.json | 70 +- ..._image-fill-with-focal-point-selected.json | 70 +- ...fill-with-focal-point-selected.parsed.json | 78 +- ...ore__media-text__is-stacked-on-mobile.json | 60 +- ...dia-text__is-stacked-on-mobile.parsed.json | 70 +- ..._media-text__media-right-custom-width.json | 62 +- ...text__media-right-custom-width.parsed.json | 76 +- ...re__media-text__vertical-align-bottom.json | 62 +- ...ia-text__vertical-align-bottom.parsed.json | 70 +- .../blocks/core__media-text__video.json | 60 +- .../core__media-text__video.parsed.json | 68 +- .../fixtures/blocks/core__missing.json | 24 +- .../fixtures/blocks/core__missing.parsed.json | 40 +- .../e2e-tests/fixtures/blocks/core__more.json | 20 +- .../fixtures/blocks/core__more.parsed.json | 32 +- .../core__more__custom-text-teaser.json | 22 +- ...core__more__custom-text-teaser.parsed.json | 38 +- .../blocks/core__navigation-link.json | 24 +- .../blocks/core__navigation-link.parsed.json | 38 +- .../fixtures/blocks/core__navigation.json | 20 +- .../blocks/core__navigation.parsed.json | 32 +- .../blocks/core__navigation__deprecated.json | 64 +- .../core__navigation__deprecated.parsed.json | 76 +- .../fixtures/blocks/core__nextpage.json | 16 +- .../blocks/core__nextpage.parsed.json | 32 +- .../fixtures/blocks/core__page-list.json | 16 +- .../blocks/core__page-list.parsed.json | 14 +- .../blocks/core__paragraph__align-right.json | 24 +- .../core__paragraph__align-right.parsed.json | 38 +- .../blocks/core__paragraph__deprecated-4.json | 24 +- .../core__paragraph__deprecated-4.parsed.json | 38 +- .../blocks/core__paragraph__deprecated.json | 22 +- .../core__paragraph__deprecated.parsed.json | 32 +- .../fixtures/blocks/core__post-author.json | 22 +- .../blocks/core__post-author.parsed.json | 30 +- .../blocks/core__post-comment-author.json | 16 +- .../core__post-comment-author.parsed.json | 30 +- .../blocks/core__post-comment-content.json | 16 +- .../core__post-comment-content.parsed.json | 30 +- .../blocks/core__post-comment-date.json | 16 +- .../core__post-comment-date.parsed.json | 30 +- .../fixtures/blocks/core__post-comment.json | 16 +- .../blocks/core__post-comment.parsed.json | 32 +- .../blocks/core__post-comments-count.json | 16 +- .../core__post-comments-count.parsed.json | 30 +- .../blocks/core__post-comments-form.json | 16 +- .../core__post-comments-form.parsed.json | 30 +- .../fixtures/blocks/core__post-comments.json | 16 +- .../blocks/core__post-comments.parsed.json | 30 +- .../fixtures/blocks/core__post-content.json | 16 +- .../blocks/core__post-content.parsed.json | 30 +- .../fixtures/blocks/core__post-date.json | 20 +- .../blocks/core__post-date.parsed.json | 30 +- .../fixtures/blocks/core__post-excerpt.json | 22 +- .../blocks/core__post-excerpt.parsed.json | 30 +- .../blocks/core__post-featured-image.json | 20 +- .../core__post-featured-image.parsed.json | 30 +- .../blocks/core__post-hierarchical-terms.json | 16 +- .../core__post-hierarchical-terms.parsed.json | 30 +- .../blocks/core__post-navigation-link.json | 22 +- .../core__post-navigation-link.parsed.json | 34 +- .../fixtures/blocks/core__post-tags.json | 16 +- .../blocks/core__post-tags.parsed.json | 30 +- .../fixtures/blocks/core__post-title.json | 26 +- .../blocks/core__post-title.parsed.json | 30 +- .../fixtures/blocks/core__preformatted.json | 20 +- .../blocks/core__preformatted.parsed.json | 34 +- .../fixtures/blocks/core__pullquote.json | 22 +- .../blocks/core__pullquote.parsed.json | 34 +- .../blocks/core__pullquote__deprecated-1.json | 24 +- .../core__pullquote__deprecated-1.parsed.json | 34 +- .../blocks/core__pullquote__deprecated-2.json | 22 +- .../core__pullquote__deprecated-2.parsed.json | 34 +- .../blocks/core__pullquote__deprecated-3.json | 26 +- .../core__pullquote__deprecated-3.parsed.json | 40 +- .../blocks/core__pullquote__main-color.json | 28 +- .../core__pullquote__main-color.parsed.json | 42 +- .../core__pullquote__multi-paragraph.json | 22 +- ...re__pullquote__multi-paragraph.parsed.json | 34 +- .../fixtures/blocks/core__query-loop.json | 16 +- .../blocks/core__query-loop.parsed.json | 30 +- .../blocks/core__query-pagination-next.json | 16 +- .../core__query-pagination-next.parsed.json | 30 +- .../core__query-pagination-numbers.json | 16 +- ...core__query-pagination-numbers.parsed.json | 30 +- .../core__query-pagination-previous.json | 16 +- ...ore__query-pagination-previous.parsed.json | 30 +- .../blocks/core__query-pagination.json | 16 +- .../blocks/core__query-pagination.parsed.json | 34 +- .../fixtures/blocks/core__query-title.json | 20 +- .../blocks/core__query-title.parsed.json | 30 +- .../fixtures/blocks/core__query.json | 54 +- .../fixtures/blocks/core__query.parsed.json | 30 +- .../blocks/core__quote__deprecated-1.json | 24 +- .../core__quote__deprecated-1.parsed.json | 34 +- .../blocks/core__quote__deprecated-2.json | 24 +- .../core__quote__deprecated-2.parsed.json | 38 +- .../fixtures/blocks/core__quote__style-1.json | 22 +- .../blocks/core__quote__style-1.parsed.json | 34 +- .../fixtures/blocks/core__quote__style-2.json | 24 +- .../blocks/core__quote__style-2.parsed.json | 38 +- .../e2e-tests/fixtures/blocks/core__rss.json | 34 +- .../fixtures/blocks/core__rss.parsed.json | 46 +- .../fixtures/blocks/core__search.json | 26 +- .../fixtures/blocks/core__search.parsed.json | 30 +- .../blocks/core__search__custom-text.json | 30 +- .../core__search__custom-text.parsed.json | 38 +- .../fixtures/blocks/core__separator.json | 16 +- .../blocks/core__separator.parsed.json | 32 +- .../fixtures/blocks/core__shortcode.json | 20 +- .../blocks/core__shortcode.parsed.json | 32 +- .../fixtures/blocks/core__site-logo.json | 16 +- .../blocks/core__site-logo.parsed.json | 30 +- .../fixtures/blocks/core__site-tagline.json | 16 +- .../blocks/core__site-tagline.parsed.json | 30 +- .../fixtures/blocks/core__site-title.json | 20 +- .../blocks/core__site-title.parsed.json | 30 +- .../blocks/core__social-link-amazon.json | 22 +- .../core__social-link-amazon.parsed.json | 34 +- .../blocks/core__social-link-bandcamp.json | 22 +- .../core__social-link-bandcamp.parsed.json | 34 +- .../blocks/core__social-link-behance.json | 22 +- .../core__social-link-behance.parsed.json | 34 +- .../blocks/core__social-link-chain.json | 22 +- .../core__social-link-chain.parsed.json | 34 +- .../blocks/core__social-link-codepen.json | 22 +- .../core__social-link-codepen.parsed.json | 34 +- .../blocks/core__social-link-deviantart.json | 22 +- .../core__social-link-deviantart.parsed.json | 34 +- .../blocks/core__social-link-dribbble.json | 22 +- .../core__social-link-dribbble.parsed.json | 34 +- .../blocks/core__social-link-dropbox.json | 22 +- .../core__social-link-dropbox.parsed.json | 34 +- .../blocks/core__social-link-etsy.json | 22 +- .../blocks/core__social-link-etsy.parsed.json | 34 +- .../blocks/core__social-link-facebook.json | 22 +- .../core__social-link-facebook.parsed.json | 34 +- .../blocks/core__social-link-feed.json | 22 +- .../blocks/core__social-link-feed.parsed.json | 34 +- .../core__social-link-fivehundredpx.json | 22 +- ...ore__social-link-fivehundredpx.parsed.json | 34 +- .../blocks/core__social-link-flickr.json | 22 +- .../core__social-link-flickr.parsed.json | 34 +- .../blocks/core__social-link-foursquare.json | 22 +- .../core__social-link-foursquare.parsed.json | 34 +- .../blocks/core__social-link-github.json | 22 +- .../core__social-link-github.parsed.json | 34 +- .../blocks/core__social-link-goodreads.json | 22 +- .../core__social-link-goodreads.parsed.json | 34 +- .../blocks/core__social-link-google.json | 22 +- .../core__social-link-google.parsed.json | 34 +- .../blocks/core__social-link-instagram.json | 22 +- .../core__social-link-instagram.parsed.json | 34 +- .../blocks/core__social-link-lastfm.json | 22 +- .../core__social-link-lastfm.parsed.json | 34 +- .../blocks/core__social-link-linkedin.json | 22 +- .../core__social-link-linkedin.parsed.json | 34 +- .../blocks/core__social-link-mail.json | 22 +- .../blocks/core__social-link-mail.parsed.json | 34 +- .../blocks/core__social-link-mastodon.json | 22 +- .../core__social-link-mastodon.parsed.json | 34 +- .../blocks/core__social-link-medium.json | 22 +- .../core__social-link-medium.parsed.json | 34 +- .../blocks/core__social-link-meetup.json | 22 +- .../core__social-link-meetup.parsed.json | 34 +- .../blocks/core__social-link-pinterest.json | 22 +- .../core__social-link-pinterest.parsed.json | 34 +- .../blocks/core__social-link-pocket.json | 22 +- .../core__social-link-pocket.parsed.json | 34 +- .../blocks/core__social-link-reddit.json | 22 +- .../core__social-link-reddit.parsed.json | 34 +- .../blocks/core__social-link-skype.json | 22 +- .../core__social-link-skype.parsed.json | 34 +- .../blocks/core__social-link-snapchat.json | 22 +- .../core__social-link-snapchat.parsed.json | 34 +- .../blocks/core__social-link-soundcloud.json | 22 +- .../core__social-link-soundcloud.parsed.json | 34 +- .../blocks/core__social-link-spotify.json | 22 +- .../core__social-link-spotify.parsed.json | 34 +- .../blocks/core__social-link-tumblr.json | 22 +- .../core__social-link-tumblr.parsed.json | 34 +- .../blocks/core__social-link-twitch.json | 22 +- .../core__social-link-twitch.parsed.json | 34 +- .../blocks/core__social-link-twitter.json | 22 +- .../core__social-link-twitter.parsed.json | 34 +- .../blocks/core__social-link-vimeo.json | 22 +- .../core__social-link-vimeo.parsed.json | 34 +- .../fixtures/blocks/core__social-link-vk.json | 22 +- .../blocks/core__social-link-vk.parsed.json | 34 +- .../blocks/core__social-link-wordpress.json | 22 +- .../core__social-link-wordpress.parsed.json | 34 +- .../blocks/core__social-link-yelp.json | 22 +- .../blocks/core__social-link-yelp.parsed.json | 34 +- .../blocks/core__social-link-youtube.json | 22 +- .../core__social-link-youtube.parsed.json | 34 +- .../fixtures/blocks/core__social-link.json | 22 +- .../blocks/core__social-link.parsed.json | 36 +- .../fixtures/blocks/core__social-links.json | 44 +- .../blocks/core__social-links.parsed.json | 60 +- .../fixtures/blocks/core__spacer.json | 20 +- .../fixtures/blocks/core__spacer.parsed.json | 34 +- .../blocks/core__spacer__horizontal.json | 22 +- .../core__spacer__horizontal.parsed.json | 24 +- .../fixtures/blocks/core__table.json | 288 +- .../fixtures/blocks/core__table.parsed.json | 34 +- .../fixtures/blocks/core__table__caption.json | 288 +- .../blocks/core__table__caption.parsed.json | 34 +- .../blocks/core__table__deprecated-1.json | 286 +- .../core__table__deprecated-1.parsed.json | 34 +- .../blocks/core__table__scope-attribute.json | 294 +- .../core__table__scope-attribute.parsed.json | 34 +- .../fixtures/blocks/core__tag-cloud.json | 22 +- .../blocks/core__tag-cloud.parsed.json | 18 +- .../core__tag-cloud__showTagCounts.json | 22 +- ...core__tag-cloud__showTagCounts.parsed.json | 20 +- .../fixtures/blocks/core__template-part.json | 22 +- .../blocks/core__template-part.parsed.json | 20 +- .../blocks/core__term-description.json | 20 +- .../blocks/core__term-description.parsed.json | 34 +- .../fixtures/blocks/core__text-columns.json | 38 +- .../blocks/core__text-columns.parsed.json | 38 +- .../core__text__converts-to-paragraph.json | 22 +- ...e__text__converts-to-paragraph.parsed.json | 34 +- .../fixtures/blocks/core__verse.json | 20 +- .../fixtures/blocks/core__verse.parsed.json | 34 +- .../blocks/core__verse__deprecated.json | 22 +- .../core__verse__deprecated.parsed.json | 38 +- .../fixtures/blocks/core__video.json | 36 +- .../fixtures/blocks/core__video.parsed.json | 34 +- .../core_buttons__simple__deprecated.json | 62 +- ...re_buttons__simple__deprecated.parsed.json | 80 +- .../fixtures/menu-items-response-fixture.json | 2616 ++++++++--------- packages/i18n/tsconfig.json | 6 +- .../local-storage-overrides.json | 50 +- packages/react-native-editor/app.json | 4 +- .../AppIcon.appiconset/Contents.json | 104 +- .../Images.xcassets/Contents.json | 10 +- .../aztec.imageset/Contents.json | 40 +- packages/url/src/test/fixtures/wpt-data.json | 293 +- phpunit/fixtures/block.json | 13 +- .../pattern-directory/browse-all.json | 51 +- .../pattern-directory/browse-category-2.json | 35 +- .../pattern-directory/browse-keyword-11.json | 51 +- .../pattern-directory/search-button.json | 67 +- 483 files changed, 10338 insertions(+), 10924 deletions(-) diff --git a/composer.json b/composer.json index 3e6346fa821f98..dc614eb33307be 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,12 @@ "description": "Prototyping since 1440. Development hub for the editor focus in core.", "homepage": "https://wordpress.github.io/gutenberg/", "keywords": [ - "gutenberg", "wordpress", "editor", "wp", "react", "javascript" + "gutenberg", + "wordpress", + "editor", + "wp", + "react", + "javascript" ], "support": { "issues": "https://github.com/WordPress/gutenberg/issues" diff --git a/docs/manifest.json b/docs/manifest.json index c72f2673adf4b1..7ae7248c0a9ab7 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -1889,4 +1889,4 @@ "markdown_source": "../docs/contributors/roadmap.md", "parent": "contributors" } -] \ No newline at end of file +] diff --git a/docs/toc.json b/docs/toc.json index d2c1d102340905..ac29061f47ae3c 100644 --- a/docs/toc.json +++ b/docs/toc.json @@ -1,175 +1,341 @@ [ - { "docs/README.md": [ - { "docs/getting-started/tutorials/README.md": [ - { "docs/getting-started/tutorials/devenv/README.md": [ - { "docs/getting-started/tutorials/devenv/docker-ubuntu.md": [] } - ] }, - { "docs/getting-started/tutorials/create-block/README.md": [ - { "docs/getting-started/tutorials/create-block/wp-plugin.md": [] }, - { "docs/getting-started/tutorials/create-block/block-anatomy.md": [] }, - { "docs/getting-started/tutorials/create-block/attributes.md": [] }, - { "docs/getting-started/tutorials/create-block/block-code.md": [] }, - { "docs/getting-started/tutorials/create-block/author-experience.md": [] }, - { "docs/getting-started/tutorials/create-block/finishing.md": [] }, - { "docs/getting-started/tutorials/create-block/submitting-to-block-directory.md": [] } - ] } - ] }, - { "docs/getting-started/glossary.md": [] }, - { "docs/getting-started/faq.md": [] }, - { "docs/getting-started/history.md": [] }, - { "docs/getting-started/outreach.md": [] } - ] }, - { "docs/how-to-guides/README.md": [ - { "docs/how-to-guides/javascript/README.md": [ - { "docs/how-to-guides/javascript/plugins-background.md": [] }, - { "docs/how-to-guides/javascript/loading-javascript.md": [] }, - { "docs/how-to-guides/javascript/extending-the-block-editor.md": [] }, - { "docs/how-to-guides/javascript/troubleshooting.md": [] }, - { "docs/how-to-guides/javascript/versions-and-building.md": [] }, - { "docs/how-to-guides/javascript/scope-your-code.md": [] }, - { "docs/how-to-guides/javascript/js-build-setup.md": [] }, - { "docs/how-to-guides/javascript/esnext-js.md": [] } - ] }, - { "docs/how-to-guides/metabox/README.md": [ - { "docs/how-to-guides/metabox/meta-block-1-intro.md": [] }, - { "docs/how-to-guides/metabox/meta-block-2-register-meta.md": [] }, - { "docs/how-to-guides/metabox/meta-block-3-add.md": [] }, - { "docs/how-to-guides/metabox/meta-block-4-use-data.md": [] }, - { "docs/how-to-guides/metabox/meta-block-5-finishing.md": [] } - ] }, - { "docs/how-to-guides/notices/README.md": [] }, - { "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-0.md": [ - { "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-1-up-and-running.md": [] }, - { "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-2-styles-and-controls.md": [] }, - { "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-3-register-meta.md": [] }, - { "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-4-initialize-input.md": [] }, - { "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-5-update-meta.md": [] }, - { "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-6-finishing-touches.md": [] } - ] }, - { "docs/how-to-guides/block-tutorial/README.md": [ - { "docs/how-to-guides/block-tutorial/writing-your-first-block-type.md": [] }, - { "docs/how-to-guides/block-tutorial/applying-styles-with-stylesheets.md": [] }, - { "docs/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields.md": [] }, - { "docs/how-to-guides/block-tutorial/block-controls-toolbar-and-sidebar.md": [] }, - { "docs/how-to-guides/block-tutorial/creating-dynamic-blocks.md": [] }, - { "docs/how-to-guides/block-tutorial/generate-blocks-with-wp-cli.md": [] }, - { "docs/how-to-guides/block-tutorial/nested-blocks-inner-blocks.md": [] } - ] }, - { "docs/how-to-guides/feature-flags.md": [] }, - { "docs/how-to-guides/themes/README.md": [ - { "docs/how-to-guides/themes/theme-support.md": [] }, - { "docs/how-to-guides/themes/theme-json.md": [] } - ]}, - { "docs/how-to-guides/block-based-theme/README.md": [ - { "docs/how-to-guides/block-based-theme/block-based-themes-2-adding-blocks.md": [] } - ] }, - { "docs/how-to-guides/backward-compatibility/README.md": [ - { "docs/how-to-guides/backward-compatibility/deprecations.md": [] }, - { "docs/how-to-guides/backward-compatibility/meta-box.md": [] } - ] }, - { "docs/how-to-guides/format-api/README.md": [ - { "docs/how-to-guides/format-api/1-register-format.md": [] }, - { "docs/how-to-guides/format-api/2-toolbar-button.md": [] }, - { "docs/how-to-guides/format-api/3-apply-format.md": [] } - ] }, - { "docs/how-to-guides/platform/README.md": [ - { "docs/how-to-guides/platform/custom-block-editor/README.md": [ - { "docs/how-to-guides/platform/custom-block-editor/tutorial.md": [] } - ] } - ] }, - { "docs/how-to-guides/designers/README.md": [ - { "docs/how-to-guides/designers/block-design.md": [] }, - { "docs/how-to-guides/designers/user-interface.md": [] }, - { "docs/how-to-guides/designers/design-resources.md": [] }, - { "docs/how-to-guides/designers/animation.md": [] } - ] }, - { "docs/how-to-guides/accessibility.md": [] }, - { "docs/how-to-guides/internationalization.md": [] } - ] }, - { "docs/reference-guides/README.md": [ - { "docs/reference-guides/block-api/README.md": [ - { "docs/reference-guides/block-api/block-registration.md": [] }, - { "docs/reference-guides/block-api/block-edit-save.md": [] }, - { "docs/reference-guides/block-api/block-attributes.md": [] }, - { "docs/reference-guides/block-api/block-context.md": [] }, - { "docs/reference-guides/block-api/block-deprecation.md": [] }, - { "docs/reference-guides/block-api/block-supports.md": [] }, - { "docs/reference-guides/block-api/block-transforms.md": [] }, - { "docs/reference-guides/block-api/block-templates.md": [] }, - { "docs/reference-guides/block-api/block-metadata.md": [] }, - { "docs/reference-guides/block-api/block-variations.md": [] }, - { "docs/reference-guides/block-api/block-patterns.md": [] }, - { "docs/reference-guides/block-api/block-annotations.md": [] }, - { "docs/reference-guides/block-api/versions.md": [] } - ] }, - { "docs/reference-guides/filters/README.md": [ - { "docs/reference-guides/filters/block-filters.md": [] }, - { "docs/reference-guides/filters/editor-filters.md": [] }, - { "docs/reference-guides/filters/parser-filters.md": [] }, - { "docs/reference-guides/filters/autocomplete-filters.md": [] } - ] }, - { "docs/reference-guides/slotfills/README.md": [ - { "docs/reference-guides/slotfills/main-dashboard-button.md": [] }, - { "docs/reference-guides/slotfills/plugin-block-settings-menu-item.md": [] }, - { "docs/reference-guides/slotfills/plugin-document-setting-panel.md": [] }, - { "docs/reference-guides/slotfills/plugin-more-menu-item.md": [] }, - { "docs/reference-guides/slotfills/plugin-post-publish-panel.md": [] }, - { "docs/reference-guides/slotfills/plugin-post-status-info.md": [] }, - { "docs/reference-guides/slotfills/plugin-pre-publish-panel.md": [] }, - { "docs/reference-guides/slotfills/plugin-sidebar.md": [] }, - { "docs/reference-guides/slotfills/plugin-sidebar-more-menu-item.md": [] } - ] }, - { "docs/reference-guides/richtext.md": [] }, - { "packages/components/README.md": "{{components}}" }, - { "docs/reference-guides/packages.md": "{{packages}}" }, - { "docs/reference-guides/data/README.md": [ - { "docs/reference-guides/data/data-core.md": [] }, - { "docs/reference-guides/data/data-core-annotations.md": [] }, - { "docs/reference-guides/data/data-core-blocks.md": [] }, - { "docs/reference-guides/data/data-core-block-editor.md": [] }, - { "docs/reference-guides/data/data-core-editor.md": [] }, - { "docs/reference-guides/data/data-core-edit-post.md": [] }, - { "docs/reference-guides/data/data-core-notices.md": [] }, - { "docs/reference-guides/data/data-core-nux.md": [] }, - { "docs/reference-guides/data/data-core-viewport.md": [] } - ] } - ] }, - { "docs/explanations/README.md": [ - { "docs/explanations/architecture/README.md": [ - { "docs/explanations/architecture/key-concepts.md": [] }, - { "docs/explanations/architecture/data-flow.md": [] }, - { "docs/explanations/architecture/modularity.md": [] }, - { "docs/explanations/architecture/performance.md": [] }, - { "docs/explanations/architecture/automated-testing.md": [] }, - { "docs/explanations/architecture/full-site-editing-templates.md": [] } - ] } - ] }, - { "docs/contributors/README.md": [ - { "docs/contributors/code/README.md": [ - { "docs/contributors/code/getting-started-with-code-contribution.md": [] }, - { "docs/contributors/code/git-workflow.md": [] }, - { "docs/contributors/code/coding-guidelines.md": [] }, - { "docs/contributors/code/testing-overview.md": [] }, - { "docs/contributors/code/grammar.md": [] }, - { "docs/contributors/code/scripts.md": [] }, - { "docs/contributors/code/managing-packages.md": [] }, - { "docs/contributors/code/release.md": [] }, - { "docs/contributors/code/native-mobile.md": [] }, - { "docs/contributors/code/getting-started-native-mobile.md": [] } - ] }, - { "docs/contributors/design/README.md": [ - { "docs/contributors/design/the-block.md": [] }, - { "docs/contributors/design/reference.md": [] } - ] }, - { "docs/contributors/documentation/README.md": [ - { "docs/contributors/documentation/copy-guide.md": [] } - ] }, - { "docs/contributors/triage.md": [] }, - { "docs/contributors/localizing.md": [] }, - { "docs/contributors/accessibility-testing.md": [] }, - { "docs/contributors/repository-management.md": [] }, - { "docs/contributors/folder-structure.md": [] }, - { "docs/contributors/versions-in-wordpress.md": [] }, - { "docs/contributors/roadmap.md": [] } - ] } + { + "docs/README.md": [ + { + "docs/getting-started/tutorials/README.md": [ + { + "docs/getting-started/tutorials/devenv/README.md": [ + { + "docs/getting-started/tutorials/devenv/docker-ubuntu.md": [] + } + ] + }, + { + "docs/getting-started/tutorials/create-block/README.md": [ + { + "docs/getting-started/tutorials/create-block/wp-plugin.md": [] + }, + { + "docs/getting-started/tutorials/create-block/block-anatomy.md": [] + }, + { + "docs/getting-started/tutorials/create-block/attributes.md": [] + }, + { + "docs/getting-started/tutorials/create-block/block-code.md": [] + }, + { + "docs/getting-started/tutorials/create-block/author-experience.md": [] + }, + { + "docs/getting-started/tutorials/create-block/finishing.md": [] + }, + { + "docs/getting-started/tutorials/create-block/submitting-to-block-directory.md": [] + } + ] + } + ] + }, + { "docs/getting-started/glossary.md": [] }, + { "docs/getting-started/faq.md": [] }, + { "docs/getting-started/history.md": [] }, + { "docs/getting-started/outreach.md": [] } + ] + }, + { + "docs/how-to-guides/README.md": [ + { + "docs/how-to-guides/javascript/README.md": [ + { + "docs/how-to-guides/javascript/plugins-background.md": [] + }, + { + "docs/how-to-guides/javascript/loading-javascript.md": [] + }, + { + "docs/how-to-guides/javascript/extending-the-block-editor.md": [] + }, + { "docs/how-to-guides/javascript/troubleshooting.md": [] }, + { + "docs/how-to-guides/javascript/versions-and-building.md": [] + }, + { "docs/how-to-guides/javascript/scope-your-code.md": [] }, + { "docs/how-to-guides/javascript/js-build-setup.md": [] }, + { "docs/how-to-guides/javascript/esnext-js.md": [] } + ] + }, + { + "docs/how-to-guides/metabox/README.md": [ + { "docs/how-to-guides/metabox/meta-block-1-intro.md": [] }, + { + "docs/how-to-guides/metabox/meta-block-2-register-meta.md": [] + }, + { "docs/how-to-guides/metabox/meta-block-3-add.md": [] }, + { + "docs/how-to-guides/metabox/meta-block-4-use-data.md": [] + }, + { + "docs/how-to-guides/metabox/meta-block-5-finishing.md": [] + } + ] + }, + { "docs/how-to-guides/notices/README.md": [] }, + { + "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-0.md": [ + { + "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-1-up-and-running.md": [] + }, + { + "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-2-styles-and-controls.md": [] + }, + { + "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-3-register-meta.md": [] + }, + { + "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-4-initialize-input.md": [] + }, + { + "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-5-update-meta.md": [] + }, + { + "docs/how-to-guides/sidebar-tutorial/plugin-sidebar-6-finishing-touches.md": [] + } + ] + }, + { + "docs/how-to-guides/block-tutorial/README.md": [ + { + "docs/how-to-guides/block-tutorial/writing-your-first-block-type.md": [] + }, + { + "docs/how-to-guides/block-tutorial/applying-styles-with-stylesheets.md": [] + }, + { + "docs/how-to-guides/block-tutorial/introducing-attributes-and-editable-fields.md": [] + }, + { + "docs/how-to-guides/block-tutorial/block-controls-toolbar-and-sidebar.md": [] + }, + { + "docs/how-to-guides/block-tutorial/creating-dynamic-blocks.md": [] + }, + { + "docs/how-to-guides/block-tutorial/generate-blocks-with-wp-cli.md": [] + }, + { + "docs/how-to-guides/block-tutorial/nested-blocks-inner-blocks.md": [] + } + ] + }, + { "docs/how-to-guides/feature-flags.md": [] }, + { + "docs/how-to-guides/themes/README.md": [ + { "docs/how-to-guides/themes/theme-support.md": [] }, + { "docs/how-to-guides/themes/theme-json.md": [] } + ] + }, + { + "docs/how-to-guides/block-based-theme/README.md": [ + { + "docs/how-to-guides/block-based-theme/block-based-themes-2-adding-blocks.md": [] + } + ] + }, + { + "docs/how-to-guides/backward-compatibility/README.md": [ + { + "docs/how-to-guides/backward-compatibility/deprecations.md": [] + }, + { + "docs/how-to-guides/backward-compatibility/meta-box.md": [] + } + ] + }, + { + "docs/how-to-guides/format-api/README.md": [ + { + "docs/how-to-guides/format-api/1-register-format.md": [] + }, + { "docs/how-to-guides/format-api/2-toolbar-button.md": [] }, + { "docs/how-to-guides/format-api/3-apply-format.md": [] } + ] + }, + { + "docs/how-to-guides/platform/README.md": [ + { + "docs/how-to-guides/platform/custom-block-editor/README.md": [ + { + "docs/how-to-guides/platform/custom-block-editor/tutorial.md": [] + } + ] + } + ] + }, + { + "docs/how-to-guides/designers/README.md": [ + { "docs/how-to-guides/designers/block-design.md": [] }, + { "docs/how-to-guides/designers/user-interface.md": [] }, + { "docs/how-to-guides/designers/design-resources.md": [] }, + { "docs/how-to-guides/designers/animation.md": [] } + ] + }, + { "docs/how-to-guides/accessibility.md": [] }, + { "docs/how-to-guides/internationalization.md": [] } + ] + }, + { + "docs/reference-guides/README.md": [ + { + "docs/reference-guides/block-api/README.md": [ + { + "docs/reference-guides/block-api/block-registration.md": [] + }, + { + "docs/reference-guides/block-api/block-edit-save.md": [] + }, + { + "docs/reference-guides/block-api/block-attributes.md": [] + }, + { "docs/reference-guides/block-api/block-context.md": [] }, + { + "docs/reference-guides/block-api/block-deprecation.md": [] + }, + { "docs/reference-guides/block-api/block-supports.md": [] }, + { + "docs/reference-guides/block-api/block-transforms.md": [] + }, + { + "docs/reference-guides/block-api/block-templates.md": [] + }, + { "docs/reference-guides/block-api/block-metadata.md": [] }, + { + "docs/reference-guides/block-api/block-variations.md": [] + }, + { "docs/reference-guides/block-api/block-patterns.md": [] }, + { + "docs/reference-guides/block-api/block-annotations.md": [] + }, + { "docs/reference-guides/block-api/versions.md": [] } + ] + }, + { + "docs/reference-guides/filters/README.md": [ + { "docs/reference-guides/filters/block-filters.md": [] }, + { "docs/reference-guides/filters/editor-filters.md": [] }, + { "docs/reference-guides/filters/parser-filters.md": [] }, + { + "docs/reference-guides/filters/autocomplete-filters.md": [] + } + ] + }, + { + "docs/reference-guides/slotfills/README.md": [ + { + "docs/reference-guides/slotfills/main-dashboard-button.md": [] + }, + { + "docs/reference-guides/slotfills/plugin-block-settings-menu-item.md": [] + }, + { + "docs/reference-guides/slotfills/plugin-document-setting-panel.md": [] + }, + { + "docs/reference-guides/slotfills/plugin-more-menu-item.md": [] + }, + { + "docs/reference-guides/slotfills/plugin-post-publish-panel.md": [] + }, + { + "docs/reference-guides/slotfills/plugin-post-status-info.md": [] + }, + { + "docs/reference-guides/slotfills/plugin-pre-publish-panel.md": [] + }, + { "docs/reference-guides/slotfills/plugin-sidebar.md": [] }, + { + "docs/reference-guides/slotfills/plugin-sidebar-more-menu-item.md": [] + } + ] + }, + { "docs/reference-guides/richtext.md": [] }, + { "packages/components/README.md": "{{components}}" }, + { "docs/reference-guides/packages.md": "{{packages}}" }, + { + "docs/reference-guides/data/README.md": [ + { "docs/reference-guides/data/data-core.md": [] }, + { + "docs/reference-guides/data/data-core-annotations.md": [] + }, + { "docs/reference-guides/data/data-core-blocks.md": [] }, + { + "docs/reference-guides/data/data-core-block-editor.md": [] + }, + { "docs/reference-guides/data/data-core-editor.md": [] }, + { "docs/reference-guides/data/data-core-edit-post.md": [] }, + { "docs/reference-guides/data/data-core-notices.md": [] }, + { "docs/reference-guides/data/data-core-nux.md": [] }, + { "docs/reference-guides/data/data-core-viewport.md": [] } + ] + } + ] + }, + { + "docs/explanations/README.md": [ + { + "docs/explanations/architecture/README.md": [ + { "docs/explanations/architecture/key-concepts.md": [] }, + { "docs/explanations/architecture/data-flow.md": [] }, + { "docs/explanations/architecture/modularity.md": [] }, + { "docs/explanations/architecture/performance.md": [] }, + { + "docs/explanations/architecture/automated-testing.md": [] + }, + { + "docs/explanations/architecture/full-site-editing-templates.md": [] + } + ] + } + ] + }, + { + "docs/contributors/README.md": [ + { + "docs/contributors/code/README.md": [ + { + "docs/contributors/code/getting-started-with-code-contribution.md": [] + }, + { "docs/contributors/code/git-workflow.md": [] }, + { "docs/contributors/code/coding-guidelines.md": [] }, + { "docs/contributors/code/testing-overview.md": [] }, + { "docs/contributors/code/grammar.md": [] }, + { "docs/contributors/code/scripts.md": [] }, + { "docs/contributors/code/managing-packages.md": [] }, + { "docs/contributors/code/release.md": [] }, + { "docs/contributors/code/native-mobile.md": [] }, + { + "docs/contributors/code/getting-started-native-mobile.md": [] + } + ] + }, + { + "docs/contributors/design/README.md": [ + { "docs/contributors/design/the-block.md": [] }, + { "docs/contributors/design/reference.md": [] } + ] + }, + { + "docs/contributors/documentation/README.md": [ + { "docs/contributors/documentation/copy-guide.md": [] } + ] + }, + { "docs/contributors/triage.md": [] }, + { "docs/contributors/localizing.md": [] }, + { "docs/contributors/accessibility-testing.md": [] }, + { "docs/contributors/repository-management.md": [] }, + { "docs/contributors/folder-structure.md": [] }, + { "docs/contributors/versions-in-wordpress.md": [] }, + { "docs/contributors/roadmap.md": [] } + ] + } ] diff --git a/docs/tool/index.js b/docs/tool/index.js index f8b5b36a9ea84d..aea46c38c9e474 100644 --- a/docs/tool/index.js +++ b/docs/tool/index.js @@ -15,5 +15,7 @@ const manifestOutput = path.resolve( __dirname, '../manifest.json' ); // Process TOC file and generate manifest handbook fs.writeFileSync( manifestOutput, - JSON.stringify( getRootManifest( tocFileInput ), undefined, '\t' ) + JSON.stringify( getRootManifest( tocFileInput ), undefined, '\t' ).concat( + '\n' + ) ); diff --git a/jsconfig.json b/jsconfig.json index 51f5ce09b49e00..204c9955c3cff1 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "@wordpress/*": ["./*", "./packages/*/src"] + "@wordpress/*": [ "./*", "./packages/*/src" ] } }, "exclude": [ diff --git a/lerna.json b/lerna.json index eea747b337ce78..d71a10ac52c86d 100644 --- a/lerna.json +++ b/lerna.json @@ -10,8 +10,6 @@ "**/{__mocks__,__tests__,test}/**", "**/{storybook,stories}/**" ], - "packages": [ - "packages/*" - ], + "packages": [ "packages/*" ], "version": "independent" } diff --git a/packages/a11y/tsconfig.json b/packages/a11y/tsconfig.json index 4dee7cbbdf25d0..1fbcb11147444b 100644 --- a/packages/a11y/tsconfig.json +++ b/packages/a11y/tsconfig.json @@ -4,9 +4,6 @@ "rootDir": "src", "declarationDir": "build-types" }, - "references": [ - { "path": "../dom-ready" }, - { "path": "../i18n" }, - ], + "references": [ { "path": "../dom-ready" }, { "path": "../i18n" } ], "include": [ "src/**/*" ] } diff --git a/packages/api-fetch/tsconfig.json b/packages/api-fetch/tsconfig.json index 744a19d13fa97e..2dcfb6b4ff479e 100644 --- a/packages/api-fetch/tsconfig.json +++ b/packages/api-fetch/tsconfig.json @@ -4,14 +4,7 @@ "rootDir": "src", "declarationDir": "build-types" }, - "references": [ - { "path": "../i18n" }, - { "path": "../url" } - ], - "include": [ - "src/**/*", - ], - "exclude": [ - "**/test/**/*", - ] + "references": [ { "path": "../i18n" }, { "path": "../url" } ], + "include": [ "src/**/*" ], + "exclude": [ "**/test/**/*" ] } diff --git a/packages/block-library/src/button/block.json b/packages/block-library/src/button/block.json index 01097b424462fa..08887e163c4b53 100644 --- a/packages/block-library/src/button/block.json +++ b/packages/block-library/src/button/block.json @@ -2,9 +2,7 @@ "apiVersion": 2, "name": "core/button", "category": "design", - "parent": [ - "core/buttons" - ], + "parent": [ "core/buttons" ], "attributes": { "url": { "type": "string", diff --git a/packages/block-library/src/column/block.json b/packages/block-library/src/column/block.json index 02c2084dabb3f4..5d29a9d8091786 100644 --- a/packages/block-library/src/column/block.json +++ b/packages/block-library/src/column/block.json @@ -2,9 +2,7 @@ "apiVersion": 2, "name": "core/column", "category": "text", - "parent": [ - "core/columns" - ], + "parent": [ "core/columns" ], "attributes": { "verticalAlignment": { "type": "string" diff --git a/packages/block-library/src/columns/block.json b/packages/block-library/src/columns/block.json index 7aa5ff3e1bc8c4..d9f61692b7cf82 100644 --- a/packages/block-library/src/columns/block.json +++ b/packages/block-library/src/columns/block.json @@ -9,10 +9,7 @@ }, "supports": { "anchor": true, - "align": [ - "wide", - "full" - ], + "align": [ "wide", "full" ], "html": false, "color": { "gradients": true, diff --git a/packages/block-library/src/latest-posts/block.json b/packages/block-library/src/latest-posts/block.json index 2f603bc57274e4..46f1c197b6c531 100644 --- a/packages/block-library/src/latest-posts/block.json +++ b/packages/block-library/src/latest-posts/block.json @@ -58,11 +58,7 @@ }, "featuredImageAlign": { "type": "string", - "enum": [ - "left", - "center", - "right" - ] + "enum": [ "left", "center", "right" ] }, "featuredImageSizeSlug": { "type": "string", diff --git a/packages/block-library/src/navigation/block.json b/packages/block-library/src/navigation/block.json index dd6c660d87a8cd..28c7d25a89ea68 100644 --- a/packages/block-library/src/navigation/block.json +++ b/packages/block-library/src/navigation/block.json @@ -44,10 +44,7 @@ "orientation": "orientation" }, "supports": { - "align": [ - "wide", - "full" - ], + "align": [ "wide", "full" ], "anchor": true, "html": false, "inserter": true, diff --git a/packages/block-library/src/paragraph/block.json b/packages/block-library/src/paragraph/block.json index a29e22c01d5af3..709eda64eee58f 100644 --- a/packages/block-library/src/paragraph/block.json +++ b/packages/block-library/src/paragraph/block.json @@ -21,10 +21,7 @@ }, "direction": { "type": "string", - "enum": [ - "ltr", - "rtl" - ] + "enum": [ "ltr", "rtl" ] } }, "supports": { diff --git a/packages/block-library/src/post-author/block.json b/packages/block-library/src/post-author/block.json index 8a4d8d66dbb670..f65ead96a6a200 100644 --- a/packages/block-library/src/post-author/block.json +++ b/packages/block-library/src/post-author/block.json @@ -21,10 +21,7 @@ "type": "string" } }, - "usesContext": [ - "postType", - "postId" - ], + "usesContext": [ "postType", "postId" ], "supports": { "html": false, "fontSize": true, diff --git a/packages/block-library/src/post-comments-count/block.json b/packages/block-library/src/post-comments-count/block.json index 85d4005651da6e..ff805e62e98edf 100644 --- a/packages/block-library/src/post-comments-count/block.json +++ b/packages/block-library/src/post-comments-count/block.json @@ -7,9 +7,7 @@ "type": "string" } }, - "usesContext": [ - "postId" - ], + "usesContext": [ "postId" ], "supports": { "html": false, "color": { diff --git a/packages/block-library/src/post-comments-form/block.json b/packages/block-library/src/post-comments-form/block.json index 61c339f5012879..4601db8546c4e0 100644 --- a/packages/block-library/src/post-comments-form/block.json +++ b/packages/block-library/src/post-comments-form/block.json @@ -7,10 +7,7 @@ "type": "string" } }, - "usesContext": [ - "postId", - "postType" - ], + "usesContext": [ "postId", "postType" ], "supports": { "html": false, "color": { diff --git a/packages/block-library/src/post-comments/block.json b/packages/block-library/src/post-comments/block.json index ee1e3d4c03f717..a29657c0b768e1 100644 --- a/packages/block-library/src/post-comments/block.json +++ b/packages/block-library/src/post-comments/block.json @@ -7,16 +7,10 @@ "type": "string" } }, - "usesContext": [ - "postId", - "postType" - ], + "usesContext": [ "postId", "postType" ], "supports": { "html": false, - "align": [ - "wide", - "full" - ], + "align": [ "wide", "full" ], "fontSize": true, "color": { "gradients": true, diff --git a/packages/block-library/src/post-content/block.json b/packages/block-library/src/post-content/block.json index 0c714599ff48db..adeae5bc50fe4e 100644 --- a/packages/block-library/src/post-content/block.json +++ b/packages/block-library/src/post-content/block.json @@ -2,10 +2,7 @@ "apiVersion": 2, "name": "core/post-content", "category": "design", - "usesContext": [ - "postId", - "postType" - ], + "usesContext": [ "postId", "postType" ], "supports": { "align": [ "wide", "full" ], "html": false, diff --git a/packages/block-library/src/post-date/block.json b/packages/block-library/src/post-date/block.json index 58bd054fa4d053..6f2cc4866a31df 100644 --- a/packages/block-library/src/post-date/block.json +++ b/packages/block-library/src/post-date/block.json @@ -14,10 +14,7 @@ "default": false } }, - "usesContext": [ - "postId", - "postType" - ], + "usesContext": [ "postId", "postType" ], "supports": { "html": false, "color": { diff --git a/packages/block-library/src/post-excerpt/block.json b/packages/block-library/src/post-excerpt/block.json index a1e3a1bc7be4df..6b89bb416166e6 100644 --- a/packages/block-library/src/post-excerpt/block.json +++ b/packages/block-library/src/post-excerpt/block.json @@ -18,10 +18,7 @@ "default": true } }, - "usesContext": [ - "postId", - "postType" - ], + "usesContext": [ "postId", "postType" ], "supports": { "html": false, "fontSize": true, diff --git a/packages/block-library/src/post-featured-image/block.json b/packages/block-library/src/post-featured-image/block.json index f3a2deb587122e..85a6fed5ccc553 100644 --- a/packages/block-library/src/post-featured-image/block.json +++ b/packages/block-library/src/post-featured-image/block.json @@ -8,10 +8,7 @@ "default": false } }, - "usesContext": [ - "postId", - "postType" - ], + "usesContext": [ "postId", "postType" ], "supports": { "align": [ "left", "right", "center", "wide", "full" ], "html": false diff --git a/packages/block-library/src/post-hierarchical-terms/block.json b/packages/block-library/src/post-hierarchical-terms/block.json index 9c525bd00621cd..5c6c58def893a4 100644 --- a/packages/block-library/src/post-hierarchical-terms/block.json +++ b/packages/block-library/src/post-hierarchical-terms/block.json @@ -10,10 +10,7 @@ "type": "string" } }, - "usesContext": [ - "postId", - "postType" - ], + "usesContext": [ "postId", "postType" ], "supports": { "html": false, "fontSize": true, diff --git a/packages/block-library/src/post-title/block.json b/packages/block-library/src/post-title/block.json index afefdb8d48c534..6874b62c0e4844 100644 --- a/packages/block-library/src/post-title/block.json +++ b/packages/block-library/src/post-title/block.json @@ -2,10 +2,7 @@ "apiVersion": 2, "name": "core/post-title", "category": "design", - "usesContext": [ - "postId", - "postType" - ], + "usesContext": [ "postId", "postType" ], "attributes": { "textAlign": { "type": "string" diff --git a/packages/block-library/src/pullquote/block.json b/packages/block-library/src/pullquote/block.json index e8a0fd00d52b97..8413ba8473483d 100644 --- a/packages/block-library/src/pullquote/block.json +++ b/packages/block-library/src/pullquote/block.json @@ -30,12 +30,7 @@ }, "supports": { "anchor": true, - "align": [ - "left", - "right", - "wide", - "full" - ] + "align": [ "left", "right", "wide", "full" ] }, "editorStyle": "wp-block-pullquote-editor", "style": "wp-block-pullquote" diff --git a/packages/block-library/src/query-pagination-next/block.json b/packages/block-library/src/query-pagination-next/block.json index bb701a95f69c0b..ae49ec09313467 100644 --- a/packages/block-library/src/query-pagination-next/block.json +++ b/packages/block-library/src/query-pagination-next/block.json @@ -7,10 +7,7 @@ "type": "string" } }, - "usesContext": [ - "queryId", - "query" - ], + "usesContext": [ "queryId", "query" ], "supports": { "reusable": false, "html": false, diff --git a/packages/block-library/src/query-pagination-numbers/block.json b/packages/block-library/src/query-pagination-numbers/block.json index 49970983fb28fe..26b981c6f1e7b8 100644 --- a/packages/block-library/src/query-pagination-numbers/block.json +++ b/packages/block-library/src/query-pagination-numbers/block.json @@ -2,10 +2,7 @@ "apiVersion": 2, "name": "core/query-pagination-numbers", "category": "design", - "usesContext": [ - "queryId", - "query" - ], + "usesContext": [ "queryId", "query" ], "supports": { "reusable": false, "html": false diff --git a/packages/block-library/src/query-pagination-previous/block.json b/packages/block-library/src/query-pagination-previous/block.json index 15bb8d7be399ec..8cad276d14a3b5 100644 --- a/packages/block-library/src/query-pagination-previous/block.json +++ b/packages/block-library/src/query-pagination-previous/block.json @@ -7,10 +7,7 @@ "type": "string" } }, - "usesContext": [ - "queryId", - "query" - ], + "usesContext": [ "queryId", "query" ], "supports": { "reusable": false, "html": false, diff --git a/packages/block-library/src/query-pagination/block.json b/packages/block-library/src/query-pagination/block.json index f47bc6f9461922..edab3acc951d65 100644 --- a/packages/block-library/src/query-pagination/block.json +++ b/packages/block-library/src/query-pagination/block.json @@ -2,10 +2,7 @@ "apiVersion": 2, "name": "core/query-pagination", "category": "design", - "usesContext": [ - "queryId", - "query" - ], + "usesContext": [ "queryId", "query" ], "supports": { "reusable": false, "html": false diff --git a/packages/block-library/src/separator/block.json b/packages/block-library/src/separator/block.json index 2983a93a86190a..011b9d3219f9bc 100644 --- a/packages/block-library/src/separator/block.json +++ b/packages/block-library/src/separator/block.json @@ -12,7 +12,7 @@ }, "supports": { "anchor": true, - "align": ["center","wide","full"] + "align": [ "center", "wide", "full" ] }, "editorStyle": "wp-block-separator-editor", "style": "wp-block-separator" diff --git a/packages/block-library/src/social-link/block.json b/packages/block-library/src/social-link/block.json index eef254e205b412..32f01cf45be797 100644 --- a/packages/block-library/src/social-link/block.json +++ b/packages/block-library/src/social-link/block.json @@ -2,9 +2,7 @@ "apiVersion": 2, "name": "core/social-link", "category": "widgets", - "parent": [ - "core/social-links" - ], + "parent": [ "core/social-links" ], "attributes": { "url": { "type": "string" diff --git a/packages/block-library/src/social-links/block.json b/packages/block-library/src/social-links/block.json index b174a1e86dd3d2..7646cc1f76ce32 100644 --- a/packages/block-library/src/social-links/block.json +++ b/packages/block-library/src/social-links/block.json @@ -35,11 +35,7 @@ "iconBackgroundColorValue": "iconBackgroundColorValue" }, "supports": { - "align": [ - "left", - "center", - "right" - ], + "align": [ "left", "center", "right" ], "anchor": true }, "editorStyle": "wp-block-social-links-editor", diff --git a/packages/block-library/src/spacer/block.json b/packages/block-library/src/spacer/block.json index 16f843be4cb762..55e9586cd8c71b 100644 --- a/packages/block-library/src/spacer/block.json +++ b/packages/block-library/src/spacer/block.json @@ -11,9 +11,7 @@ "type": "number" } }, - "usesContext": [ - "orientation" - ], + "usesContext": [ "orientation" ], "supports": { "anchor": true }, diff --git a/packages/block-library/src/text-columns/block.json b/packages/block-library/src/text-columns/block.json index bb52b71b0183da..deaf86d93002f3 100644 --- a/packages/block-library/src/text-columns/block.json +++ b/packages/block-library/src/text-columns/block.json @@ -14,10 +14,7 @@ "source": "html" } }, - "default": [ - {}, - {} - ] + "default": [ {}, {} ] }, "columns": { "type": "number", diff --git a/packages/customize-widgets/package.json b/packages/customize-widgets/package.json index ec61d4b3578596..152c799bcbc3e2 100644 --- a/packages/customize-widgets/package.json +++ b/packages/customize-widgets/package.json @@ -5,7 +5,9 @@ "description": "Widgets blocks in Customizer Module for WordPress.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later", - "keywords": [ "wordpress" ], + "keywords": [ + "wordpress" + ], "homepage": "https://github.com/WordPress/gutenberg/blob/HEAD/packages/customize-widgets/README.md", "repository": { "type": "git", diff --git a/packages/docgen/test/fixtures/default-class-anonymous/exports.json b/packages/docgen/test/fixtures/default-class-anonymous/exports.json index 858f07abe98df9..3c62748bde3b65 100644 --- a/packages/docgen/test/fixtures/default-class-anonymous/exports.json +++ b/packages/docgen/test/fixtures/default-class-anonymous/exports.json @@ -12,10 +12,7 @@ "column": 23 } }, - "range": [ - 38, - 61 - ], + "range": [ 38, 61 ], "declaration": { "type": "ClassDeclaration", "start": 53, @@ -30,10 +27,7 @@ "column": 23 } }, - "range": [ - 53, - 61 - ], + "range": [ 53, 61 ], "id": null, "superClass": null, "body": { @@ -50,10 +44,7 @@ "column": 23 } }, - "range": [ - 59, - 61 - ], + "range": [ 59, 61 ], "body": [] } }, @@ -63,10 +54,7 @@ "value": "*\n * Class declaration example.\n ", "start": 0, "end": 37, - "range": [ - 0, - 37 - ], + "range": [ 0, 37 ], "loc": { "start": { "line": 1, @@ -79,4 +67,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-class-named/exports.json b/packages/docgen/test/fixtures/default-class-named/exports.json index 7533ef32e60de0..689add2e9e298f 100644 --- a/packages/docgen/test/fixtures/default-class-named/exports.json +++ b/packages/docgen/test/fixtures/default-class-named/exports.json @@ -12,10 +12,7 @@ "column": 40 } }, - "range": [ - 38, - 78 - ], + "range": [ 38, 78 ], "declaration": { "type": "ClassDeclaration", "start": 53, @@ -30,10 +27,7 @@ "column": 40 } }, - "range": [ - 53, - 78 - ], + "range": [ 53, 78 ], "id": { "type": "Identifier", "start": 59, @@ -48,10 +42,7 @@ "column": 37 } }, - "range": [ - 59, - 75 - ], + "range": [ 59, 75 ], "name": "ClassDeclaration" }, "superClass": null, @@ -69,10 +60,7 @@ "column": 40 } }, - "range": [ - 76, - 78 - ], + "range": [ 76, 78 ], "body": [] } }, @@ -82,10 +70,7 @@ "value": "*\n * Class declaration example.\n ", "start": 0, "end": 37, - "range": [ - 0, - 37 - ], + "range": [ 0, 37 ], "loc": { "start": { "line": 1, @@ -98,4 +83,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-function-anonymous/exports.json b/packages/docgen/test/fixtures/default-function-anonymous/exports.json index 9d10cd6c962f0f..bad57bf288dc28 100644 --- a/packages/docgen/test/fixtures/default-function-anonymous/exports.json +++ b/packages/docgen/test/fixtures/default-function-anonymous/exports.json @@ -12,10 +12,7 @@ "column": 28 } }, - "range": [ - 41, - 69 - ], + "range": [ 41, 69 ], "declaration": { "type": "FunctionDeclaration", "start": 56, @@ -30,10 +27,7 @@ "column": 28 } }, - "range": [ - 56, - 69 - ], + "range": [ 56, 69 ], "id": null, "generator": false, "expression": false, @@ -53,10 +47,7 @@ "column": 28 } }, - "range": [ - 67, - 69 - ], + "range": [ 67, 69 ], "body": [] } }, @@ -66,10 +57,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -82,4 +70,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-function-named/ast.json b/packages/docgen/test/fixtures/default-function-named/ast.json index a082f805974d26..4be257f6725ac9 100644 --- a/packages/docgen/test/fixtures/default-function-named/ast.json +++ b/packages/docgen/test/fixtures/default-function-named/ast.json @@ -12,10 +12,7 @@ "column": 42 } }, - "range": [ - 41, - 83 - ], + "range": [ 41, 83 ], "body": [ { "type": "ExportDefaultDeclaration", @@ -31,10 +28,7 @@ "column": 42 } }, - "range": [ - 41, - 83 - ], + "range": [ 41, 83 ], "declaration": { "type": "FunctionDeclaration", "start": 56, @@ -49,10 +43,7 @@ "column": 42 } }, - "range": [ - 56, - 83 - ], + "range": [ 56, 83 ], "id": { "type": "Identifier", "start": 65, @@ -67,10 +58,7 @@ "column": 37 } }, - "range": [ - 65, - 78 - ], + "range": [ 65, 78 ], "name": "myDeclaration" }, "generator": false, @@ -91,10 +79,7 @@ "column": 42 } }, - "range": [ - 81, - 83 - ], + "range": [ 81, 83 ], "body": [] } }, @@ -104,10 +89,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -129,10 +111,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -145,4 +124,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-function-named/exports.json b/packages/docgen/test/fixtures/default-function-named/exports.json index 7765cbef0da6d9..6e7c6427a9375b 100644 --- a/packages/docgen/test/fixtures/default-function-named/exports.json +++ b/packages/docgen/test/fixtures/default-function-named/exports.json @@ -12,10 +12,7 @@ "column": 42 } }, - "range": [ - 41, - 83 - ], + "range": [ 41, 83 ], "declaration": { "type": "FunctionDeclaration", "start": 56, @@ -30,10 +27,7 @@ "column": 42 } }, - "range": [ - 56, - 83 - ], + "range": [ 56, 83 ], "id": { "type": "Identifier", "start": 65, @@ -48,10 +42,7 @@ "column": 37 } }, - "range": [ - 65, - 78 - ], + "range": [ 65, 78 ], "name": "myDeclaration" }, "generator": false, @@ -72,10 +63,7 @@ "column": 42 } }, - "range": [ - 81, - 83 - ], + "range": [ 81, 83 ], "body": [] } }, @@ -85,10 +73,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -101,4 +86,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-function-named/ir.json b/packages/docgen/test/fixtures/default-function-named/ir.json index 526885397806c0..417dddabff40aa 100644 --- a/packages/docgen/test/fixtures/default-function-named/ir.json +++ b/packages/docgen/test/fixtures/default-function-named/ir.json @@ -4,4 +4,4 @@ "description": "Function declaration example.", "tags": [] } -] \ No newline at end of file +] diff --git a/packages/docgen/test/fixtures/default-identifier/ast.json b/packages/docgen/test/fixtures/default-identifier/ast.json index d83f628004f7de..5136d02bcd9a39 100644 --- a/packages/docgen/test/fixtures/default-identifier/ast.json +++ b/packages/docgen/test/fixtures/default-identifier/ast.json @@ -12,10 +12,7 @@ "column": 32 } }, - "range": [ - 38, - 97 - ], + "range": [ 38, 97 ], "body": [ { "type": "ClassDeclaration", @@ -31,10 +28,7 @@ "column": 25 } }, - "range": [ - 38, - 63 - ], + "range": [ 38, 63 ], "id": { "type": "Identifier", "start": 44, @@ -49,10 +43,7 @@ "column": 22 } }, - "range": [ - 44, - 60 - ], + "range": [ 44, 60 ], "name": "ClassDeclaration" }, "superClass": null, @@ -70,10 +61,7 @@ "column": 25 } }, - "range": [ - 61, - 63 - ], + "range": [ 61, 63 ], "body": [] }, "leadingComments": [ @@ -82,10 +70,7 @@ "value": "*\n * Class declaration example.\n ", "start": 0, "end": 37, - "range": [ - 0, - 37 - ], + "range": [ 0, 37 ], "loc": { "start": { "line": 1, @@ -113,10 +98,7 @@ "column": 32 } }, - "range": [ - 65, - 97 - ], + "range": [ 65, 97 ], "declaration": { "type": "Identifier", "start": 80, @@ -131,10 +113,7 @@ "column": 31 } }, - "range": [ - 80, - 96 - ], + "range": [ 80, 96 ], "name": "ClassDeclaration" } } @@ -146,10 +125,7 @@ "value": "*\n * Class declaration example.\n ", "start": 0, "end": 37, - "range": [ - 0, - 37 - ], + "range": [ 0, 37 ], "loc": { "start": { "line": 1, @@ -162,4 +138,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-identifier/exports.json b/packages/docgen/test/fixtures/default-identifier/exports.json index c5cb42d5ad4caa..c45082ff55938e 100644 --- a/packages/docgen/test/fixtures/default-identifier/exports.json +++ b/packages/docgen/test/fixtures/default-identifier/exports.json @@ -12,10 +12,7 @@ "column": 32 } }, - "range": [ - 65, - 97 - ], + "range": [ 65, 97 ], "declaration": { "type": "Identifier", "start": 80, @@ -30,10 +27,7 @@ "column": 31 } }, - "range": [ - 80, - 96 - ], + "range": [ 80, 96 ], "name": "ClassDeclaration" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-import-default/ast.json b/packages/docgen/test/fixtures/default-import-default/ast.json index ee77f27a561e76..7936a04aea1e5c 100644 --- a/packages/docgen/test/fixtures/default-import-default/ast.json +++ b/packages/docgen/test/fixtures/default-import-default/ast.json @@ -12,10 +12,7 @@ "column": 29 } }, - "range": [ - 0, - 91 - ], + "range": [ 0, 91 ], "body": [ { "type": "ImportDeclaration", @@ -31,10 +28,7 @@ "column": 60 } }, - "range": [ - 0, - 60 - ], + "range": [ 0, 60 ], "specifiers": [ { "type": "ImportDefaultSpecifier", @@ -50,10 +44,7 @@ "column": 20 } }, - "range": [ - 7, - 20 - ], + "range": [ 7, 20 ], "local": { "type": "Identifier", "start": 7, @@ -68,10 +59,7 @@ "column": 20 } }, - "range": [ - 7, - 20 - ], + "range": [ 7, 20 ], "name": "fnDeclaration" } } @@ -90,10 +78,7 @@ "column": 59 } }, - "range": [ - 26, - 59 - ], + "range": [ 26, 59 ], "value": "./default-import-default-module", "raw": "'./default-import-default-module'" } @@ -112,10 +97,7 @@ "column": 29 } }, - "range": [ - 62, - 91 - ], + "range": [ 62, 91 ], "declaration": { "type": "Identifier", "start": 77, @@ -130,14 +112,11 @@ "column": 28 } }, - "range": [ - 77, - 90 - ], + "range": [ 77, 90 ], "name": "fnDeclaration" } } ], "sourceType": "module", "comments": [] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-import-default/exports.json b/packages/docgen/test/fixtures/default-import-default/exports.json index fd453ed3011007..2062342d8c2567 100644 --- a/packages/docgen/test/fixtures/default-import-default/exports.json +++ b/packages/docgen/test/fixtures/default-import-default/exports.json @@ -12,10 +12,7 @@ "column": 29 } }, - "range": [ - 62, - 91 - ], + "range": [ 62, 91 ], "declaration": { "type": "Identifier", "start": 77, @@ -30,10 +27,7 @@ "column": 28 } }, - "range": [ - 77, - 90 - ], + "range": [ 77, 90 ], "name": "fnDeclaration" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-import-default/module-ir.json b/packages/docgen/test/fixtures/default-import-default/module-ir.json index 9aaa9dc2213f5c..0ab4745619d949 100644 --- a/packages/docgen/test/fixtures/default-import-default/module-ir.json +++ b/packages/docgen/test/fixtures/default-import-default/module-ir.json @@ -4,4 +4,4 @@ "description": "Function declaration.", "tags": [] } -] \ No newline at end of file +] diff --git a/packages/docgen/test/fixtures/default-import-named/ast.json b/packages/docgen/test/fixtures/default-import-named/ast.json index 73947334d5ac83..c6d9e84e0bb966 100644 --- a/packages/docgen/test/fixtures/default-import-named/ast.json +++ b/packages/docgen/test/fixtures/default-import-named/ast.json @@ -12,10 +12,7 @@ "column": 29 } }, - "range": [ - 0, - 116 - ], + "range": [ 0, 116 ], "body": [ { "type": "ImportDeclaration", @@ -31,10 +28,7 @@ "column": 85 } }, - "range": [ - 0, - 85 - ], + "range": [ 0, 85 ], "specifiers": [ { "type": "ImportSpecifier", @@ -50,10 +44,7 @@ "column": 45 } }, - "range": [ - 9, - 45 - ], + "range": [ 9, 45 ], "imported": { "type": "Identifier", "start": 9, @@ -68,10 +59,7 @@ "column": 28 } }, - "range": [ - 9, - 28 - ], + "range": [ 9, 28 ], "name": "functionDeclaration" }, "local": { @@ -88,10 +76,7 @@ "column": 45 } }, - "range": [ - 32, - 45 - ], + "range": [ 32, 45 ], "name": "fnDeclaration" } } @@ -110,10 +95,7 @@ "column": 84 } }, - "range": [ - 53, - 84 - ], + "range": [ 53, 84 ], "value": "./default-import-named-module", "raw": "'./default-import-named-module'" } @@ -132,10 +114,7 @@ "column": 29 } }, - "range": [ - 87, - 116 - ], + "range": [ 87, 116 ], "declaration": { "type": "Identifier", "start": 102, @@ -150,14 +129,11 @@ "column": 28 } }, - "range": [ - 102, - 115 - ], + "range": [ 102, 115 ], "name": "fnDeclaration" } } ], "sourceType": "module", "comments": [] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-import-named/exports.json b/packages/docgen/test/fixtures/default-import-named/exports.json index 25d0f6024356f9..c1a3cd0d402b82 100644 --- a/packages/docgen/test/fixtures/default-import-named/exports.json +++ b/packages/docgen/test/fixtures/default-import-named/exports.json @@ -12,10 +12,7 @@ "column": 29 } }, - "range": [ - 87, - 116 - ], + "range": [ 87, 116 ], "declaration": { "type": "Identifier", "start": 102, @@ -30,10 +27,7 @@ "column": 28 } }, - "range": [ - 102, - 115 - ], + "range": [ 102, 115 ], "name": "fnDeclaration" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-import-named/module-ir.json b/packages/docgen/test/fixtures/default-import-named/module-ir.json index 3c04255485cb97..f8f7a132f2277d 100644 --- a/packages/docgen/test/fixtures/default-import-named/module-ir.json +++ b/packages/docgen/test/fixtures/default-import-named/module-ir.json @@ -1 +1,7 @@ -[{"name":"functionDeclaration","description":"Function declaration.","tags":[]}] \ No newline at end of file +[ + { + "name": "functionDeclaration", + "description": "Function declaration.", + "tags": [] + } +] diff --git a/packages/docgen/test/fixtures/default-named-export/ast.json b/packages/docgen/test/fixtures/default-named-export/ast.json index 31fde5d2e6883f..d4b8e62b1d2ac0 100644 --- a/packages/docgen/test/fixtures/default-named-export/ast.json +++ b/packages/docgen/test/fixtures/default-named-export/ast.json @@ -12,10 +12,7 @@ "column": 35 } }, - "range": [ - 41, - 118 - ], + "range": [ 41, 118 ], "body": [ { "type": "ExportNamedDeclaration", @@ -31,10 +28,7 @@ "column": 40 } }, - "range": [ - 41, - 81 - ], + "range": [ 41, 81 ], "declaration": { "type": "FunctionDeclaration", "start": 48, @@ -49,10 +43,7 @@ "column": 40 } }, - "range": [ - 48, - 81 - ], + "range": [ 48, 81 ], "id": { "type": "Identifier", "start": 57, @@ -67,10 +58,7 @@ "column": 35 } }, - "range": [ - 57, - 76 - ], + "range": [ 57, 76 ], "name": "functionDeclaration" }, "generator": false, @@ -91,10 +79,7 @@ "column": 40 } }, - "range": [ - 79, - 81 - ], + "range": [ 79, 81 ], "body": [] } }, @@ -106,10 +91,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -137,10 +119,7 @@ "column": 35 } }, - "range": [ - 83, - 118 - ], + "range": [ 83, 118 ], "declaration": { "type": "Identifier", "start": 98, @@ -155,10 +134,7 @@ "column": 34 } }, - "range": [ - 98, - 117 - ], + "range": [ 98, 117 ], "name": "functionDeclaration" } } @@ -170,10 +146,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -186,4 +159,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-named-export/exports.json b/packages/docgen/test/fixtures/default-named-export/exports.json index b432555e4d7a43..e5224ece4aafc2 100644 --- a/packages/docgen/test/fixtures/default-named-export/exports.json +++ b/packages/docgen/test/fixtures/default-named-export/exports.json @@ -13,10 +13,7 @@ "column": 40 } }, - "range": [ - 41, - 81 - ], + "range": [ 41, 81 ], "declaration": { "type": "FunctionDeclaration", "start": 48, @@ -31,10 +28,7 @@ "column": 40 } }, - "range": [ - 48, - 81 - ], + "range": [ 48, 81 ], "id": { "type": "Identifier", "start": 57, @@ -49,10 +43,7 @@ "column": 35 } }, - "range": [ - 57, - 76 - ], + "range": [ 57, 76 ], "name": "functionDeclaration" }, "generator": false, @@ -73,10 +64,7 @@ "column": 40 } }, - "range": [ - 79, - 81 - ], + "range": [ 79, 81 ], "body": [] } }, @@ -88,10 +76,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -119,10 +104,7 @@ "column": 35 } }, - "range": [ - 83, - 118 - ], + "range": [ 83, 118 ], "declaration": { "type": "Identifier", "start": 98, @@ -137,11 +119,8 @@ "column": 34 } }, - "range": [ - 98, - 117 - ], + "range": [ 98, 117 ], "name": "functionDeclaration" } } -] \ No newline at end of file +] diff --git a/packages/docgen/test/fixtures/default-parse-error/exports.json b/packages/docgen/test/fixtures/default-parse-error/exports.json index 8000aef1e6b73a..9a5fdc107de3bb 100644 --- a/packages/docgen/test/fixtures/default-parse-error/exports.json +++ b/packages/docgen/test/fixtures/default-parse-error/exports.json @@ -1 +1,234 @@ -[{"type":"ExportDefaultDeclaration","start":173,"end":288,"loc":{"start":{"line":7,"column":0},"end":{"line":9,"column":1}},"range":[173,288],"declaration":{"type":"FunctionDeclaration","start":188,"end":288,"loc":{"start":{"line":7,"column":15},"end":{"line":9,"column":1}},"range":[188,288],"id":{"type":"Identifier","start":197,"end":221,"loc":{"start":{"line":7,"column":24},"end":{"line":7,"column":48}},"range":[197,221],"name":"invokeCallbackAfterDelay"},"generator":false,"expression":false,"async":false,"params":[{"type":"Identifier","start":223,"end":231,"loc":{"start":{"line":7,"column":50},"end":{"line":7,"column":58}},"range":[223,231],"name":"callback"}],"body":{"type":"BlockStatement","start":234,"end":288,"loc":{"start":{"line":7,"column":61},"end":{"line":9,"column":1}},"range":[234,288],"body":[{"type":"ExpressionStatement","start":237,"end":286,"loc":{"start":{"line":8,"column":1},"end":{"line":8,"column":50}},"range":[237,286],"expression":{"type":"CallExpression","start":237,"end":285,"loc":{"start":{"line":8,"column":1},"end":{"line":8,"column":49}},"range":[237,285],"callee":{"type":"Identifier","start":237,"end":247,"loc":{"start":{"line":8,"column":1},"end":{"line":8,"column":11}},"range":[237,247],"name":"setTimeout"},"arguments":[{"type":"ArrowFunctionExpression","start":249,"end":277,"loc":{"start":{"line":8,"column":13},"end":{"line":8,"column":41}},"range":[249,277],"id":null,"generator":false,"expression":true,"async":false,"params":[],"body":{"type":"CallExpression","start":255,"end":277,"loc":{"start":{"line":8,"column":19},"end":{"line":8,"column":41}},"range":[255,277],"callee":{"type":"Identifier","start":255,"end":263,"loc":{"start":{"line":8,"column":19},"end":{"line":8,"column":27}},"range":[255,263],"name":"callback"},"arguments":[{"type":"CallExpression","start":265,"end":275,"loc":{"start":{"line":8,"column":29},"end":{"line":8,"column":39}},"range":[265,275],"callee":{"type":"MemberExpression","start":265,"end":273,"loc":{"start":{"line":8,"column":29},"end":{"line":8,"column":37}},"range":[265,273],"object":{"type":"Identifier","start":265,"end":269,"loc":{"start":{"line":8,"column":29},"end":{"line":8,"column":33}},"range":[265,269],"name":"Date"},"property":{"type":"Identifier","start":270,"end":273,"loc":{"start":{"line":8,"column":34},"end":{"line":8,"column":37}},"range":[270,273],"name":"now"},"computed":false},"arguments":[]}]}},{"type":"Literal","start":279,"end":283,"loc":{"start":{"line":8,"column":43},"end":{"line":8,"column":47}},"range":[279,283],"value":1000,"raw":"1000"}]}}]}},"leadingComments":[{"type":"Block","value":"*\n * Function invoking callback after delay with current timestamp in milliseconds\n * since epoch.\n *\n * @param {(timestamp:number=>void} callback Callback function.\n ","start":0,"end":172,"range":[0,172],"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":3}}}]}] +[ + { + "type": "ExportDefaultDeclaration", + "start": 173, + "end": 288, + "loc": { + "start": { "line": 7, "column": 0 }, + "end": { "line": 9, "column": 1 } + }, + "range": [ 173, 288 ], + "declaration": { + "type": "FunctionDeclaration", + "start": 188, + "end": 288, + "loc": { + "start": { "line": 7, "column": 15 }, + "end": { "line": 9, "column": 1 } + }, + "range": [ 188, 288 ], + "id": { + "type": "Identifier", + "start": 197, + "end": 221, + "loc": { + "start": { "line": 7, "column": 24 }, + "end": { "line": 7, "column": 48 } + }, + "range": [ 197, 221 ], + "name": "invokeCallbackAfterDelay" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 223, + "end": 231, + "loc": { + "start": { "line": 7, "column": 50 }, + "end": { "line": 7, "column": 58 } + }, + "range": [ 223, 231 ], + "name": "callback" + } + ], + "body": { + "type": "BlockStatement", + "start": 234, + "end": 288, + "loc": { + "start": { "line": 7, "column": 61 }, + "end": { "line": 9, "column": 1 } + }, + "range": [ 234, 288 ], + "body": [ + { + "type": "ExpressionStatement", + "start": 237, + "end": 286, + "loc": { + "start": { "line": 8, "column": 1 }, + "end": { "line": 8, "column": 50 } + }, + "range": [ 237, 286 ], + "expression": { + "type": "CallExpression", + "start": 237, + "end": 285, + "loc": { + "start": { "line": 8, "column": 1 }, + "end": { "line": 8, "column": 49 } + }, + "range": [ 237, 285 ], + "callee": { + "type": "Identifier", + "start": 237, + "end": 247, + "loc": { + "start": { "line": 8, "column": 1 }, + "end": { "line": 8, "column": 11 } + }, + "range": [ 237, 247 ], + "name": "setTimeout" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 249, + "end": 277, + "loc": { + "start": { "line": 8, "column": 13 }, + "end": { "line": 8, "column": 41 } + }, + "range": [ 249, 277 ], + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 255, + "end": 277, + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { "line": 8, "column": 41 } + }, + "range": [ 255, 277 ], + "callee": { + "type": "Identifier", + "start": 255, + "end": 263, + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { + "line": 8, + "column": 27 + } + }, + "range": [ 255, 263 ], + "name": "callback" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 265, + "end": 275, + "loc": { + "start": { + "line": 8, + "column": 29 + }, + "end": { + "line": 8, + "column": 39 + } + }, + "range": [ 265, 275 ], + "callee": { + "type": "MemberExpression", + "start": 265, + "end": 273, + "loc": { + "start": { + "line": 8, + "column": 29 + }, + "end": { + "line": 8, + "column": 37 + } + }, + "range": [ 265, 273 ], + "object": { + "type": "Identifier", + "start": 265, + "end": 269, + "loc": { + "start": { + "line": 8, + "column": 29 + }, + "end": { + "line": 8, + "column": 33 + } + }, + "range": [ 265, 269 ], + "name": "Date" + }, + "property": { + "type": "Identifier", + "start": 270, + "end": 273, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "column": 37 + } + }, + "range": [ 270, 273 ], + "name": "now" + }, + "computed": false + }, + "arguments": [] + } + ] + } + }, + { + "type": "Literal", + "start": 279, + "end": 283, + "loc": { + "start": { "line": 8, "column": 43 }, + "end": { "line": 8, "column": 47 } + }, + "range": [ 279, 283 ], + "value": 1000, + "raw": "1000" + } + ] + } + } + ] + } + }, + "leadingComments": [ + { + "type": "Block", + "value": "*\n * Function invoking callback after delay with current timestamp in milliseconds\n * since epoch.\n *\n * @param {(timestamp:number=>void} callback Callback function.\n ", + "start": 0, + "end": 172, + "range": [ 0, 172 ], + "loc": { + "start": { "line": 1, "column": 0 }, + "end": { "line": 6, "column": 3 } + } + } + ] + } +] diff --git a/packages/docgen/test/fixtures/default-undocumented-nocomments/exports.json b/packages/docgen/test/fixtures/default-undocumented-nocomments/exports.json index ac0eef84379339..fc17908c34bc5d 100644 --- a/packages/docgen/test/fixtures/default-undocumented-nocomments/exports.json +++ b/packages/docgen/test/fixtures/default-undocumented-nocomments/exports.json @@ -12,10 +12,7 @@ "column": 29 } }, - "range": [ - 38, - 67 - ], + "range": [ 38, 67 ], "declaration": { "type": "Identifier", "start": 53, @@ -30,10 +27,7 @@ "column": 28 } }, - "range": [ - 53, - 66 - ], + "range": [ 53, 66 ], "name": "myDeclaration" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-undocumented-oneliner/exports.json b/packages/docgen/test/fixtures/default-undocumented-oneliner/exports.json index 45c6ab79f09133..cb4c0f1887caec 100644 --- a/packages/docgen/test/fixtures/default-undocumented-oneliner/exports.json +++ b/packages/docgen/test/fixtures/default-undocumented-oneliner/exports.json @@ -12,10 +12,7 @@ "column": 29 } }, - "range": [ - 34, - 63 - ], + "range": [ 34, 63 ], "declaration": { "type": "FunctionDeclaration", "start": 49, @@ -30,10 +27,7 @@ "column": 29 } }, - "range": [ - 49, - 63 - ], + "range": [ 49, 63 ], "id": null, "generator": false, "expression": false, @@ -53,10 +47,7 @@ "column": 29 } }, - "range": [ - 60, - 63 - ], + "range": [ 60, 63 ], "body": [] } }, @@ -66,10 +57,7 @@ "value": " This comment should be ignored", "start": 0, "end": 33, - "range": [ - 0, - 33 - ], + "range": [ 0, 33 ], "loc": { "start": { "line": 1, @@ -82,4 +70,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/default-variable/exports.json b/packages/docgen/test/fixtures/default-variable/exports.json index e6204ba061364b..e9efa0fd53d593 100644 --- a/packages/docgen/test/fixtures/default-variable/exports.json +++ b/packages/docgen/test/fixtures/default-variable/exports.json @@ -12,10 +12,7 @@ "column": 20 } }, - "range": [ - 41, - 61 - ], + "range": [ 41, 61 ], "declaration": { "type": "Literal", "start": 56, @@ -30,10 +27,7 @@ "column": 19 } }, - "range": [ - 56, - 60 - ], + "range": [ 56, 60 ], "value": true, "raw": "true" }, @@ -43,10 +37,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -59,4 +50,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-class/exports.json b/packages/docgen/test/fixtures/named-class/exports.json index e6da37a8974a0a..dc7a72e429b21b 100644 --- a/packages/docgen/test/fixtures/named-class/exports.json +++ b/packages/docgen/test/fixtures/named-class/exports.json @@ -12,10 +12,7 @@ "column": 29 } }, - "range": [ - 35, - 64 - ], + "range": [ 35, 64 ], "declaration": { "type": "ClassDeclaration", "start": 42, @@ -30,10 +27,7 @@ "column": 29 } }, - "range": [ - 42, - 64 - ], + "range": [ 42, 64 ], "id": { "type": "Identifier", "start": 48, @@ -48,10 +42,7 @@ "column": 26 } }, - "range": [ - 48, - 61 - ], + "range": [ 48, 61 ], "name": "MyDeclaration" }, "superClass": null, @@ -69,10 +60,7 @@ "column": 29 } }, - "range": [ - 62, - 64 - ], + "range": [ 62, 64 ], "body": [] } }, @@ -84,10 +72,7 @@ "value": "*\n * My declaration example.\n ", "start": 0, "end": 34, - "range": [ - 0, - 34 - ], + "range": [ 0, 34 ], "loc": { "start": { "line": 1, @@ -100,4 +85,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-default-exported/exports.json b/packages/docgen/test/fixtures/named-default-exported/exports.json index 5cfbfc16615810..0ca0cf4c377fd1 100644 --- a/packages/docgen/test/fixtures/named-default-exported/exports.json +++ b/packages/docgen/test/fixtures/named-default-exported/exports.json @@ -12,10 +12,7 @@ "column": 63 } }, - "range": [ - 0, - 63 - ], + "range": [ 0, 63 ], "declaration": null, "specifiers": [ { @@ -32,10 +29,7 @@ "column": 30 } }, - "range": [ - 9, - 30 - ], + "range": [ 9, 30 ], "local": { "type": "Identifier", "start": 9, @@ -50,10 +44,7 @@ "column": 16 } }, - "range": [ - 9, - 16 - ], + "range": [ 9, 16 ], "name": "default" }, "exported": { @@ -70,10 +61,7 @@ "column": 30 } }, - "range": [ - 20, - 30 - ], + "range": [ 20, 30 ], "name": "moduleName" } } @@ -92,11 +80,8 @@ "column": 62 } }, - "range": [ - 38, - 62 - ], + "range": [ 38, 62 ], "value": "./named-default-module", "raw": "'./named-default-module'" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-default-exported/module-ir.json b/packages/docgen/test/fixtures/named-default-exported/module-ir.json index 9e9b2ce30509ed..87ea21bb0aa0ef 100644 --- a/packages/docgen/test/fixtures/named-default-exported/module-ir.json +++ b/packages/docgen/test/fixtures/named-default-exported/module-ir.json @@ -1,5 +1,7 @@ -[{ - "name": "default", - "description": "Module declaration.", - "tags": [] -}] \ No newline at end of file +[ + { + "name": "default", + "description": "Module declaration.", + "tags": [] + } +] diff --git a/packages/docgen/test/fixtures/named-default/exports.json b/packages/docgen/test/fixtures/named-default/exports.json index fd3a3c79d6a8b3..a10a679fa39a5d 100644 --- a/packages/docgen/test/fixtures/named-default/exports.json +++ b/packages/docgen/test/fixtures/named-default/exports.json @@ -12,10 +12,7 @@ "column": 49 } }, - "range": [ - 0, - 49 - ], + "range": [ 0, 49 ], "declaration": null, "specifiers": [ { @@ -32,10 +29,7 @@ "column": 16 } }, - "range": [ - 9, - 16 - ], + "range": [ 9, 16 ], "local": { "type": "Identifier", "start": 9, @@ -50,10 +44,7 @@ "column": 16 } }, - "range": [ - 9, - 16 - ], + "range": [ 9, 16 ], "name": "default" }, "exported": { @@ -70,10 +61,7 @@ "column": 16 } }, - "range": [ - 9, - 16 - ], + "range": [ 9, 16 ], "name": "default" } } @@ -92,11 +80,8 @@ "column": 48 } }, - "range": [ - 24, - 48 - ], + "range": [ 24, 48 ], "value": "./named-default-module", "raw": "'./named-default-module'" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-default/module-ir.json b/packages/docgen/test/fixtures/named-default/module-ir.json index 9e9b2ce30509ed..87ea21bb0aa0ef 100644 --- a/packages/docgen/test/fixtures/named-default/module-ir.json +++ b/packages/docgen/test/fixtures/named-default/module-ir.json @@ -1,5 +1,7 @@ -[{ - "name": "default", - "description": "Module declaration.", - "tags": [] -}] \ No newline at end of file +[ + { + "name": "default", + "description": "Module declaration.", + "tags": [] + } +] diff --git a/packages/docgen/test/fixtures/named-function/exports.json b/packages/docgen/test/fixtures/named-function/exports.json index 8de0b612c6af6d..d9e841dfa2177d 100644 --- a/packages/docgen/test/fixtures/named-function/exports.json +++ b/packages/docgen/test/fixtures/named-function/exports.json @@ -12,10 +12,7 @@ "column": 34 } }, - "range": [ - 35, - 69 - ], + "range": [ 35, 69 ], "declaration": { "type": "FunctionDeclaration", "start": 42, @@ -30,10 +27,7 @@ "column": 34 } }, - "range": [ - 42, - 69 - ], + "range": [ 42, 69 ], "id": { "type": "Identifier", "start": 51, @@ -48,10 +42,7 @@ "column": 29 } }, - "range": [ - 51, - 64 - ], + "range": [ 51, 64 ], "name": "myDeclaration" }, "generator": false, @@ -72,10 +63,7 @@ "column": 34 } }, - "range": [ - 67, - 69 - ], + "range": [ 67, 69 ], "body": [] } }, @@ -87,10 +75,7 @@ "value": "*\n * My declaration example.\n ", "start": 0, "end": 34, - "range": [ - 0, - 34 - ], + "range": [ 0, 34 ], "loc": { "start": { "line": 1, @@ -103,4 +88,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-function/ir.json b/packages/docgen/test/fixtures/named-function/ir.json index a9d9ab4175c9c5..aa8fc8f89a456d 100644 --- a/packages/docgen/test/fixtures/named-function/ir.json +++ b/packages/docgen/test/fixtures/named-function/ir.json @@ -4,4 +4,4 @@ "description": "My declaration example.", "tags": [] } -] \ No newline at end of file +] diff --git a/packages/docgen/test/fixtures/named-identifier-destructuring/ast.json b/packages/docgen/test/fixtures/named-identifier-destructuring/ast.json index 9c17f5ad7401d9..4db7e7ec0e8894 100644 --- a/packages/docgen/test/fixtures/named-identifier-destructuring/ast.json +++ b/packages/docgen/test/fixtures/named-identifier-destructuring/ast.json @@ -12,10 +12,7 @@ "column": 44 } }, - "range": [ - 35, - 140 - ], + "range": [ 35, 140 ], "body": [ { "type": "VariableDeclaration", @@ -31,10 +28,7 @@ "column": 59 } }, - "range": [ - 35, - 94 - ], + "range": [ 35, 94 ], "declarations": [ { "type": "VariableDeclarator", @@ -50,10 +44,7 @@ "column": 58 } }, - "range": [ - 41, - 93 - ], + "range": [ 41, 93 ], "id": { "type": "ObjectPattern", "start": 41, @@ -68,10 +59,7 @@ "column": 25 } }, - "range": [ - 41, - 60 - ], + "range": [ 41, 60 ], "properties": [ { "type": "Property", @@ -87,10 +75,7 @@ "column": 23 } }, - "range": [ - 43, - 58 - ], + "range": [ 43, 58 ], "method": false, "shorthand": true, "computed": false, @@ -108,10 +93,7 @@ "column": 23 } }, - "range": [ - 43, - 58 - ], + "range": [ 43, 58 ], "name": "someDeclaration" }, "kind": "init", @@ -129,10 +111,7 @@ "column": 23 } }, - "range": [ - 43, - 58 - ], + "range": [ 43, 58 ], "name": "someDeclaration" } } @@ -152,10 +131,7 @@ "column": 58 } }, - "range": [ - 63, - 93 - ], + "range": [ 63, 93 ], "properties": [ { "type": "Property", @@ -171,10 +147,7 @@ "column": 56 } }, - "range": [ - 65, - 91 - ], + "range": [ 65, 91 ], "method": false, "shorthand": false, "computed": false, @@ -192,10 +165,7 @@ "column": 45 } }, - "range": [ - 65, - 80 - ], + "range": [ 65, 80 ], "name": "someDeclaration" }, "value": { @@ -212,10 +182,7 @@ "column": 56 } }, - "range": [ - 82, - 91 - ], + "range": [ 82, 91 ], "id": null, "generator": false, "expression": false, @@ -235,10 +202,7 @@ "column": 56 } }, - "range": [ - 88, - 91 - ], + "range": [ 88, 91 ], "body": [] } }, @@ -255,10 +219,7 @@ "value": "*\n * My declaration example.\n ", "start": 0, "end": 34, - "range": [ - 0, - 34 - ], + "range": [ 0, 34 ], "loc": { "start": { "line": 1, @@ -286,10 +247,7 @@ "column": 44 } }, - "range": [ - 96, - 140 - ], + "range": [ 96, 140 ], "declaration": null, "specifiers": [ { @@ -306,10 +264,7 @@ "column": 41 } }, - "range": [ - 105, - 137 - ], + "range": [ 105, 137 ], "local": { "type": "Identifier", "start": 105, @@ -324,10 +279,7 @@ "column": 24 } }, - "range": [ - 105, - 120 - ], + "range": [ 105, 120 ], "name": "someDeclaration" }, "exported": { @@ -344,10 +296,7 @@ "column": 41 } }, - "range": [ - 124, - 137 - ], + "range": [ 124, 137 ], "name": "myDeclaration" } } @@ -362,10 +311,7 @@ "value": "*\n * My declaration example.\n ", "start": 0, "end": 34, - "range": [ - 0, - 34 - ], + "range": [ 0, 34 ], "loc": { "start": { "line": 1, @@ -378,4 +324,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-identifier-destructuring/exports.json b/packages/docgen/test/fixtures/named-identifier-destructuring/exports.json index ac2695f1c68fa2..ff291935c610eb 100644 --- a/packages/docgen/test/fixtures/named-identifier-destructuring/exports.json +++ b/packages/docgen/test/fixtures/named-identifier-destructuring/exports.json @@ -12,10 +12,7 @@ "column": 44 } }, - "range": [ - 96, - 140 - ], + "range": [ 96, 140 ], "declaration": null, "specifiers": [ { @@ -32,10 +29,7 @@ "column": 41 } }, - "range": [ - 105, - 137 - ], + "range": [ 105, 137 ], "local": { "type": "Identifier", "start": 105, @@ -50,10 +44,7 @@ "column": 24 } }, - "range": [ - 105, - 120 - ], + "range": [ 105, 120 ], "name": "someDeclaration" }, "exported": { @@ -70,13 +61,10 @@ "column": 41 } }, - "range": [ - 124, - 137 - ], + "range": [ 124, 137 ], "name": "myDeclaration" } } ], "source": null -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-identifier/ast.json b/packages/docgen/test/fixtures/named-identifier/ast.json index 40eb2039185e3d..991bc1168949f0 100644 --- a/packages/docgen/test/fixtures/named-identifier/ast.json +++ b/packages/docgen/test/fixtures/named-identifier/ast.json @@ -12,10 +12,7 @@ "column": 25 } }, - "range": [ - 35, - 89 - ], + "range": [ 35, 89 ], "body": [ { "type": "FunctionDeclaration", @@ -31,10 +28,7 @@ "column": 27 } }, - "range": [ - 35, - 62 - ], + "range": [ 35, 62 ], "id": { "type": "Identifier", "start": 44, @@ -49,10 +43,7 @@ "column": 22 } }, - "range": [ - 44, - 57 - ], + "range": [ 44, 57 ], "name": "myDeclaration" }, "generator": false, @@ -73,10 +64,7 @@ "column": 27 } }, - "range": [ - 60, - 62 - ], + "range": [ 60, 62 ], "body": [] }, "leadingComments": [ @@ -85,10 +73,7 @@ "value": "*\n * My declaration example.\n ", "start": 0, "end": 34, - "range": [ - 0, - 34 - ], + "range": [ 0, 34 ], "loc": { "start": { "line": 1, @@ -116,10 +101,7 @@ "column": 25 } }, - "range": [ - 64, - 89 - ], + "range": [ 64, 89 ], "declaration": null, "specifiers": [ { @@ -136,10 +118,7 @@ "column": 22 } }, - "range": [ - 73, - 86 - ], + "range": [ 73, 86 ], "local": { "type": "Identifier", "start": 73, @@ -154,10 +133,7 @@ "column": 22 } }, - "range": [ - 73, - 86 - ], + "range": [ 73, 86 ], "name": "myDeclaration" }, "exported": { @@ -174,10 +150,7 @@ "column": 22 } }, - "range": [ - 73, - 86 - ], + "range": [ 73, 86 ], "name": "myDeclaration" } } @@ -192,10 +165,7 @@ "value": "*\n * My declaration example.\n ", "start": 0, "end": 34, - "range": [ - 0, - 34 - ], + "range": [ 0, 34 ], "loc": { "start": { "line": 1, @@ -208,4 +178,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-identifier/exports.json b/packages/docgen/test/fixtures/named-identifier/exports.json index 3c2c7680042cfb..9b6f1a7896e721 100644 --- a/packages/docgen/test/fixtures/named-identifier/exports.json +++ b/packages/docgen/test/fixtures/named-identifier/exports.json @@ -12,10 +12,7 @@ "column": 25 } }, - "range": [ - 64, - 89 - ], + "range": [ 64, 89 ], "declaration": null, "specifiers": [ { @@ -32,10 +29,7 @@ "column": 22 } }, - "range": [ - 73, - 86 - ], + "range": [ 73, 86 ], "local": { "type": "Identifier", "start": 73, @@ -50,10 +44,7 @@ "column": 22 } }, - "range": [ - 73, - 86 - ], + "range": [ 73, 86 ], "name": "myDeclaration" }, "exported": { @@ -70,13 +61,10 @@ "column": 22 } }, - "range": [ - 73, - 86 - ], + "range": [ 73, 86 ], "name": "myDeclaration" } } ], "source": null -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-identifiers-and-inline/ast.json b/packages/docgen/test/fixtures/named-identifiers-and-inline/ast.json index d761a6035d6c2b..5b684b19b3950a 100644 --- a/packages/docgen/test/fixtures/named-identifiers-and-inline/ast.json +++ b/packages/docgen/test/fixtures/named-identifiers-and-inline/ast.json @@ -12,10 +12,7 @@ "column": 40 } }, - "range": [ - 41, - 273 - ], + "range": [ 41, 273 ], "body": [ { "type": "FunctionDeclaration", @@ -31,10 +28,7 @@ "column": 33 } }, - "range": [ - 41, - 74 - ], + "range": [ 41, 74 ], "id": { "type": "Identifier", "start": 50, @@ -49,10 +43,7 @@ "column": 28 } }, - "range": [ - 50, - 69 - ], + "range": [ 50, 69 ], "name": "functionDeclaration" }, "generator": false, @@ -73,10 +64,7 @@ "column": 33 } }, - "range": [ - 72, - 74 - ], + "range": [ 72, 74 ], "body": [] }, "leadingComments": [ @@ -85,10 +73,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -107,10 +92,7 @@ "value": "*\n * Class declaration example.\n ", "start": 76, "end": 113, - "range": [ - 76, - 113 - ], + "range": [ 76, 113 ], "loc": { "start": { "line": 6, @@ -138,10 +120,7 @@ "column": 25 } }, - "range": [ - 114, - 139 - ], + "range": [ 114, 139 ], "id": { "type": "Identifier", "start": 120, @@ -156,10 +135,7 @@ "column": 22 } }, - "range": [ - 120, - 136 - ], + "range": [ 120, 136 ], "name": "ClassDeclaration" }, "superClass": null, @@ -177,10 +153,7 @@ "column": 25 } }, - "range": [ - 137, - 139 - ], + "range": [ 137, 139 ], "body": [] }, "leadingComments": [ @@ -189,10 +162,7 @@ "value": "*\n * Class declaration example.\n ", "start": 76, "end": 113, - "range": [ - 76, - 113 - ], + "range": [ 76, 113 ], "loc": { "start": { "line": 6, @@ -220,10 +190,7 @@ "column": 49 } }, - "range": [ - 141, - 190 - ], + "range": [ 141, 190 ], "declaration": null, "specifiers": [ { @@ -240,10 +207,7 @@ "column": 28 } }, - "range": [ - 150, - 169 - ], + "range": [ 150, 169 ], "local": { "type": "Identifier", "start": 150, @@ -258,10 +222,7 @@ "column": 28 } }, - "range": [ - 150, - 169 - ], + "range": [ 150, 169 ], "name": "functionDeclaration" }, "exported": { @@ -278,10 +239,7 @@ "column": 28 } }, - "range": [ - 150, - 169 - ], + "range": [ 150, 169 ], "name": "functionDeclaration" } }, @@ -299,10 +257,7 @@ "column": 46 } }, - "range": [ - 171, - 187 - ], + "range": [ 171, 187 ], "local": { "type": "Identifier", "start": 171, @@ -317,10 +272,7 @@ "column": 46 } }, - "range": [ - 171, - 187 - ], + "range": [ 171, 187 ], "name": "ClassDeclaration" }, "exported": { @@ -337,10 +289,7 @@ "column": 46 } }, - "range": [ - 171, - 187 - ], + "range": [ 171, 187 ], "name": "ClassDeclaration" } } @@ -352,10 +301,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 192, "end": 232, - "range": [ - 192, - 232 - ], + "range": [ 192, 232 ], "loc": { "start": { "line": 13, @@ -383,10 +329,7 @@ "column": 40 } }, - "range": [ - 233, - 273 - ], + "range": [ 233, 273 ], "declaration": { "type": "VariableDeclaration", "start": 240, @@ -401,10 +344,7 @@ "column": 40 } }, - "range": [ - 240, - 273 - ], + "range": [ 240, 273 ], "declarations": [ { "type": "VariableDeclarator", @@ -420,10 +360,7 @@ "column": 39 } }, - "range": [ - 246, - 272 - ], + "range": [ 246, 272 ], "id": { "type": "Identifier", "start": 246, @@ -438,10 +375,7 @@ "column": 32 } }, - "range": [ - 246, - 265 - ], + "range": [ 246, 265 ], "name": "variableDeclaration" }, "init": { @@ -458,10 +392,7 @@ "column": 39 } }, - "range": [ - 268, - 272 - ], + "range": [ 268, 272 ], "value": true, "raw": "true" } @@ -477,10 +408,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 192, "end": 232, - "range": [ - 192, - 232 - ], + "range": [ 192, 232 ], "loc": { "start": { "line": 13, @@ -502,10 +430,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -522,10 +447,7 @@ "value": "*\n * Class declaration example.\n ", "start": 76, "end": 113, - "range": [ - 76, - 113 - ], + "range": [ 76, 113 ], "loc": { "start": { "line": 6, @@ -542,10 +464,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 192, "end": 232, - "range": [ - 192, - 232 - ], + "range": [ 192, 232 ], "loc": { "start": { "line": 13, @@ -558,4 +477,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-identifiers-and-inline/exports.json b/packages/docgen/test/fixtures/named-identifiers-and-inline/exports.json index 960e07f08fd7c8..1d6bf92d441c98 100644 --- a/packages/docgen/test/fixtures/named-identifiers-and-inline/exports.json +++ b/packages/docgen/test/fixtures/named-identifiers-and-inline/exports.json @@ -13,10 +13,7 @@ "column": 49 } }, - "range": [ - 141, - 190 - ], + "range": [ 141, 190 ], "declaration": null, "specifiers": [ { @@ -33,10 +30,7 @@ "column": 28 } }, - "range": [ - 150, - 169 - ], + "range": [ 150, 169 ], "local": { "type": "Identifier", "start": 150, @@ -51,10 +45,7 @@ "column": 28 } }, - "range": [ - 150, - 169 - ], + "range": [ 150, 169 ], "name": "functionDeclaration" }, "exported": { @@ -71,10 +62,7 @@ "column": 28 } }, - "range": [ - 150, - 169 - ], + "range": [ 150, 169 ], "name": "functionDeclaration" } }, @@ -92,10 +80,7 @@ "column": 46 } }, - "range": [ - 171, - 187 - ], + "range": [ 171, 187 ], "local": { "type": "Identifier", "start": 171, @@ -110,10 +95,7 @@ "column": 46 } }, - "range": [ - 171, - 187 - ], + "range": [ 171, 187 ], "name": "ClassDeclaration" }, "exported": { @@ -130,10 +112,7 @@ "column": 46 } }, - "range": [ - 171, - 187 - ], + "range": [ 171, 187 ], "name": "ClassDeclaration" } } @@ -145,10 +124,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 192, "end": 232, - "range": [ - 192, - 232 - ], + "range": [ 192, 232 ], "loc": { "start": { "line": 13, @@ -176,10 +152,7 @@ "column": 40 } }, - "range": [ - 233, - 273 - ], + "range": [ 233, 273 ], "declaration": { "type": "VariableDeclaration", "start": 240, @@ -194,10 +167,7 @@ "column": 40 } }, - "range": [ - 240, - 273 - ], + "range": [ 240, 273 ], "declarations": [ { "type": "VariableDeclarator", @@ -213,10 +183,7 @@ "column": 39 } }, - "range": [ - 246, - 272 - ], + "range": [ 246, 272 ], "id": { "type": "Identifier", "start": 246, @@ -231,10 +198,7 @@ "column": 32 } }, - "range": [ - 246, - 265 - ], + "range": [ 246, 265 ], "name": "variableDeclaration" }, "init": { @@ -251,10 +215,7 @@ "column": 39 } }, - "range": [ - 268, - 272 - ], + "range": [ 268, 272 ], "value": true, "raw": "true" } @@ -270,10 +231,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 192, "end": 232, - "range": [ - 192, - 232 - ], + "range": [ 192, 232 ], "loc": { "start": { "line": 13, @@ -287,4 +245,4 @@ } ] } -] \ No newline at end of file +] diff --git a/packages/docgen/test/fixtures/named-identifiers/ast.json b/packages/docgen/test/fixtures/named-identifiers/ast.json index f6aa5b92541abc..a5dc9a315ca74f 100644 --- a/packages/docgen/test/fixtures/named-identifiers/ast.json +++ b/packages/docgen/test/fixtures/named-identifiers/ast.json @@ -12,10 +12,7 @@ "column": 70 } }, - "range": [ - 41, - 287 - ], + "range": [ 41, 287 ], "body": [ { "type": "FunctionDeclaration", @@ -31,10 +28,7 @@ "column": 33 } }, - "range": [ - 41, - 74 - ], + "range": [ 41, 74 ], "id": { "type": "Identifier", "start": 50, @@ -49,10 +43,7 @@ "column": 28 } }, - "range": [ - 50, - 69 - ], + "range": [ 50, 69 ], "name": "functionDeclaration" }, "generator": false, @@ -73,10 +64,7 @@ "column": 33 } }, - "range": [ - 72, - 74 - ], + "range": [ 72, 74 ], "body": [] }, "leadingComments": [ @@ -85,10 +73,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -107,10 +92,7 @@ "value": "*\n * Class declaration example.\n ", "start": 76, "end": 113, - "range": [ - 76, - 113 - ], + "range": [ 76, 113 ], "loc": { "start": { "line": 6, @@ -138,10 +120,7 @@ "column": 25 } }, - "range": [ - 114, - 139 - ], + "range": [ 114, 139 ], "id": { "type": "Identifier", "start": 120, @@ -156,10 +135,7 @@ "column": 22 } }, - "range": [ - 120, - 136 - ], + "range": [ 120, 136 ], "name": "ClassDeclaration" }, "superClass": null, @@ -177,10 +153,7 @@ "column": 25 } }, - "range": [ - 137, - 139 - ], + "range": [ 137, 139 ], "body": [] }, "leadingComments": [ @@ -189,10 +162,7 @@ "value": "*\n * Class declaration example.\n ", "start": 76, "end": 113, - "range": [ - 76, - 113 - ], + "range": [ 76, 113 ], "loc": { "start": { "line": 6, @@ -211,10 +181,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 141, "end": 181, - "range": [ - 141, - 181 - ], + "range": [ 141, 181 ], "loc": { "start": { "line": 11, @@ -242,10 +209,7 @@ "column": 33 } }, - "range": [ - 182, - 215 - ], + "range": [ 182, 215 ], "declarations": [ { "type": "VariableDeclarator", @@ -261,10 +225,7 @@ "column": 32 } }, - "range": [ - 188, - 214 - ], + "range": [ 188, 214 ], "id": { "type": "Identifier", "start": 188, @@ -279,10 +240,7 @@ "column": 25 } }, - "range": [ - 188, - 207 - ], + "range": [ 188, 207 ], "name": "variableDeclaration" }, "init": { @@ -299,10 +257,7 @@ "column": 32 } }, - "range": [ - 210, - 214 - ], + "range": [ 210, 214 ], "value": true, "raw": "true" } @@ -315,10 +270,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 141, "end": 181, - "range": [ - 141, - 181 - ], + "range": [ 141, 181 ], "loc": { "start": { "line": 11, @@ -346,10 +298,7 @@ "column": 70 } }, - "range": [ - 217, - 287 - ], + "range": [ 217, 287 ], "declaration": null, "specifiers": [ { @@ -366,10 +315,7 @@ "column": 28 } }, - "range": [ - 226, - 245 - ], + "range": [ 226, 245 ], "local": { "type": "Identifier", "start": 226, @@ -384,10 +330,7 @@ "column": 28 } }, - "range": [ - 226, - 245 - ], + "range": [ 226, 245 ], "name": "functionDeclaration" }, "exported": { @@ -404,10 +347,7 @@ "column": 28 } }, - "range": [ - 226, - 245 - ], + "range": [ 226, 245 ], "name": "functionDeclaration" } }, @@ -425,10 +365,7 @@ "column": 49 } }, - "range": [ - 247, - 266 - ], + "range": [ 247, 266 ], "local": { "type": "Identifier", "start": 247, @@ -443,10 +380,7 @@ "column": 49 } }, - "range": [ - 247, - 266 - ], + "range": [ 247, 266 ], "name": "variableDeclaration" }, "exported": { @@ -463,10 +397,7 @@ "column": 49 } }, - "range": [ - 247, - 266 - ], + "range": [ 247, 266 ], "name": "variableDeclaration" } }, @@ -484,10 +415,7 @@ "column": 67 } }, - "range": [ - 268, - 284 - ], + "range": [ 268, 284 ], "local": { "type": "Identifier", "start": 268, @@ -502,10 +430,7 @@ "column": 67 } }, - "range": [ - 268, - 284 - ], + "range": [ 268, 284 ], "name": "ClassDeclaration" }, "exported": { @@ -522,10 +447,7 @@ "column": 67 } }, - "range": [ - 268, - 284 - ], + "range": [ 268, 284 ], "name": "ClassDeclaration" } } @@ -540,10 +462,7 @@ "value": "*\n * Function declaration example.\n ", "start": 0, "end": 40, - "range": [ - 0, - 40 - ], + "range": [ 0, 40 ], "loc": { "start": { "line": 1, @@ -560,10 +479,7 @@ "value": "*\n * Class declaration example.\n ", "start": 76, "end": 113, - "range": [ - 76, - 113 - ], + "range": [ 76, 113 ], "loc": { "start": { "line": 6, @@ -580,10 +496,7 @@ "value": "*\n * Variable declaration example.\n ", "start": 141, "end": 181, - "range": [ - 141, - 181 - ], + "range": [ 141, 181 ], "loc": { "start": { "line": 11, @@ -596,4 +509,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-identifiers/exports.json b/packages/docgen/test/fixtures/named-identifiers/exports.json index eb1e017e311b42..76c74a87e08c3f 100644 --- a/packages/docgen/test/fixtures/named-identifiers/exports.json +++ b/packages/docgen/test/fixtures/named-identifiers/exports.json @@ -12,10 +12,7 @@ "column": 70 } }, - "range": [ - 217, - 287 - ], + "range": [ 217, 287 ], "declaration": null, "specifiers": [ { @@ -32,10 +29,7 @@ "column": 28 } }, - "range": [ - 226, - 245 - ], + "range": [ 226, 245 ], "local": { "type": "Identifier", "start": 226, @@ -50,10 +44,7 @@ "column": 28 } }, - "range": [ - 226, - 245 - ], + "range": [ 226, 245 ], "name": "functionDeclaration" }, "exported": { @@ -70,10 +61,7 @@ "column": 28 } }, - "range": [ - 226, - 245 - ], + "range": [ 226, 245 ], "name": "functionDeclaration" } }, @@ -91,10 +79,7 @@ "column": 49 } }, - "range": [ - 247, - 266 - ], + "range": [ 247, 266 ], "local": { "type": "Identifier", "start": 247, @@ -109,10 +94,7 @@ "column": 49 } }, - "range": [ - 247, - 266 - ], + "range": [ 247, 266 ], "name": "variableDeclaration" }, "exported": { @@ -129,10 +111,7 @@ "column": 49 } }, - "range": [ - 247, - 266 - ], + "range": [ 247, 266 ], "name": "variableDeclaration" } }, @@ -150,10 +129,7 @@ "column": 67 } }, - "range": [ - 268, - 284 - ], + "range": [ 268, 284 ], "local": { "type": "Identifier", "start": 268, @@ -168,10 +144,7 @@ "column": 67 } }, - "range": [ - 268, - 284 - ], + "range": [ 268, 284 ], "name": "ClassDeclaration" }, "exported": { @@ -188,13 +161,10 @@ "column": 67 } }, - "range": [ - 268, - 284 - ], + "range": [ 268, 284 ], "name": "ClassDeclaration" } } ], "source": null -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-identifiers/ir.json b/packages/docgen/test/fixtures/named-identifiers/ir.json index ab7e9787fa15f4..d4483dfd59fa7b 100644 --- a/packages/docgen/test/fixtures/named-identifiers/ir.json +++ b/packages/docgen/test/fixtures/named-identifiers/ir.json @@ -1 +1,17 @@ -[{"name":"ClassDeclaration","description":"Class declaration example.","tags":[]},{"name":"functionDeclaration","description":"Function declaration example.","tags":[]},{"name":"variableDeclaration","description":"Variable declaration example.","tags":[]}] \ No newline at end of file +[ + { + "name": "ClassDeclaration", + "description": "Class declaration example.", + "tags": [] + }, + { + "name": "functionDeclaration", + "description": "Function declaration example.", + "tags": [] + }, + { + "name": "variableDeclaration", + "description": "Variable declaration example.", + "tags": [] + } +] diff --git a/packages/docgen/test/fixtures/named-import-named/exports.json b/packages/docgen/test/fixtures/named-import-named/exports.json index 8d3340586992f9..4b9b6a017c5c8c 100644 --- a/packages/docgen/test/fixtures/named-import-named/exports.json +++ b/packages/docgen/test/fixtures/named-import-named/exports.json @@ -12,10 +12,7 @@ "column": 29 } }, - "range": [ - 0, - 101 - ], + "range": [ 0, 101 ], "declaration": null, "specifiers": [ { @@ -32,10 +29,7 @@ "column": 20 } }, - "range": [ - 10, - 29 - ], + "range": [ 10, 29 ], "local": { "type": "Identifier", "start": 10, @@ -50,10 +44,7 @@ "column": 20 } }, - "range": [ - 10, - 29 - ], + "range": [ 10, 29 ], "name": "functionDeclaration" }, "exported": { @@ -70,10 +61,7 @@ "column": 20 } }, - "range": [ - 10, - 29 - ], + "range": [ 10, 29 ], "name": "functionDeclaration" } }, @@ -91,10 +79,7 @@ "column": 20 } }, - "range": [ - 32, - 51 - ], + "range": [ 32, 51 ], "local": { "type": "Identifier", "start": 32, @@ -109,10 +94,7 @@ "column": 20 } }, - "range": [ - 32, - 51 - ], + "range": [ 32, 51 ], "name": "variableDeclaration" }, "exported": { @@ -129,10 +111,7 @@ "column": 20 } }, - "range": [ - 32, - 51 - ], + "range": [ 32, 51 ], "name": "variableDeclaration" } }, @@ -150,10 +129,7 @@ "column": 17 } }, - "range": [ - 54, - 70 - ], + "range": [ 54, 70 ], "local": { "type": "Identifier", "start": 54, @@ -168,10 +144,7 @@ "column": 17 } }, - "range": [ - 54, - 70 - ], + "range": [ 54, 70 ], "name": "ClassDeclaration" }, "exported": { @@ -188,10 +161,7 @@ "column": 17 } }, - "range": [ - 54, - 70 - ], + "range": [ 54, 70 ], "name": "ClassDeclaration" } } @@ -210,11 +180,8 @@ "column": 28 } }, - "range": [ - 79, - 100 - ], + "range": [ 79, 100 ], "value": "./named-identifiers", "raw": "'./named-identifiers'" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-import-namespace/ast.json b/packages/docgen/test/fixtures/named-import-namespace/ast.json index f17b43fcef7533..19379c429c1439 100644 --- a/packages/docgen/test/fixtures/named-import-namespace/ast.json +++ b/packages/docgen/test/fixtures/named-import-namespace/ast.json @@ -12,10 +12,7 @@ "column": 21 } }, - "range": [ - 0, - 84 - ], + "range": [ 0, 84 ], "body": [ { "type": "ImportDeclaration", @@ -31,10 +28,7 @@ "column": 61 } }, - "range": [ - 0, - 61 - ], + "range": [ 0, 61 ], "specifiers": [ { "type": "ImportNamespaceSpecifier", @@ -50,10 +44,7 @@ "column": 21 } }, - "range": [ - 7, - 21 - ], + "range": [ 7, 21 ], "local": { "type": "Identifier", "start": 12, @@ -68,10 +59,7 @@ "column": 21 } }, - "range": [ - 12, - 21 - ], + "range": [ 12, 21 ], "name": "variables" } } @@ -90,10 +78,7 @@ "column": 60 } }, - "range": [ - 27, - 60 - ], + "range": [ 27, 60 ], "value": "./named-import-namespace-module", "raw": "'./named-import-namespace-module'" } @@ -112,10 +97,7 @@ "column": 21 } }, - "range": [ - 63, - 84 - ], + "range": [ 63, 84 ], "declaration": null, "specifiers": [ { @@ -132,10 +114,7 @@ "column": 18 } }, - "range": [ - 72, - 81 - ], + "range": [ 72, 81 ], "local": { "type": "Identifier", "start": 72, @@ -150,10 +129,7 @@ "column": 18 } }, - "range": [ - 72, - 81 - ], + "range": [ 72, 81 ], "name": "variables" }, "exported": { @@ -170,10 +146,7 @@ "column": 18 } }, - "range": [ - 72, - 81 - ], + "range": [ 72, 81 ], "name": "variables" } } @@ -183,4 +156,4 @@ ], "sourceType": "module", "comments": [] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-import-namespace/exports.json b/packages/docgen/test/fixtures/named-import-namespace/exports.json index a2ea24189479d3..5350c803aad62d 100644 --- a/packages/docgen/test/fixtures/named-import-namespace/exports.json +++ b/packages/docgen/test/fixtures/named-import-namespace/exports.json @@ -12,10 +12,7 @@ "column": 21 } }, - "range": [ - 63, - 84 - ], + "range": [ 63, 84 ], "declaration": null, "specifiers": [ { @@ -32,10 +29,7 @@ "column": 18 } }, - "range": [ - 72, - 81 - ], + "range": [ 72, 81 ], "local": { "type": "Identifier", "start": 72, @@ -50,10 +44,7 @@ "column": 18 } }, - "range": [ - 72, - 81 - ], + "range": [ 72, 81 ], "name": "variables" }, "exported": { @@ -70,13 +61,10 @@ "column": 18 } }, - "range": [ - 72, - 81 - ], + "range": [ 72, 81 ], "name": "variables" } } ], "source": null -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-import-namespace/module-exports.json b/packages/docgen/test/fixtures/named-import-namespace/module-exports.json index 3e467a9404209a..b348b28ce80822 100644 --- a/packages/docgen/test/fixtures/named-import-namespace/module-exports.json +++ b/packages/docgen/test/fixtures/named-import-namespace/module-exports.json @@ -12,10 +12,7 @@ "column": 63 } }, - "range": [ - 0, - 63 - ], + "range": [ 0, 63 ], "declaration": null, "specifiers": [ { @@ -32,10 +29,7 @@ "column": 28 } }, - "range": [ - 9, - 28 - ], + "range": [ 9, 28 ], "local": { "type": "Identifier", "start": 9, @@ -50,10 +44,7 @@ "column": 16 } }, - "range": [ - 9, - 16 - ], + "range": [ 9, 16 ], "name": "default" }, "exported": { @@ -70,10 +61,7 @@ "column": 28 } }, - "range": [ - 20, - 28 - ], + "range": [ 20, 28 ], "name": "controls" } } @@ -92,11 +80,8 @@ "column": 62 } }, - "range": [ - 36, - 62 - ], + "range": [ 36, 62 ], "value": "./default-function-named", "raw": "'./default-function-named'" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-import-namespace/module-ir.json b/packages/docgen/test/fixtures/named-import-namespace/module-ir.json index 6488f6035d0179..7e2b54e0173886 100644 --- a/packages/docgen/test/fixtures/named-import-namespace/module-ir.json +++ b/packages/docgen/test/fixtures/named-import-namespace/module-ir.json @@ -1 +1,7 @@ -[{"name":"controls","description":"Function declaration example.","tags":[]}] \ No newline at end of file +[ + { + "name": "controls", + "description": "Function declaration example.", + "tags": [] + } +] diff --git a/packages/docgen/test/fixtures/named-variable/exports.json b/packages/docgen/test/fixtures/named-variable/exports.json index 1c5797990ceab8..923791e21608f1 100644 --- a/packages/docgen/test/fixtures/named-variable/exports.json +++ b/packages/docgen/test/fixtures/named-variable/exports.json @@ -12,10 +12,7 @@ "column": 34 } }, - "range": [ - 35, - 69 - ], + "range": [ 35, 69 ], "declaration": { "type": "VariableDeclaration", "start": 42, @@ -30,10 +27,7 @@ "column": 34 } }, - "range": [ - 42, - 69 - ], + "range": [ 42, 69 ], "declarations": [ { "type": "VariableDeclarator", @@ -49,10 +43,7 @@ "column": 33 } }, - "range": [ - 48, - 68 - ], + "range": [ 48, 68 ], "id": { "type": "Identifier", "start": 48, @@ -67,10 +58,7 @@ "column": 26 } }, - "range": [ - 48, - 61 - ], + "range": [ 48, 61 ], "name": "myDeclaration" }, "init": { @@ -87,10 +75,7 @@ "column": 33 } }, - "range": [ - 64, - 68 - ], + "range": [ 64, 68 ], "value": true, "raw": "true" } @@ -106,10 +91,7 @@ "value": "*\n * My declaration example.\n ", "start": 0, "end": 34, - "range": [ - 0, - 34 - ], + "range": [ 0, 34 ], "loc": { "start": { "line": 1, @@ -122,4 +104,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/named-variables/exports.json b/packages/docgen/test/fixtures/named-variables/exports.json index 24d1d1525e9501..3f0b18a5664318 100644 --- a/packages/docgen/test/fixtures/named-variables/exports.json +++ b/packages/docgen/test/fixtures/named-variables/exports.json @@ -12,10 +12,7 @@ "column": 24 } }, - "range": [ - 35, - 97 - ], + "range": [ 35, 97 ], "declaration": { "type": "VariableDeclaration", "start": 42, @@ -30,10 +27,7 @@ "column": 24 } }, - "range": [ - 42, - 97 - ], + "range": [ 42, 97 ], "declarations": [ { "type": "VariableDeclarator", @@ -49,10 +43,7 @@ "column": 36 } }, - "range": [ - 48, - 71 - ], + "range": [ 48, 71 ], "id": { "type": "Identifier", "start": 48, @@ -67,10 +58,7 @@ "column": 29 } }, - "range": [ - 48, - 64 - ], + "range": [ 48, 64 ], "name": "firstDeclaration" }, "init": { @@ -87,10 +75,7 @@ "column": 36 } }, - "range": [ - 67, - 71 - ], + "range": [ 67, 71 ], "value": true, "raw": "true" } @@ -109,10 +94,7 @@ "column": 23 } }, - "range": [ - 74, - 96 - ], + "range": [ 74, 96 ], "id": { "type": "Identifier", "start": 74, @@ -127,10 +109,7 @@ "column": 18 } }, - "range": [ - 74, - 91 - ], + "range": [ 74, 91 ], "name": "secondDeclaration" }, "init": { @@ -147,10 +126,7 @@ "column": 23 } }, - "range": [ - 94, - 96 - ], + "range": [ 94, 96 ], "value": 42, "raw": "42" } @@ -166,10 +142,7 @@ "value": "*\n * My declaration example.\n ", "start": 0, "end": 34, - "range": [ - 0, - 34 - ], + "range": [ 0, 34 ], "loc": { "start": { "line": 1, @@ -182,4 +155,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/namespace-commented/exports.json b/packages/docgen/test/fixtures/namespace-commented/exports.json index 37166ddd12a5ca..e7bd07b8fb378d 100644 --- a/packages/docgen/test/fixtures/namespace-commented/exports.json +++ b/packages/docgen/test/fixtures/namespace-commented/exports.json @@ -12,10 +12,7 @@ "column": 35 } }, - "range": [ - 43, - 78 - ], + "range": [ 43, 78 ], "source": { "type": "Literal", "start": 57, @@ -30,10 +27,7 @@ "column": 34 } }, - "range": [ - 57, - 77 - ], + "range": [ 57, 77 ], "value": "./namespace-module", "raw": "'./namespace-module'" }, @@ -43,10 +37,7 @@ "value": "*\n * This comment should be ignored.\n ", "start": 0, "end": 42, - "range": [ - 0, - 42 - ], + "range": [ 0, 42 ], "loc": { "start": { "line": 1, @@ -59,4 +50,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/namespace-commented/module-ir.json b/packages/docgen/test/fixtures/namespace-commented/module-ir.json index 7798095b482fac..8e180b80ebdbc4 100644 --- a/packages/docgen/test/fixtures/namespace-commented/module-ir.json +++ b/packages/docgen/test/fixtures/namespace-commented/module-ir.json @@ -19,4 +19,4 @@ "description": "Named variable.", "tags": [] } -] \ No newline at end of file +] diff --git a/packages/docgen/test/fixtures/namespace/exports.json b/packages/docgen/test/fixtures/namespace/exports.json index d6aa32af9ac61e..1ac85de678c1b9 100644 --- a/packages/docgen/test/fixtures/namespace/exports.json +++ b/packages/docgen/test/fixtures/namespace/exports.json @@ -12,10 +12,7 @@ "column": 35 } }, - "range": [ - 0, - 35 - ], + "range": [ 0, 35 ], "source": { "type": "Literal", "start": 14, @@ -30,11 +27,8 @@ "column": 34 } }, - "range": [ - 14, - 34 - ], + "range": [ 14, 34 ], "value": "./namespace-module", "raw": "'./namespace-module'" } -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/namespace/module-ir.json b/packages/docgen/test/fixtures/namespace/module-ir.json index 7798095b482fac..8e180b80ebdbc4 100644 --- a/packages/docgen/test/fixtures/namespace/module-ir.json +++ b/packages/docgen/test/fixtures/namespace/module-ir.json @@ -19,4 +19,4 @@ "description": "Named variable.", "tags": [] } -] \ No newline at end of file +] diff --git a/packages/docgen/test/fixtures/tags-function/exports.json b/packages/docgen/test/fixtures/tags-function/exports.json index 3d0677a818c4b6..b852739bd8d8e7 100644 --- a/packages/docgen/test/fixtures/tags-function/exports.json +++ b/packages/docgen/test/fixtures/tags-function/exports.json @@ -12,10 +12,7 @@ "column": 2 } }, - "range": [ - 521, - 609 - ], + "range": [ 521, 609 ], "declaration": { "type": "VariableDeclaration", "start": 528, @@ -30,10 +27,7 @@ "column": 2 } }, - "range": [ - 528, - 609 - ], + "range": [ 528, 609 ], "declarations": [ { "type": "VariableDeclarator", @@ -49,10 +43,7 @@ "column": 1 } }, - "range": [ - 534, - 608 - ], + "range": [ 534, 608 ], "id": { "type": "Identifier", "start": 534, @@ -67,10 +58,7 @@ "column": 16 } }, - "range": [ - 534, - 537 - ], + "range": [ 534, 537 ], "name": "sum" }, "init": { @@ -87,10 +75,7 @@ "column": 1 } }, - "range": [ - 540, - 608 - ], + "range": [ 540, 608 ], "id": null, "generator": false, "expression": false, @@ -110,10 +95,7 @@ "column": 31 } }, - "range": [ - 542, - 552 - ], + "range": [ 542, 552 ], "name": "firstParam" }, { @@ -130,10 +112,7 @@ "column": 44 } }, - "range": [ - 554, - 565 - ], + "range": [ 554, 565 ], "name": "secondParam" } ], @@ -151,10 +130,7 @@ "column": 1 } }, - "range": [ - 571, - 608 - ], + "range": [ 571, 608 ], "body": [ { "type": "ReturnStatement", @@ -170,10 +146,7 @@ "column": 33 } }, - "range": [ - 574, - 606 - ], + "range": [ 574, 606 ], "argument": { "type": "BinaryExpression", "start": 581, @@ -188,10 +161,7 @@ "column": 32 } }, - "range": [ - 581, - 605 - ], + "range": [ 581, 605 ], "left": { "type": "Identifier", "start": 581, @@ -206,10 +176,7 @@ "column": 18 } }, - "range": [ - 581, - 591 - ], + "range": [ 581, 591 ], "name": "firstParam" }, "operator": "+", @@ -227,10 +194,7 @@ "column": 32 } }, - "range": [ - 594, - 605 - ], + "range": [ 594, 605 ], "name": "secondParam" } } @@ -250,10 +214,7 @@ "value": "*\n * A function that adds two parameters.\n *\n * @deprecated Use native addition instead.\n * @since v2\n *\n * @see addition\n * @link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators\n *\n * @param {number} firstParam The first param to add.\n * @param {number} secondParam The second param to add.\n *\n * @example\n *\n * ```js\n * const addResult = sum( 1, 3 );\n * console.log( addResult ); // will yield 4\n * ```\n *\n * @return {number} The result of adding the two params.\n ", "start": 0, "end": 520, - "range": [ - 0, - 520 - ], + "range": [ 0, 520 ], "loc": { "start": { "line": 1, @@ -266,4 +227,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/docgen/test/fixtures/tags-variable/exports.json b/packages/docgen/test/fixtures/tags-variable/exports.json index 80482610d28e54..1c31fb3c9ee826 100644 --- a/packages/docgen/test/fixtures/tags-variable/exports.json +++ b/packages/docgen/test/fixtures/tags-variable/exports.json @@ -12,10 +12,7 @@ "column": 30 } }, - "range": [ - 111, - 141 - ], + "range": [ 111, 141 ], "declaration": { "type": "VariableDeclaration", "start": 118, @@ -30,10 +27,7 @@ "column": 30 } }, - "range": [ - 118, - 141 - ], + "range": [ 118, 141 ], "declarations": [ { "type": "VariableDeclarator", @@ -49,10 +43,7 @@ "column": 29 } }, - "range": [ - 124, - 140 - ], + "range": [ 124, 140 ], "id": { "type": "Identifier", "start": 124, @@ -67,10 +58,7 @@ "column": 24 } }, - "range": [ - 124, - 135 - ], + "range": [ 124, 135 ], "name": "THE_MEANING" }, "init": { @@ -87,10 +75,7 @@ "column": 29 } }, - "range": [ - 138, - 140 - ], + "range": [ 138, 140 ], "value": 42, "raw": "42" } @@ -106,10 +91,7 @@ "value": "*\n * Constant to document the meaning of life,\n * the universe and everything else.\n *\n * @type {number}\n ", "start": 0, "end": 110, - "range": [ - 0, - 110 - ], + "range": [ 0, 110 ], "loc": { "start": { "line": 1, @@ -122,4 +104,4 @@ } } ] -} \ No newline at end of file +} diff --git a/packages/dom/tsconfig.json b/packages/dom/tsconfig.json index 052faddf042f8f..8e3e1fee6e5339 100644 --- a/packages/dom/tsconfig.json +++ b/packages/dom/tsconfig.json @@ -28,6 +28,6 @@ "src/utils/**/*", "src/focusable.js", "src/phrasing-content.js", - "src/tabbable.js", + "src/tabbable.js" ] } diff --git a/packages/e2e-tests/assets/greeting-reusable-block.json b/packages/e2e-tests/assets/greeting-reusable-block.json index 86427882bbb6aa..97aeaba57035e9 100644 --- a/packages/e2e-tests/assets/greeting-reusable-block.json +++ b/packages/e2e-tests/assets/greeting-reusable-block.json @@ -1,5 +1,5 @@ { - "__file": "wp_block", - "title": "Greeting", - "content": "\n

Hello there

\n" -} \ No newline at end of file + "__file": "wp_block", + "title": "Greeting", + "content": "\n

Hello there

\n" +} diff --git a/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.json b/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.json index 3439923f417abb..7ade40d4ee4ec3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.json +++ b/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/freeform", - "isValid": true, - "attributes": { - "content": "

" - }, - "innerBlocks": [], - "originalContent": "

" - } + { + "clientId": "_clientId_0", + "name": "core/freeform", + "isValid": true, + "attributes": { + "content": "

" + }, + "innerBlocks": [], + "originalContent": "

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.parsed.json b/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.parsed.json index b3c0c79ad5cf36..2361c26919ac81 100644 --- a/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__4-invalid-starting-letter.parsed.json @@ -1,11 +1,9 @@ [ - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__archives.json b/packages/e2e-tests/fixtures/blocks/core__archives.json index ad43f4051a739e..42a794daf35a80 100644 --- a/packages/e2e-tests/fixtures/blocks/core__archives.json +++ b/packages/e2e-tests/fixtures/blocks/core__archives.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/archives", - "isValid": true, - "attributes": { - "displayAsDropdown": false, - "showPostCounts": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/archives", + "isValid": true, + "attributes": { + "displayAsDropdown": false, + "showPostCounts": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__archives.parsed.json b/packages/e2e-tests/fixtures/blocks/core__archives.parsed.json index f974a7a167ab33..237752101de070 100644 --- a/packages/e2e-tests/fixtures/blocks/core__archives.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__archives.parsed.json @@ -1,12 +1,12 @@ [ - { - "blockName": "core/archives", - "attrs": { - "displayAsDropdown": false, - "showPostCounts": false - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - } + { + "blockName": "core/archives", + "attrs": { + "displayAsDropdown": false, + "showPostCounts": false + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.json b/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.json index 0c1514e413a612..2d9be64a2c9fde 100644 --- a/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.json +++ b/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/archives", - "isValid": true, - "attributes": { - "displayAsDropdown": false, - "showPostCounts": true - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/archives", + "isValid": true, + "attributes": { + "displayAsDropdown": false, + "showPostCounts": true + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.parsed.json b/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.parsed.json index 88439c3fc9ff0e..ed3026cdbfd604 100644 --- a/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__archives__showPostCounts.parsed.json @@ -1,12 +1,12 @@ [ - { - "blockName": "core/archives", - "attrs": { - "displayAsDropdown": false, - "showPostCounts": true - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - } + { + "blockName": "core/archives", + "attrs": { + "displayAsDropdown": false, + "showPostCounts": true + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__audio.json b/packages/e2e-tests/fixtures/blocks/core__audio.json index 3bdbd2f5c104a8..f0a8b374cacd05 100644 --- a/packages/e2e-tests/fixtures/blocks/core__audio.json +++ b/packages/e2e-tests/fixtures/blocks/core__audio.json @@ -1,16 +1,16 @@ [ - { - "clientId": "_clientId_0", - "name": "core/audio", - "isValid": true, - "attributes": { - "src": "data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "caption": "", - "autoplay": false, - "loop": false, - "align": "right" - }, - "innerBlocks": [], - "originalContent": "
\n \n
" - } + { + "clientId": "_clientId_0", + "name": "core/audio", + "isValid": true, + "attributes": { + "src": "data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "caption": "", + "autoplay": false, + "loop": false, + "align": "right" + }, + "innerBlocks": [], + "originalContent": "
\n \n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__audio.parsed.json b/packages/e2e-tests/fixtures/blocks/core__audio.parsed.json index 3dd1c181b54c12..e634266522df0c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__audio.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__audio.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/audio", - "attrs": { - "align": "right" - }, - "innerBlocks": [], - "innerHTML": "\n
\n \n
\n", - "innerContent": [ - "\n
\n \n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/audio", + "attrs": { + "align": "right" + }, + "innerBlocks": [], + "innerHTML": "\n
\n \n
\n", + "innerContent": [ + "\n
\n \n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__audio__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__audio__deprecated-1.json index 2ae623f7a9b24e..09f294984ee1ae 100644 --- a/packages/e2e-tests/fixtures/blocks/core__audio__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__audio__deprecated-1.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/audio", - "isValid": true, - "attributes": { - "caption": "", - "autoplay": false, - "loop": false - }, - "innerBlocks": [], - "originalContent": "
" - } + { + "clientId": "_clientId_0", + "name": "core/audio", + "isValid": true, + "attributes": { + "caption": "", + "autoplay": false, + "loop": false + }, + "innerBlocks": [], + "originalContent": "
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__audio__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__audio__deprecated-1.parsed.json index 6a27304522e587..4906f67f16a3b3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__audio__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__audio__deprecated-1.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/audio", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
\n", - "innerContent": [ - "\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/audio", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
\n", + "innerContent": [ + "\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__block.json b/packages/e2e-tests/fixtures/blocks/core__block.json index da89e970b452bd..7be8a22c8a71e8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__block.json +++ b/packages/e2e-tests/fixtures/blocks/core__block.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/block", - "isValid": true, - "attributes": { - "ref": 123 - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/block", + "isValid": true, + "attributes": { + "ref": 123 + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__block.parsed.json b/packages/e2e-tests/fixtures/blocks/core__block.parsed.json index 4dda73b389eeb1..b595ed637e378f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__block.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__block.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/block", - "attrs": { - "ref": 123 - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/block", + "attrs": { + "ref": 123 + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__button__center__deprecated.json b/packages/e2e-tests/fixtures/blocks/core__button__center__deprecated.json index 7334b3f4832932..4ecf8c07c9fce0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__button__center__deprecated.json +++ b/packages/e2e-tests/fixtures/blocks/core__button__center__deprecated.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/button", - "isValid": true, - "attributes": { - "url": "https://github.com/WordPress/gutenberg", - "text": "Help build Gutenberg", - "align": "center" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/button", + "isValid": true, + "attributes": { + "url": "https://github.com/WordPress/gutenberg", + "text": "Help build Gutenberg", + "align": "center" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__button__center__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core__button__center__deprecated.parsed.json index 45ed5130cbf15e..baa4be5bd70396 100644 --- a/packages/e2e-tests/fixtures/blocks/core__button__center__deprecated.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__button__center__deprecated.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/button", - "attrs": { - "align": "center" - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/button", + "attrs": { + "align": "center" + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__button__squared.json b/packages/e2e-tests/fixtures/blocks/core__button__squared.json index f0503379bdd01a..b6aa4a27b47d43 100644 --- a/packages/e2e-tests/fixtures/blocks/core__button__squared.json +++ b/packages/e2e-tests/fixtures/blocks/core__button__squared.json @@ -1,19 +1,19 @@ [ - { - "clientId": "_clientId_0", - "name": "core/button", - "isValid": true, - "attributes": { - "text": "My button", - "borderRadius": 0, - "style": { - "color": { - "text": "#1b9b6c", - "background": "#aa5a20" - } - } - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/button", + "isValid": true, + "attributes": { + "text": "My button", + "borderRadius": 0, + "style": { + "color": { + "text": "#1b9b6c", + "background": "#aa5a20" + } + } + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__button__squared.parsed.json b/packages/e2e-tests/fixtures/blocks/core__button__squared.parsed.json index 746e883257e7eb..9882ddb6dca5d5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__button__squared.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__button__squared.parsed.json @@ -1,28 +1,26 @@ [ - { - "blockName": "core/button", - "attrs": { - "borderRadius": 0, - "style": { - "color": { - "text": "#1b9b6c", - "background": "#aa5a20" - } - } - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/button", + "attrs": { + "borderRadius": 0, + "style": { + "color": { + "text": "#1b9b6c", + "background": "#aa5a20" + } + } + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__buttons.json b/packages/e2e-tests/fixtures/blocks/core__buttons.json index 0907230ef47504..7668b778d09b0c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__buttons.json +++ b/packages/e2e-tests/fixtures/blocks/core__buttons.json @@ -1,35 +1,35 @@ [ - { - "clientId": "_clientId_0", - "name": "core/buttons", - "isValid": true, - "attributes": { - "contentJustification": "center", - "orientation": "horizontal", - "align": "wide" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/button", - "isValid": true, - "attributes": { - "text": "My button 1" - }, - "innerBlocks": [], - "originalContent": "" - }, - { - "clientId": "_clientId_1", - "name": "core/button", - "isValid": true, - "attributes": { - "text": "My button 2" - }, - "innerBlocks": [], - "originalContent": "" - } - ], - "originalContent": "
\n\t\n\n\t\n
" - } + { + "clientId": "_clientId_0", + "name": "core/buttons", + "isValid": true, + "attributes": { + "contentJustification": "center", + "orientation": "horizontal", + "align": "wide" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/button", + "isValid": true, + "attributes": { + "text": "My button 1" + }, + "innerBlocks": [], + "originalContent": "" + }, + { + "clientId": "_clientId_1", + "name": "core/button", + "isValid": true, + "attributes": { + "text": "My button 2" + }, + "innerBlocks": [], + "originalContent": "" + } + ], + "originalContent": "
\n\t\n\n\t\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__buttons.parsed.json b/packages/e2e-tests/fixtures/blocks/core__buttons.parsed.json index 06f7ac796e189a..f20a76a3fbd2ff 100644 --- a/packages/e2e-tests/fixtures/blocks/core__buttons.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__buttons.parsed.json @@ -1,46 +1,44 @@ [ - { - "blockName": "core/buttons", - "attrs": { - "align": "wide", - "contentJustification": "center" - }, - "innerBlocks": [ - { - "blockName": "core/button", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\n\t", - "innerContent": [ - "\n\t\n\t" - ] - }, - { - "blockName": "core/button", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\n\t", - "innerContent": [ - "\n\t\n\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\n\t\n
\n", - "innerContent": [ - "\n
\n\t", - null, - "\n\n\t", - null, - "\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/buttons", + "attrs": { + "align": "wide", + "contentJustification": "center" + }, + "innerBlocks": [ + { + "blockName": "core/button", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\n\t", + "innerContent": [ + "\n\t\n\t" + ] + }, + { + "blockName": "core/button", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\n\t", + "innerContent": [ + "\n\t\n\t" + ] + } + ], + "innerHTML": "\n
\n\t\n\n\t\n
\n", + "innerContent": [ + "\n
\n\t", + null, + "\n\n\t", + null, + "\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__buttons__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__buttons__deprecated-1.json index 12acc3c2acca8f..23484290b0e146 100644 --- a/packages/e2e-tests/fixtures/blocks/core__buttons__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__buttons__deprecated-1.json @@ -1,33 +1,33 @@ [ - { - "clientId": "_clientId_0", - "name": "core/buttons", - "isValid": true, - "attributes": { - "contentJustification": "center" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/button", - "isValid": true, - "attributes": { - "text": "My button 1" - }, - "innerBlocks": [], - "originalContent": "" - }, - { - "clientId": "_clientId_1", - "name": "core/button", - "isValid": true, - "attributes": { - "text": "My button 2" - }, - "innerBlocks": [], - "originalContent": "" - } - ], - "originalContent": "
\n\t\n\n\t\n
" - } + { + "clientId": "_clientId_0", + "name": "core/buttons", + "isValid": true, + "attributes": { + "contentJustification": "center" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/button", + "isValid": true, + "attributes": { + "text": "My button 1" + }, + "innerBlocks": [], + "originalContent": "" + }, + { + "clientId": "_clientId_1", + "name": "core/button", + "isValid": true, + "attributes": { + "text": "My button 2" + }, + "innerBlocks": [], + "originalContent": "" + } + ], + "originalContent": "
\n\t\n\n\t\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__buttons__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__buttons__deprecated-1.parsed.json index 6e9acab3132426..9d3d441bd0cc2b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__buttons__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__buttons__deprecated-1.parsed.json @@ -1,45 +1,43 @@ [ - { - "blockName": "core/buttons", - "attrs": { - "align": "center" - }, - "innerBlocks": [ - { - "blockName": "core/button", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\n\t", - "innerContent": [ - "\n\t\n\t" - ] - }, - { - "blockName": "core/button", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\n\t", - "innerContent": [ - "\n\t\n\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\n\t\n
\n", - "innerContent": [ - "\n
\n\t", - null, - "\n\n\t", - null, - "\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/buttons", + "attrs": { + "align": "center" + }, + "innerBlocks": [ + { + "blockName": "core/button", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\n\t", + "innerContent": [ + "\n\t\n\t" + ] + }, + { + "blockName": "core/button", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\n\t", + "innerContent": [ + "\n\t\n\t" + ] + } + ], + "innerHTML": "\n
\n\t\n\n\t\n
\n", + "innerContent": [ + "\n
\n\t", + null, + "\n\n\t", + null, + "\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__calendar.json b/packages/e2e-tests/fixtures/blocks/core__calendar.json index e0d590b3b9dc1d..f3a2b0830ef786 100644 --- a/packages/e2e-tests/fixtures/blocks/core__calendar.json +++ b/packages/e2e-tests/fixtures/blocks/core__calendar.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/calendar", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/calendar", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__calendar.parsed.json b/packages/e2e-tests/fixtures/blocks/core__calendar.parsed.json index eceba9dddbe8ef..d2c1c2166dc1b3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__calendar.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__calendar.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/calendar", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/calendar", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__categories.json b/packages/e2e-tests/fixtures/blocks/core__categories.json index 18375cfe834e98..71533a5f620fa0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__categories.json +++ b/packages/e2e-tests/fixtures/blocks/core__categories.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/categories", - "isValid": true, - "attributes": { - "displayAsDropdown": false, - "showHierarchy": false, - "showPostCounts": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/categories", + "isValid": true, + "attributes": { + "displayAsDropdown": false, + "showHierarchy": false, + "showPostCounts": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__categories.parsed.json b/packages/e2e-tests/fixtures/blocks/core__categories.parsed.json index 102791b85219e0..aeda7060f57320 100644 --- a/packages/e2e-tests/fixtures/blocks/core__categories.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__categories.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/categories", - "attrs": { - "showPostCounts": false, - "displayAsDropdown": false, - "showHierarchy": false - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/categories", + "attrs": { + "showPostCounts": false, + "displayAsDropdown": false, + "showHierarchy": false + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__code.json b/packages/e2e-tests/fixtures/blocks/core__code.json index f967eeb8cb894e..f7bd1aa1292cd2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__code.json +++ b/packages/e2e-tests/fixtures/blocks/core__code.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/code", - "isValid": true, - "attributes": { - "content": "export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}" - }, - "innerBlocks": [], - "originalContent": "
export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}
" - } + { + "clientId": "_clientId_0", + "name": "core/code", + "isValid": true, + "attributes": { + "content": "export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}" + }, + "innerBlocks": [], + "originalContent": "
export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__code.parsed.json b/packages/e2e-tests/fixtures/blocks/core__code.parsed.json index 4aa3fbe8c40d47..b1e6d8c0070e2c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__code.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__code.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/code", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}
\n", - "innerContent": [ - "\n
export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/code", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}
\n", + "innerContent": [ + "\n
export default function MyButton() {\n\treturn <Button>Click Me!</Button>;\n}
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__column.json b/packages/e2e-tests/fixtures/blocks/core__column.json index aabfc10300c5ec..020df8ffce2159 100644 --- a/packages/e2e-tests/fixtures/blocks/core__column.json +++ b/packages/e2e-tests/fixtures/blocks/core__column.json @@ -1,33 +1,33 @@ [ - { - "clientId": "_clientId_0", - "name": "core/column", - "isValid": true, - "attributes": {}, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column One, Paragraph One", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Column One, Paragraph One

" - }, - { - "clientId": "_clientId_1", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column One, Paragraph Two", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Column One, Paragraph Two

" - } - ], - "originalContent": "
\n\t\n\t\n
" - } + { + "clientId": "_clientId_0", + "name": "core/column", + "isValid": true, + "attributes": {}, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column One, Paragraph One", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Column One, Paragraph One

" + }, + { + "clientId": "_clientId_1", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column One, Paragraph Two", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Column One, Paragraph Two

" + } + ], + "originalContent": "
\n\t\n\t\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__column.parsed.json b/packages/e2e-tests/fixtures/blocks/core__column.parsed.json index 91b566bf7e5c42..7af06094a41a21 100644 --- a/packages/e2e-tests/fixtures/blocks/core__column.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__column.parsed.json @@ -1,43 +1,37 @@ [ - { - "blockName": "core/column", - "attrs": {}, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t

Column One, Paragraph One

\n\t", - "innerContent": [ - "\n\t

Column One, Paragraph One

\n\t" - ] - }, - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t

Column One, Paragraph Two

\n\t", - "innerContent": [ - "\n\t

Column One, Paragraph Two

\n\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\t\n
\n", - "innerContent": [ - "\n
\n\t", - null, - "\n\t", - null, - "\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/column", + "attrs": {}, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t

Column One, Paragraph One

\n\t", + "innerContent": [ "\n\t

Column One, Paragraph One

\n\t" ] + }, + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t

Column One, Paragraph Two

\n\t", + "innerContent": [ "\n\t

Column One, Paragraph Two

\n\t" ] + } + ], + "innerHTML": "\n
\n\t\n\t\n
\n", + "innerContent": [ + "\n
\n\t", + null, + "\n\t", + null, + "\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__column__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__column__deprecated-1.json index 84b28da2956a08..36758205f365af 100644 --- a/packages/e2e-tests/fixtures/blocks/core__column__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__column__deprecated-1.json @@ -1,35 +1,35 @@ [ - { - "clientId": "_clientId_0", - "name": "core/column", - "isValid": true, - "attributes": { - "width": "33.33%" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column One, Paragraph One", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Column One, Paragraph One

" - }, - { - "clientId": "_clientId_1", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column One, Paragraph Two", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Column One, Paragraph Two

" - } - ], - "originalContent": "
\n\t\n\t\n
" - } + { + "clientId": "_clientId_0", + "name": "core/column", + "isValid": true, + "attributes": { + "width": "33.33%" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column One, Paragraph One", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Column One, Paragraph One

" + }, + { + "clientId": "_clientId_1", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column One, Paragraph Two", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Column One, Paragraph Two

" + } + ], + "originalContent": "
\n\t\n\t\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__column__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__column__deprecated-1.parsed.json index 050341fdaedb47..2b5031469c7d0d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__column__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__column__deprecated-1.parsed.json @@ -1,45 +1,39 @@ [ - { - "blockName": "core/column", - "attrs": { - "width": 33.33 - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t

Column One, Paragraph One

\n\t", - "innerContent": [ - "\n\t

Column One, Paragraph One

\n\t" - ] - }, - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t

Column One, Paragraph Two

\n\t", - "innerContent": [ - "\n\t

Column One, Paragraph Two

\n\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\t\n
\n", - "innerContent": [ - "\n
\n\t", - null, - "\n\t", - null, - "\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/column", + "attrs": { + "width": 33.33 + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t

Column One, Paragraph One

\n\t", + "innerContent": [ "\n\t

Column One, Paragraph One

\n\t" ] + }, + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t

Column One, Paragraph Two

\n\t", + "innerContent": [ "\n\t

Column One, Paragraph Two

\n\t" ] + } + ], + "innerHTML": "\n
\n\t\n\t\n
\n", + "innerContent": [ + "\n
\n\t", + null, + "\n\t", + null, + "\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__columns.json b/packages/e2e-tests/fixtures/blocks/core__columns.json index 9741c4ee472aa1..b6e16b848abffa 100644 --- a/packages/e2e-tests/fixtures/blocks/core__columns.json +++ b/packages/e2e-tests/fixtures/blocks/core__columns.json @@ -1,75 +1,75 @@ [ - { - "clientId": "_clientId_0", - "name": "core/columns", - "isValid": true, - "attributes": { - "backgroundColor": "secondary" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/column", - "isValid": true, - "attributes": {}, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column One, Paragraph One", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Column One, Paragraph One

" - }, - { - "clientId": "_clientId_1", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column One, Paragraph Two", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Column One, Paragraph Two

" - } - ], - "originalContent": "
\n\t\t\n\t\t\n\t
" - }, - { - "clientId": "_clientId_1", - "name": "core/column", - "isValid": true, - "attributes": {}, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column Two, Paragraph One", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Column Two, Paragraph One

" - }, - { - "clientId": "_clientId_1", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column Three, Paragraph One", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Column Three, Paragraph One

" - } - ], - "originalContent": "
\n\t\t\n\t\t\n\t
" - } - ], - "originalContent": "
\n\t\n\t\n
" - } + { + "clientId": "_clientId_0", + "name": "core/columns", + "isValid": true, + "attributes": { + "backgroundColor": "secondary" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/column", + "isValid": true, + "attributes": {}, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column One, Paragraph One", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Column One, Paragraph One

" + }, + { + "clientId": "_clientId_1", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column One, Paragraph Two", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Column One, Paragraph Two

" + } + ], + "originalContent": "
\n\t\t\n\t\t\n\t
" + }, + { + "clientId": "_clientId_1", + "name": "core/column", + "isValid": true, + "attributes": {}, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column Two, Paragraph One", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Column Two, Paragraph One

" + }, + { + "clientId": "_clientId_1", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column Three, Paragraph One", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Column Three, Paragraph One

" + } + ], + "originalContent": "
\n\t\t\n\t\t\n\t
" + } + ], + "originalContent": "
\n\t\n\t\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__columns.parsed.json b/packages/e2e-tests/fixtures/blocks/core__columns.parsed.json index dec57c6e19e396..70703523c8caf8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__columns.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__columns.parsed.json @@ -1,91 +1,89 @@ [ - { - "blockName": "core/columns", - "attrs": { - "backgroundColor": "secondary" - }, - "innerBlocks": [ - { - "blockName": "core/column", - "attrs": {}, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\t

Column One, Paragraph One

\n\t\t", - "innerContent": [ - "\n\t\t

Column One, Paragraph One

\n\t\t" - ] - }, - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\t

Column One, Paragraph Two

\n\t\t", - "innerContent": [ - "\n\t\t

Column One, Paragraph Two

\n\t\t" - ] - } - ], - "innerHTML": "\n\t
\n\t\t\n\t\t\n\t
\n\t", - "innerContent": [ - "\n\t
\n\t\t", - null, - "\n\t\t", - null, - "\n\t
\n\t" - ] - }, - { - "blockName": "core/column", - "attrs": {}, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\t

Column Two, Paragraph One

\n\t\t", - "innerContent": [ - "\n\t\t

Column Two, Paragraph One

\n\t\t" - ] - }, - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\t

Column Three, Paragraph One

\n\t\t", - "innerContent": [ - "\n\t\t

Column Three, Paragraph One

\n\t\t" - ] - } - ], - "innerHTML": "\n\t
\n\t\t\n\t\t\n\t
\n\t", - "innerContent": [ - "\n\t
\n\t\t", - null, - "\n\t\t", - null, - "\n\t
\n\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\t\n
\n", - "innerContent": [ - "\n
\n\t", - null, - "\n\t", - null, - "\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/columns", + "attrs": { + "backgroundColor": "secondary" + }, + "innerBlocks": [ + { + "blockName": "core/column", + "attrs": {}, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\t

Column One, Paragraph One

\n\t\t", + "innerContent": [ + "\n\t\t

Column One, Paragraph One

\n\t\t" + ] + }, + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\t

Column One, Paragraph Two

\n\t\t", + "innerContent": [ + "\n\t\t

Column One, Paragraph Two

\n\t\t" + ] + } + ], + "innerHTML": "\n\t
\n\t\t\n\t\t\n\t
\n\t", + "innerContent": [ + "\n\t
\n\t\t", + null, + "\n\t\t", + null, + "\n\t
\n\t" + ] + }, + { + "blockName": "core/column", + "attrs": {}, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\t

Column Two, Paragraph One

\n\t\t", + "innerContent": [ + "\n\t\t

Column Two, Paragraph One

\n\t\t" + ] + }, + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\t

Column Three, Paragraph One

\n\t\t", + "innerContent": [ + "\n\t\t

Column Three, Paragraph One

\n\t\t" + ] + } + ], + "innerHTML": "\n\t
\n\t\t\n\t\t\n\t
\n\t", + "innerContent": [ + "\n\t
\n\t\t", + null, + "\n\t\t", + null, + "\n\t
\n\t" + ] + } + ], + "innerHTML": "\n
\n\t\n\t\n
\n", + "innerContent": [ + "\n
\n\t", + null, + "\n\t", + null, + "\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.json b/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.json index c5ad0b8151b8e3..ab71d35d661776 100644 --- a/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.json +++ b/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.json @@ -1,83 +1,83 @@ [ - { - "clientId": "_clientId_0", - "name": "core/columns", - "isValid": true, - "attributes": {}, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/column", - "isValid": true, - "attributes": {}, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column One, Paragraph One", - "dropCap": false, - "className": "layout-column-1" - }, - "innerBlocks": [], - "originalContent": "

Column One, Paragraph One

" - }, - { - "clientId": "_clientId_1", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column One, Paragraph Two", - "dropCap": false, - "className": "layout-column-1" - }, - "innerBlocks": [], - "originalContent": "

Column One, Paragraph Two

" - } - ] - }, - { - "clientId": "_clientId_1", - "name": "core/column", - "isValid": true, - "attributes": {}, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column Two, Paragraph One", - "dropCap": false, - "className": "layout-column-2" - }, - "innerBlocks": [], - "originalContent": "

Column Two, Paragraph One

" - } - ] - }, - { - "clientId": "_clientId_2", - "name": "core/column", - "isValid": true, - "attributes": {}, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Column Three, Paragraph One", - "dropCap": false, - "className": "layout-column-3" - }, - "innerBlocks": [], - "originalContent": "

Column Three, Paragraph One

" - } - ] - } - ], - "originalContent": "
\n\t\n\t\n\t\n\t\n
" - } + { + "clientId": "_clientId_0", + "name": "core/columns", + "isValid": true, + "attributes": {}, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/column", + "isValid": true, + "attributes": {}, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column One, Paragraph One", + "dropCap": false, + "className": "layout-column-1" + }, + "innerBlocks": [], + "originalContent": "

Column One, Paragraph One

" + }, + { + "clientId": "_clientId_1", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column One, Paragraph Two", + "dropCap": false, + "className": "layout-column-1" + }, + "innerBlocks": [], + "originalContent": "

Column One, Paragraph Two

" + } + ] + }, + { + "clientId": "_clientId_1", + "name": "core/column", + "isValid": true, + "attributes": {}, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column Two, Paragraph One", + "dropCap": false, + "className": "layout-column-2" + }, + "innerBlocks": [], + "originalContent": "

Column Two, Paragraph One

" + } + ] + }, + { + "clientId": "_clientId_2", + "name": "core/column", + "isValid": true, + "attributes": {}, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Column Three, Paragraph One", + "dropCap": false, + "className": "layout-column-3" + }, + "innerBlocks": [], + "originalContent": "

Column Three, Paragraph One

" + } + ] + } + ], + "originalContent": "
\n\t\n\t\n\t\n\t\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.parsed.json index 6bb604b40ecfb1..962575fd13ab55 100644 --- a/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__columns__deprecated.parsed.json @@ -1,75 +1,73 @@ [ - { - "blockName": "core/columns", - "attrs": { - "columns": 3 - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "layout": "column-1" - }, - "innerBlocks": [], - "innerHTML": "\n\t

Column One, Paragraph One

\n\t", - "innerContent": [ - "\n\t

Column One, Paragraph One

\n\t" - ] - }, - { - "blockName": "core/paragraph", - "attrs": { - "layout": "column-1" - }, - "innerBlocks": [], - "innerHTML": "\n\t

Column One, Paragraph Two

\n\t", - "innerContent": [ - "\n\t

Column One, Paragraph Two

\n\t" - ] - }, - { - "blockName": "core/paragraph", - "attrs": { - "layout": "column-2" - }, - "innerBlocks": [], - "innerHTML": "\n\t

Column Two, Paragraph One

\n\t", - "innerContent": [ - "\n\t

Column Two, Paragraph One

\n\t" - ] - }, - { - "blockName": "core/paragraph", - "attrs": { - "layout": "column-3" - }, - "innerBlocks": [], - "innerHTML": "\n\t

Column Three, Paragraph One

\n\t", - "innerContent": [ - "\n\t

Column Three, Paragraph One

\n\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\t\n\t\n\t\n
\n", - "innerContent": [ - "\n
\n\t", - null, - "\n\t", - null, - "\n\t", - null, - "\n\t", - null, - "\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/columns", + "attrs": { + "columns": 3 + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "layout": "column-1" + }, + "innerBlocks": [], + "innerHTML": "\n\t

Column One, Paragraph One

\n\t", + "innerContent": [ + "\n\t

Column One, Paragraph One

\n\t" + ] + }, + { + "blockName": "core/paragraph", + "attrs": { + "layout": "column-1" + }, + "innerBlocks": [], + "innerHTML": "\n\t

Column One, Paragraph Two

\n\t", + "innerContent": [ + "\n\t

Column One, Paragraph Two

\n\t" + ] + }, + { + "blockName": "core/paragraph", + "attrs": { + "layout": "column-2" + }, + "innerBlocks": [], + "innerHTML": "\n\t

Column Two, Paragraph One

\n\t", + "innerContent": [ + "\n\t

Column Two, Paragraph One

\n\t" + ] + }, + { + "blockName": "core/paragraph", + "attrs": { + "layout": "column-3" + }, + "innerBlocks": [], + "innerHTML": "\n\t

Column Three, Paragraph One

\n\t", + "innerContent": [ + "\n\t

Column Three, Paragraph One

\n\t" + ] + } + ], + "innerHTML": "\n
\n\t\n\t\n\t\n\t\n
\n", + "innerContent": [ + "\n
\n\t", + null, + "\n\t", + null, + "\n\t", + null, + "\n\t", + null, + "\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover.json b/packages/e2e-tests/fixtures/blocks/core__cover.json index c50a07b96c5a26..f3c2cb69c80bdd 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover.json @@ -1,31 +1,31 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "hasParallax": false, - "isRepeated": false, - "dimRatio": 40, - "backgroundType": "image" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "\n\t\t\tGuten Berg!\n\t\t", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

\n\t\t\tGuten Berg!\n\t\t

" - } - ], - "originalContent": "
\n\t\"\"\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "hasParallax": false, + "isRepeated": false, + "dimRatio": 40, + "backgroundType": "image" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "\n\t\t\tGuten Berg!\n\t\t", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

\n\t\t\tGuten Berg!\n\t\t

" + } + ], + "originalContent": "
\n\t\"\"\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover.parsed.json index b6cddf9335138b..19840f6e66a841 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover.parsed.json @@ -1,39 +1,37 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "dimRatio": 40 - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t", - "innerContent": [ - "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t\"\"\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t\"\"\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "dimRatio": 40 + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t", + "innerContent": [ + "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t" + ] + } + ], + "innerHTML": "\n
\n\t\"\"\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t\"\"\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-1.json index 204a94f1b475c4..3c248036b17391 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-1.json @@ -1,30 +1,30 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "id": 34, - "hasParallax": false, - "dimRatio": 50, - "backgroundType": "image" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "Cover Image", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [] - } - ], - "originalContent": "

Cover Image

" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "id": 34, + "hasParallax": false, + "dimRatio": 50, + "backgroundType": "image" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "Cover Image", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [] + } + ], + "originalContent": "

Cover Image

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-1.parsed.json index 793fcc3ec4dda8..cdd2ebf350b57c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-1.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/cover-image", - "attrs": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "id": 34 - }, - "innerBlocks": [], - "innerHTML": "\n

Cover Image

\n", - "innerContent": [ - "\n

Cover Image

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover-image", + "attrs": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "id": 34 + }, + "innerBlocks": [], + "innerHTML": "\n

Cover Image

\n", + "innerContent": [ + "\n

Cover Image

\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-2.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-2.json index 52c013899822f7..9d3c8625e8eb2b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-2.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-2.json @@ -1,30 +1,30 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "id": 34, - "hasParallax": false, - "dimRatio": 50, - "backgroundType": "image" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "Cover Block", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [] - } - ], - "originalContent": "

Cover Block

" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "id": 34, + "hasParallax": false, + "dimRatio": 50, + "backgroundType": "image" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "Cover Block", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [] + } + ], + "originalContent": "

Cover Block

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-2.parsed.json index 12397136f925fa..48d8b5f369d992 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-2.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/cover-image", - "attrs": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "id": 34 - }, - "innerBlocks": [], - "innerHTML": "\n

Cover Block

\n", - "innerContent": [ - "\n

Cover Block

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover-image", + "attrs": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "id": 34 + }, + "innerBlocks": [], + "innerHTML": "\n

Cover Block

\n", + "innerContent": [ + "\n

Cover Block

\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-3.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-3.json index b43390fb0c165c..e4c6ce64bb031b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-3.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-3.json @@ -1,30 +1,30 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "id": 35, - "hasParallax": false, - "dimRatio": 50, - "backgroundType": "image" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "Cover Block", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [] - } - ], - "originalContent": "

Cover Block

" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "id": 35, + "hasParallax": false, + "dimRatio": 50, + "backgroundType": "image" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "Cover Block", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [] + } + ], + "originalContent": "

Cover Block

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-3.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-3.parsed.json index 208b4f812ab7b6..e152c138274b72 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-3.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-3.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "id": 35 - }, - "innerBlocks": [], - "innerHTML": "\n

Cover Block

\n", - "innerContent": [ - "\n

Cover Block

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "id": 35 + }, + "innerBlocks": [], + "innerHTML": "\n

Cover Block

\n", + "innerContent": [ + "\n

Cover Block

\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-4.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-4.json index d7a01fae2658f4..02ce19c459ad23 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-4.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-4.json @@ -1,37 +1,37 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "id": 35, - "hasParallax": false, - "dimRatio": 50, - "backgroundType": "image", - "focalPoint": { - "x": "0.07", - "y": "0.07" - }, - "title": "", - "contentAlign": "center" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "Cover Block", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

Cover Block

" - } - ], - "originalContent": "
\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "id": 35, + "hasParallax": false, + "dimRatio": 50, + "backgroundType": "image", + "focalPoint": { + "x": "0.07", + "y": "0.07" + }, + "title": "", + "contentAlign": "center" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "Cover Block", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

Cover Block

" + } + ], + "originalContent": "
\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-4.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-4.parsed.json index e9dd42a54958d3..ab2e5cb610b8f5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-4.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-4.parsed.json @@ -1,43 +1,41 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "id": 35, - "focalPoint": { - "x": "0.07", - "y": "0.07" - } - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

Cover Block

\n\t\t", - "innerContent": [ - "\n\t\t

Cover Block

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "id": 35, + "focalPoint": { + "x": "0.07", + "y": "0.07" + } + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

Cover Block

\n\t\t", + "innerContent": [ + "\n\t\t

Cover Block

\n\t\t" + ] + } + ], + "innerHTML": "\n
\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-5.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-5.json index d333818e8c0525..f517afbefa2d56 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-5.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-5.json @@ -1,33 +1,33 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "hasParallax": false, - "dimRatio": 50, - "backgroundType": "image", - "title": "", - "contentAlign": "center", - "gradient": "midnight" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "Cover", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

Cover

" - } - ], - "originalContent": "
\n\t\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "hasParallax": false, + "dimRatio": 50, + "backgroundType": "image", + "title": "", + "contentAlign": "center", + "gradient": "midnight" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "Cover", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

Cover

" + } + ], + "originalContent": "
\n\t\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-5.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-5.parsed.json index 8603ab1cb601a9..0313cb937a5919 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-5.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-5.parsed.json @@ -1,39 +1,37 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "gradient": "midnight" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

Cover

\n\t\t", - "innerContent": [ - "\n\t\t

Cover

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "gradient": "midnight" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

Cover

\n\t\t", + "innerContent": [ + "\n\t\t

Cover

\n\t\t" + ] + } + ], + "innerHTML": "\n
\n\t\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-6.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-6.json index 81162a5eec7d23..6f850f529301bb 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-6.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-6.json @@ -1,100 +1,100 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "hasParallax": false, - "dimRatio": 40, - "backgroundType": "image", - "title": "", - "contentAlign": "center", - "isRepeated": false - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "\n\t\t\tGuten Berg!\n\t\t", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

\n\t\t\tGuten Berg!\n\t\t

" - } - ], - "originalContent": "\n\t
\n\t\t\n\t
\n" - }, - { - "clientId": "_clientId_1", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "https://example.com/some-background-image.png", - "id": 1933, - "hasParallax": false, - "dimRatio": 0, - "backgroundType": "image", - "focalPoint": { - "x": "0.50", - "y": "0.40" - }, - "title": "", - "contentAlign": "center", - "isRepeated": false, - "minHeight": 48, - "minHeightUnit": "vw", - "align": "full" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

" - } - ], - "originalContent": "\n\t
\n\t\t\n\t
\n" - }, - { - "clientId": "_clientId_2", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "http://localhost:8888/wp-content/uploads/2021/02/percy.jpg", - "id": 134, - "hasParallax": false, - "isRepeated": false, - "dimRatio": 50, - "backgroundType": "image", - "contentPosition": "bottom right" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "test", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

test

" - } - ], - "originalContent": "
\"\"\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "hasParallax": false, + "dimRatio": 40, + "backgroundType": "image", + "title": "", + "contentAlign": "center", + "isRepeated": false + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "\n\t\t\tGuten Berg!\n\t\t", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

\n\t\t\tGuten Berg!\n\t\t

" + } + ], + "originalContent": "\n\t
\n\t\t\n\t
\n" + }, + { + "clientId": "_clientId_1", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "https://example.com/some-background-image.png", + "id": 1933, + "hasParallax": false, + "dimRatio": 0, + "backgroundType": "image", + "focalPoint": { + "x": "0.50", + "y": "0.40" + }, + "title": "", + "contentAlign": "center", + "isRepeated": false, + "minHeight": 48, + "minHeightUnit": "vw", + "align": "full" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

" + } + ], + "originalContent": "\n\t
\n\t\t\n\t
\n" + }, + { + "clientId": "_clientId_2", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "http://localhost:8888/wp-content/uploads/2021/02/percy.jpg", + "id": 134, + "hasParallax": false, + "isRepeated": false, + "dimRatio": 50, + "backgroundType": "image", + "contentPosition": "bottom right" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "test", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

test

" + } + ], + "originalContent": "
\"\"\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-6.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-6.parsed.json index 1b34cdbb1c6617..2fa8c0758b32a3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-6.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__deprecated-6.parsed.json @@ -1,118 +1,110 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "dimRatio": 40 - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t", - "innerContent": [ - "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t" - ] - } - ], - "innerHTML": "\n\n\t
\n\t\t\n\t
\n\n", - "innerContent": [ - "\n\n\t
\n\t\t", - null, - "\n\t
\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - }, - { - "blockName": "core/cover", - "attrs": { - "url": "https://example.com/some-background-image.png", - "id": 1933, - "dimRatio": 0, - "focalPoint": { - "x": "0.50", - "y": "0.40" - }, - "minHeight": 48, - "minHeightUnit": "vw", - "align": "full" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\t

\n\t\t", - "innerContent": [ - "\n\t\t

\n\t\t" - ] - } - ], - "innerHTML": "\n\n\t
\n\t\t\n\t
\n\n", - "innerContent": [ - "\n\n\t
\n\t\t", - null, - "\n\t
\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - }, - { - "blockName": "core/cover", - "attrs": { - "url": "http://localhost:8888/wp-content/uploads/2021/02/percy.jpg", - "id": 134, - "contentPosition": "bottom right" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

test

\n\t\t", - "innerContent": [ - "\n\t\t

test

\n\t\t" - ] - } - ], - "innerHTML": "\n
\"\"\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\"\"\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "dimRatio": 40 + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t", + "innerContent": [ + "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t" + ] + } + ], + "innerHTML": "\n\n\t
\n\t\t\n\t
\n\n", + "innerContent": [ + "\n\n\t
\n\t\t", + null, + "\n\t
\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + }, + { + "blockName": "core/cover", + "attrs": { + "url": "https://example.com/some-background-image.png", + "id": 1933, + "dimRatio": 0, + "focalPoint": { + "x": "0.50", + "y": "0.40" + }, + "minHeight": 48, + "minHeightUnit": "vw", + "align": "full" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\t

\n\t\t", + "innerContent": [ "\n\t\t

\n\t\t" ] + } + ], + "innerHTML": "\n\n\t
\n\t\t\n\t
\n\n", + "innerContent": [ + "\n\n\t
\n\t\t", + null, + "\n\t
\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + }, + { + "blockName": "core/cover", + "attrs": { + "url": "http://localhost:8888/wp-content/uploads/2021/02/percy.jpg", + "id": 134, + "contentPosition": "bottom right" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

test

\n\t\t", + "innerContent": [ + "\n\t\t

test

\n\t\t" + ] + } + ], + "innerHTML": "\n
\"\"\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\"\"\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__gradient-image.json b/packages/e2e-tests/fixtures/blocks/core__cover__gradient-image.json index fd138982bd42c6..894d0db52c1ab0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__gradient-image.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__gradient-image.json @@ -1,32 +1,32 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "hasParallax": false, - "isRepeated": false, - "dimRatio": 30, - "backgroundType": "image", - "customGradient": "linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%)" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": " Cover! ", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

Cover!

" - } - ], - "originalContent": "
\n\t\n\t\"\"\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "hasParallax": false, + "isRepeated": false, + "dimRatio": 30, + "backgroundType": "image", + "customGradient": "linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%)" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": " Cover! ", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

Cover!

" + } + ], + "originalContent": "
\n\t\n\t\"\"\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__gradient-image.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__gradient-image.parsed.json index df7434e2a8e0b4..a4353d701bb398 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__gradient-image.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__gradient-image.parsed.json @@ -1,40 +1,38 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "dimRatio": 30, - "customGradient": "linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%)" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

Cover!

\n\t\t", - "innerContent": [ - "\n\t\t

Cover!

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\t\"\"\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t\n\t\"\"\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "dimRatio": 30, + "customGradient": "linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%)" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

Cover!

\n\t\t", + "innerContent": [ + "\n\t\t

Cover!

\n\t\t" + ] + } + ], + "innerHTML": "\n
\n\t\n\t\"\"\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t\n\t\"\"\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__gradient-video.json b/packages/e2e-tests/fixtures/blocks/core__cover__gradient-video.json index 4ff6a767d5b2c5..f11458a172f410 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__gradient-video.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__gradient-video.json @@ -1,32 +1,32 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "hasParallax": false, - "isRepeated": false, - "dimRatio": 70, - "backgroundType": "video", - "customGradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "Cover!", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

Cover!

" - } - ], - "originalContent": "
\n\t\n\t\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "hasParallax": false, + "isRepeated": false, + "dimRatio": 70, + "backgroundType": "video", + "customGradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "Cover!", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

Cover!

" + } + ], + "originalContent": "
\n\t\n\t\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__gradient-video.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__gradient-video.parsed.json index a9165ace676544..22cb1153070c5d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__gradient-video.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__gradient-video.parsed.json @@ -1,41 +1,39 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "dimRatio": 70, - "backgroundType": "video", - "customGradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

Cover!

\n\t\t", - "innerContent": [ - "\n\t\t

Cover!

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t\n\t\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t\n\t\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "dimRatio": 70, + "backgroundType": "video", + "customGradient": "linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

Cover!

\n\t\t", + "innerContent": [ + "\n\t\t

Cover!

\n\t\t" + ] + } + ], + "innerHTML": "\n
\n\t\n\t\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t\n\t\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__gradient.json b/packages/e2e-tests/fixtures/blocks/core__cover__gradient.json index dd018c2ad70ae2..2424d7a5b86040 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__gradient.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__gradient.json @@ -1,31 +1,31 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "hasParallax": false, - "isRepeated": false, - "dimRatio": 50, - "backgroundType": "image", - "customGradient": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "Cover!", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

Cover!

" - } - ], - "originalContent": "
\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "hasParallax": false, + "isRepeated": false, + "dimRatio": 50, + "backgroundType": "image", + "customGradient": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "Cover!", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

Cover!

" + } + ], + "originalContent": "
\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__gradient.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__gradient.parsed.json index 423586ba2681e6..4eb91dba17a7dc 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__gradient.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__gradient.parsed.json @@ -1,38 +1,36 @@ [ - { - "blockName": "core/cover", - "attrs": { - "customGradient": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

Cover!

\n\t\t", - "innerContent": [ - "\n\t\t

Cover!

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "customGradient": "linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

Cover!

\n\t\t", + "innerContent": [ + "\n\t\t

Cover!

\n\t\t" + ] + } + ], + "innerHTML": "\n
\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__solid-color.json b/packages/e2e-tests/fixtures/blocks/core__cover__solid-color.json index 64856c1c965dc6..e86882b01a1ed3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__solid-color.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__solid-color.json @@ -1,31 +1,31 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "hasParallax": false, - "isRepeated": false, - "dimRatio": 50, - "overlayColor": "primary", - "backgroundType": "image" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

" - } - ], - "originalContent": "
\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "hasParallax": false, + "isRepeated": false, + "dimRatio": 50, + "overlayColor": "primary", + "backgroundType": "image" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

" + } + ], + "originalContent": "
\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__solid-color.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__solid-color.parsed.json index d6c34b1913417d..8dbdf1f1414801 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__solid-color.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__solid-color.parsed.json @@ -1,38 +1,36 @@ [ - { - "blockName": "core/cover", - "attrs": { - "overlayColor": "primary" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

\n\t\t", - "innerContent": [ - "\n\t\t

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "overlayColor": "primary" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

\n\t\t", + "innerContent": [ + "\n\t\t

\n\t\t" + ] + } + ], + "innerHTML": "\n
\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.json b/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.json index 739a26ab30c526..872a65c33627b8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.json @@ -1,32 +1,32 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "hasParallax": false, - "isRepeated": false, - "dimRatio": 10, - "customOverlayColor": "#3615d9", - "backgroundType": "video" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "\n\t\t\tGuten Berg!\n\t\t", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

\n\t\t\tGuten Berg!\n\t\t

" - } - ], - "originalContent": "\n\t\n\t\n\t
\n\t\t\n\t
\n" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "hasParallax": false, + "isRepeated": false, + "dimRatio": 10, + "customOverlayColor": "#3615d9", + "backgroundType": "video" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "\n\t\t\tGuten Berg!\n\t\t", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

\n\t\t\tGuten Berg!\n\t\t

" + } + ], + "originalContent": "\n\t\n\t\n\t
\n\t\t\n\t
\n" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.parsed.json index 37117e32b32c21..d8e275b1adfd3f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__video-overlay.parsed.json @@ -1,41 +1,39 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "dimRatio": 10, - "customOverlayColor": "#3615d9", - "backgroundType": "video" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t", - "innerContent": [ - "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t" - ] - } - ], - "innerHTML": "\n\n\t\n\t\n\t
\n\t\t\n\t
\n\n", - "innerContent": [ - "\n\n\t\n\t\n\t
\n\t\t", - null, - "\n\t
\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "dimRatio": 10, + "customOverlayColor": "#3615d9", + "backgroundType": "video" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t", + "innerContent": [ + "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t" + ] + } + ], + "innerHTML": "\n\n\t\n\t\n\t
\n\t\t\n\t
\n\n", + "innerContent": [ + "\n\n\t\n\t\n\t
\n\t\t", + null, + "\n\t
\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__video.json b/packages/e2e-tests/fixtures/blocks/core__cover__video.json index 77fd5580b1d1a7..827e0997eaa48e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__video.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__video.json @@ -1,31 +1,31 @@ [ - { - "clientId": "_clientId_0", - "name": "core/cover", - "isValid": true, - "attributes": { - "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "hasParallax": false, - "isRepeated": false, - "dimRatio": 40, - "backgroundType": "video" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "center", - "content": "\n\t\t\tGuten Berg!\n\t\t", - "dropCap": false, - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

\n\t\t\tGuten Berg!\n\t\t

" - } - ], - "originalContent": "\n\t\n\t\n\t
\n\t\t\n\t
\n" - } + { + "clientId": "_clientId_0", + "name": "core/cover", + "isValid": true, + "attributes": { + "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "hasParallax": false, + "isRepeated": false, + "dimRatio": 40, + "backgroundType": "video" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "center", + "content": "\n\t\t\tGuten Berg!\n\t\t", + "dropCap": false, + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

\n\t\t\tGuten Berg!\n\t\t

" + } + ], + "originalContent": "\n\t\n\t\n\t
\n\t\t\n\t
\n" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__cover__video.parsed.json b/packages/e2e-tests/fixtures/blocks/core__cover__video.parsed.json index 9c8be02e86bfaf..ff2b75c511dce2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__cover__video.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__cover__video.parsed.json @@ -1,40 +1,38 @@ [ - { - "blockName": "core/cover", - "attrs": { - "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "dimRatio": 40, - "backgroundType": "video" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "center", - "placeholder": "Write title…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t", - "innerContent": [ - "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t" - ] - } - ], - "innerHTML": "\n\n\t\n\t\n\t
\n\t\t\n\t
\n\n", - "innerContent": [ - "\n\n\t\n\t\n\t
\n\t\t", - null, - "\n\t
\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/cover", + "attrs": { + "url": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "dimRatio": 40, + "backgroundType": "video" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "center", + "placeholder": "Write title…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t", + "innerContent": [ + "\n\t\t

\n\t\t\tGuten Berg!\n\t\t

\n\t\t" + ] + } + ], + "innerHTML": "\n\n\t\n\t\n\t
\n\t\t\n\t
\n\n", + "innerContent": [ + "\n\n\t\n\t\n\t
\n\t\t", + null, + "\n\t
\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__embed.json b/packages/e2e-tests/fixtures/blocks/core__embed.json index 3eab30b025248b..b76699b65e0521 100644 --- a/packages/e2e-tests/fixtures/blocks/core__embed.json +++ b/packages/e2e-tests/fixtures/blocks/core__embed.json @@ -1,16 +1,16 @@ [ - { - "clientId": "_clientId_0", - "name": "core/embed", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "caption": "Embedded content from an example URL", - "allowResponsive": true, - "responsive": false, - "previewable": true - }, - "innerBlocks": [], - "originalContent": "
\n
\n https://example.com/\n
\n
Embedded content from an example URL
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/embed", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "caption": "Embedded content from an example URL", + "allowResponsive": true, + "responsive": false, + "previewable": true + }, + "innerBlocks": [], + "originalContent": "
\n
\n https://example.com/\n
\n
Embedded content from an example URL
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__embed.parsed.json b/packages/e2e-tests/fixtures/blocks/core__embed.parsed.json index 43bbfac823cd06..cdab59ef4bc68c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__embed.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__embed.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/embed", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "\n
\n
\n https://example.com/\n
\n
Embedded content from an example URL
\n
\n", - "innerContent": [ - "\n
\n
\n https://example.com/\n
\n
Embedded content from an example URL
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/embed", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "\n
\n
\n https://example.com/\n
\n
Embedded content from an example URL
\n
\n", + "innerContent": [ + "\n
\n
\n https://example.com/\n
\n
Embedded content from an example URL
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__file__new-window.json b/packages/e2e-tests/fixtures/blocks/core__file__new-window.json index ec9d04253aae3d..7fd72e9787e65a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__file__new-window.json +++ b/packages/e2e-tests/fixtures/blocks/core__file__new-window.json @@ -1,17 +1,17 @@ [ - { - "clientId": "_clientId_0", - "name": "core/file", - "isValid": true, - "attributes": { - "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", - "fileName": "6546", - "textLinkHref": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", - "textLinkTarget": "_blank", - "showDownloadButton": true, - "downloadButtonText": "Download" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/file", + "isValid": true, + "attributes": { + "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", + "fileName": "6546", + "textLinkHref": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", + "textLinkTarget": "_blank", + "showDownloadButton": true, + "downloadButtonText": "Download" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__file__new-window.parsed.json b/packages/e2e-tests/fixtures/blocks/core__file__new-window.parsed.json index 9893cf0858e14e..c9e81176024902 100644 --- a/packages/e2e-tests/fixtures/blocks/core__file__new-window.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__file__new-window.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/file", - "attrs": { - "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", - "showDownloadButton": true - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/file", + "attrs": { + "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", + "showDownloadButton": true + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.json b/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.json index 6b034cf8b9cdb2..8f9eca5221419f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.json +++ b/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.json @@ -1,16 +1,16 @@ [ - { - "clientId": "_clientId_0", - "name": "core/file", - "isValid": true, - "attributes": { - "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", - "fileName": "lkjfijwef", - "textLinkHref": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", - "showDownloadButton": false, - "downloadButtonText": "" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/file", + "isValid": true, + "attributes": { + "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", + "fileName": "lkjfijwef", + "textLinkHref": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", + "showDownloadButton": false, + "downloadButtonText": "" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.parsed.json b/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.parsed.json index bf500bf663d40d..65afea723627a2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__file__no-download-button.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/file", - "attrs": { - "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", - "showDownloadButton": false - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/file", + "attrs": { + "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", + "showDownloadButton": false + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.json b/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.json index 75db9d2bb0f855..cd5f1a47c84756 100644 --- a/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.json +++ b/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/file", - "isValid": true, - "attributes": { - "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", - "fileName": "", - "showDownloadButton": true, - "downloadButtonText": "Download" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/file", + "isValid": true, + "attributes": { + "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", + "fileName": "", + "showDownloadButton": true, + "downloadButtonText": "Download" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.parsed.json index 62bc3d8904098e..a9a015daeb5a8d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__file__no-text-link.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/file", - "attrs": { - "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", - "showDownloadButton": true - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/file", + "attrs": { + "href": "http://localhost:8888/wp-content/uploads/2018/05/keycodes.js", + "showDownloadButton": true + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__freeform.json b/packages/e2e-tests/fixtures/blocks/core__freeform.json index 6b97ab677f227e..1862386dbab918 100644 --- a/packages/e2e-tests/fixtures/blocks/core__freeform.json +++ b/packages/e2e-tests/fixtures/blocks/core__freeform.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/freeform", - "isValid": true, - "attributes": { - "content": "

Testing freeform block with some

\n
\n\tHTML content\n
" - }, - "innerBlocks": [], - "originalContent": "

Testing freeform block with some

\n
\n\tHTML content\n
" - } + { + "clientId": "_clientId_0", + "name": "core/freeform", + "isValid": true, + "attributes": { + "content": "

Testing freeform block with some

\n
\n\tHTML content\n
" + }, + "innerBlocks": [], + "originalContent": "

Testing freeform block with some

\n
\n\tHTML content\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__freeform.parsed.json b/packages/e2e-tests/fixtures/blocks/core__freeform.parsed.json index 1ec86e571b009c..80e86c82714dbf 100644 --- a/packages/e2e-tests/fixtures/blocks/core__freeform.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__freeform.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/freeform", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\nTesting freeform block with some\n
\n\tHTML content\n
\n", - "innerContent": [ - "\nTesting freeform block with some\n
\n\tHTML content\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/freeform", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\nTesting freeform block with some\n
\n\tHTML content\n
\n", + "innerContent": [ + "\nTesting freeform block with some\n
\n\tHTML content\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.json b/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.json index 6b97ab677f227e..1862386dbab918 100644 --- a/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.json +++ b/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/freeform", - "isValid": true, - "attributes": { - "content": "

Testing freeform block with some

\n
\n\tHTML content\n
" - }, - "innerBlocks": [], - "originalContent": "

Testing freeform block with some

\n
\n\tHTML content\n
" - } + { + "clientId": "_clientId_0", + "name": "core/freeform", + "isValid": true, + "attributes": { + "content": "

Testing freeform block with some

\n
\n\tHTML content\n
" + }, + "innerBlocks": [], + "originalContent": "

Testing freeform block with some

\n
\n\tHTML content\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.parsed.json b/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.parsed.json index 4aca91e2f3a228..920e59283c68d3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__freeform__undelimited.parsed.json @@ -1,11 +1,11 @@ [ - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "Testing freeform block with some\n
\n\tHTML content\n
\n", - "innerContent": [ - "Testing freeform block with some\n
\n\tHTML content\n
\n" - ] - } + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "Testing freeform block with some\n
\n\tHTML content\n
\n", + "innerContent": [ + "Testing freeform block with some\n
\n\tHTML content\n
\n" + ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery-with-caption.json b/packages/e2e-tests/fixtures/blocks/core__gallery-with-caption.json index a071065d578d92..9780feb5bce791 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery-with-caption.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery-with-caption.json @@ -1,31 +1,28 @@ [ - { - "clientId": "_clientId_0", - "name": "core/gallery", - "isValid": true, - "attributes": { - "images": [ - { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "title", - "caption": "" - }, - { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "alt": "title", - "caption": "" - } - ], - "ids": [ - null, - null - ], - "caption": "Gallery caption.", - "imageCrop": true, - "linkTo": "none", - "sizeSlug": "large" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/gallery", + "isValid": true, + "attributes": { + "images": [ + { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "title", + "caption": "" + }, + { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "alt": "title", + "caption": "" + } + ], + "ids": [ null, null ], + "caption": "Gallery caption.", + "imageCrop": true, + "linkTo": "none", + "sizeSlug": "large" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery-with-caption.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery-with-caption.parsed.json index a5cab176a5450e..5d2ea4e17e20f3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery-with-caption.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery-with-caption.parsed.json @@ -1,25 +1,20 @@ [ - { - "blockName": "core/gallery", - "attrs": { - "ids": [ - null, - null - ] - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/gallery", + "attrs": { + "ids": [ null, null ] + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery.json b/packages/e2e-tests/fixtures/blocks/core__gallery.json index 5c6b4c3302a1b5..35cade362ceb90 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery.json @@ -1,31 +1,28 @@ [ - { - "clientId": "_clientId_0", - "name": "core/gallery", - "isValid": true, - "attributes": { - "images": [ - { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "title", - "caption": "" - }, - { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "alt": "title", - "caption": "" - } - ], - "ids": [ - null, - null - ], - "caption": "", - "imageCrop": true, - "linkTo": "none", - "sizeSlug": "large" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/gallery", + "isValid": true, + "attributes": { + "images": [ + { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "title", + "caption": "" + }, + { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "alt": "title", + "caption": "" + } + ], + "ids": [ null, null ], + "caption": "", + "imageCrop": true, + "linkTo": "none", + "sizeSlug": "large" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery.parsed.json index d81e9d14c1948d..b8ce931ad784c7 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery.parsed.json @@ -1,25 +1,20 @@ [ - { - "blockName": "core/gallery", - "attrs": { - "ids": [ - null, - null - ] - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/gallery", + "attrs": { + "ids": [ null, null ] + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__columns.json b/packages/e2e-tests/fixtures/blocks/core__gallery__columns.json index 8f5aa53d436b42..f1c3a654adf9df 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__columns.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__columns.json @@ -1,32 +1,29 @@ [ - { - "clientId": "_clientId_0", - "name": "core/gallery", - "isValid": true, - "attributes": { - "images": [ - { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "title", - "caption": "" - }, - { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "alt": "title", - "caption": "" - } - ], - "ids": [ - null, - null - ], - "columns": 1, - "caption": "", - "imageCrop": true, - "linkTo": "none", - "sizeSlug": "large" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/gallery", + "isValid": true, + "attributes": { + "images": [ + { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "title", + "caption": "" + }, + { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "alt": "title", + "caption": "" + } + ], + "ids": [ null, null ], + "columns": 1, + "caption": "", + "imageCrop": true, + "linkTo": "none", + "sizeSlug": "large" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__columns.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery__columns.parsed.json index aa6f2a71d2f2f8..39ac5eb1724b57 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__columns.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__columns.parsed.json @@ -1,26 +1,21 @@ [ - { - "blockName": "core/gallery", - "attrs": { - "ids": [ - null, - null - ], - "columns": 1 - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/gallery", + "attrs": { + "ids": [ null, null ], + "columns": 1 + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-1.json index 41b1ca556bf5ae..3bb14e3d991c07 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-1.json @@ -1,25 +1,25 @@ [ - { - "clientId": "_clientId_0", - "name": "core/gallery", - "isValid": true, - "attributes": { - "images": [ - { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "title" - }, - { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "alt": "title" - } - ], - "columns": 2, - "imageCrop": true, - "linkTo": "none", - "align": "wide" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/gallery", + "isValid": true, + "attributes": { + "images": [ + { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "title" + }, + { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "alt": "title" + } + ], + "columns": 2, + "imageCrop": true, + "linkTo": "none", + "align": "wide" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-1.parsed.json index b684a539ed4b3b..1f2ad33f724a0d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-1.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/gallery", - "attrs": { - "columns": 2, - "align": "wide" - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/gallery", + "attrs": { + "columns": 2, + "align": "wide" + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-2.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-2.json index 84c8db20765a20..264c25f18ce1df 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-2.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-2.json @@ -1,30 +1,30 @@ [ - { - "clientId": "_clientId_0", - "name": "core/gallery", - "isValid": true, - "attributes": { - "images": [ - { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "title", - "id": "1", - "caption": [] - }, - { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "alt": "title", - "id": "2", - "caption": [] - } - ], - "ids": [], - "columns": 2, - "imageCrop": true, - "linkTo": "none", - "align": "wide" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/gallery", + "isValid": true, + "attributes": { + "images": [ + { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "title", + "id": "1", + "caption": [] + }, + { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "alt": "title", + "id": "2", + "caption": [] + } + ], + "ids": [], + "columns": 2, + "imageCrop": true, + "linkTo": "none", + "align": "wide" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-2.parsed.json index 49a8164b3c8438..84f1f77d5b7024 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-2.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/gallery", - "attrs": { - "columns": 2, - "align": "wide" - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/gallery", + "attrs": { + "columns": 2, + "align": "wide" + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-3.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-3.json index a0325e960ab087..81357c8b33aa01 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-3.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-3.json @@ -1,30 +1,27 @@ [ - { - "clientId": "_clientId_0", - "name": "core/gallery", - "isValid": true, - "attributes": { - "images": [ - { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "title", - "caption": [] - }, - { - "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "alt": "title", - "caption": [] - } - ], - "ids": [ - null, - null - ], - "imageCrop": true, - "linkTo": "none", - "align": "wide" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/gallery", + "isValid": true, + "attributes": { + "images": [ + { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "title", + "caption": [] + }, + { + "url": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "alt": "title", + "caption": [] + } + ], + "ids": [ null, null ], + "imageCrop": true, + "linkTo": "none", + "align": "wide" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-3.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-3.parsed.json index 82ed8f0225e495..cbb35065cfe345 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-3.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-3.parsed.json @@ -1,26 +1,21 @@ [ - { - "blockName": "core/gallery", - "attrs": { - "ids": [ - null, - null - ], - "align": "wide" - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/gallery", + "attrs": { + "ids": [ null, null ], + "align": "wide" + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-4.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-4.json index f74bed0428cb86..d62d125dc2ea6a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-4.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-4.json @@ -1,40 +1,36 @@ [ - { - "clientId": "_clientId_0", - "name": "core/gallery", - "isValid": true, - "attributes": { - "images": [ - { - "url": "https://sergioestevaofolio.files.wordpress.com/2016/09/cropped-img_9054-1.jpg?w=190", - "alt": "", - "id": "1421", - "caption": "" - }, - { - "url": "https://sergioestevaofolio.files.wordpress.com/2017/09/cropped-l1001498-1.jpg?w=580", - "alt": "", - "id": "1440", - "caption": "" - }, - { - "url": "https://sergioestevaofolio.files.wordpress.com/2017/05/cropped-l1005945-2-2.jpg?w=580", - "alt": "", - "id": "1362", - "caption": "" - } - ], - "ids": [ - 1421, - 1440, - 1362 - ], - "caption": "", - "imageCrop": true, - "linkTo": "none", - "align": "wide" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/gallery", + "isValid": true, + "attributes": { + "images": [ + { + "url": "https://sergioestevaofolio.files.wordpress.com/2016/09/cropped-img_9054-1.jpg?w=190", + "alt": "", + "id": "1421", + "caption": "" + }, + { + "url": "https://sergioestevaofolio.files.wordpress.com/2017/09/cropped-l1001498-1.jpg?w=580", + "alt": "", + "id": "1440", + "caption": "" + }, + { + "url": "https://sergioestevaofolio.files.wordpress.com/2017/05/cropped-l1005945-2-2.jpg?w=580", + "alt": "", + "id": "1362", + "caption": "" + } + ], + "ids": [ 1421, 1440, 1362 ], + "caption": "", + "imageCrop": true, + "linkTo": "none", + "align": "wide" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-4.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-4.parsed.json index 3658ae29364796..04dc77f79980e3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-4.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-4.parsed.json @@ -1,27 +1,21 @@ [ - { - "blockName": "core/gallery", - "attrs": { - "ids": [ - "1421", - "1440", - "1362" - ], - "align": "wide" - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/gallery", + "attrs": { + "ids": [ "1421", "1440", "1362" ], + "align": "wide" + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-5.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-5.json index 8cbe9760d13bab..66d6c1d8ac0216 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-5.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-5.json @@ -1,46 +1,42 @@ [ - { - "clientId": "_clientId_0", - "name": "core/gallery", - "isValid": true, - "attributes": { - "images": [ - { - "url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1-682x1024.jpg", - "fullUrl": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1-scaled.jpg", - "link": "http://wptest.local/classic/test-image-3/", - "alt": "", - "id": "705", - "caption": "" - }, - { - "url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1024x682.jpg", - "fullUrl": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-scaled.jpg", - "link": "http://wptest.local/test-image-2/", - "alt": "", - "id": "704", - "caption": "" - }, - { - "url": "http://wptest.local/wp-content/uploads/2020/04/test-image-1024x683.jpg", - "fullUrl": "http://wptest.local/wp-content/uploads/2020/04/test-image-scaled.jpg", - "link": "http://wptest.local/test-image/", - "alt": "", - "id": "703", - "caption": "" - } - ], - "ids": [ - 705, - 704, - 703 - ], - "caption": "", - "imageCrop": true, - "linkTo": "file", - "sizeSlug": "large" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/gallery", + "isValid": true, + "attributes": { + "images": [ + { + "url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1-682x1024.jpg", + "fullUrl": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1-scaled.jpg", + "link": "http://wptest.local/classic/test-image-3/", + "alt": "", + "id": "705", + "caption": "" + }, + { + "url": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-1024x682.jpg", + "fullUrl": "http://wptest.local/wp-content/uploads/2020/09/test-image-edited-scaled.jpg", + "link": "http://wptest.local/test-image-2/", + "alt": "", + "id": "704", + "caption": "" + }, + { + "url": "http://wptest.local/wp-content/uploads/2020/04/test-image-1024x683.jpg", + "fullUrl": "http://wptest.local/wp-content/uploads/2020/04/test-image-scaled.jpg", + "link": "http://wptest.local/test-image/", + "alt": "", + "id": "703", + "caption": "" + } + ], + "ids": [ 705, 704, 703 ], + "caption": "", + "imageCrop": true, + "linkTo": "file", + "sizeSlug": "large" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-5.parsed.json b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-5.parsed.json index 79acfbcf66ddd5..f2680567d89f8a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-5.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__gallery__deprecated-5.parsed.json @@ -1,27 +1,21 @@ [ - { - "blockName": "core/gallery", - "attrs": { - "ids": [ - 705, - 704, - 703 - ], - "linkTo": "media" - }, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/gallery", + "attrs": { + "ids": [ 705, 704, 703 ], + "linkTo": "media" + }, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ + "\n\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__group.json b/packages/e2e-tests/fixtures/blocks/core__group.json index 7fd0b5d60ba113..0da4f1eea16aed 100644 --- a/packages/e2e-tests/fixtures/blocks/core__group.json +++ b/packages/e2e-tests/fixtures/blocks/core__group.json @@ -1,37 +1,37 @@ [ - { - "clientId": "_clientId_0", - "name": "core/group", - "isValid": true, - "attributes": { - "tagName": "div", - "align": "full", - "backgroundColor": "secondary" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "This is a group block.", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

This is a group block.

" - }, - { - "clientId": "_clientId_1", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Group block content.", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Group block content.

" - } - ], - "originalContent": "
\n\n
" - } + { + "clientId": "_clientId_0", + "name": "core/group", + "isValid": true, + "attributes": { + "tagName": "div", + "align": "full", + "backgroundColor": "secondary" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "This is a group block.", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

This is a group block.

" + }, + { + "clientId": "_clientId_1", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Group block content.", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Group block content.

" + } + ], + "originalContent": "
\n\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__group.parsed.json b/packages/e2e-tests/fixtures/blocks/core__group.parsed.json index a82a138ba47415..4bd8d6007380a0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__group.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__group.parsed.json @@ -1,46 +1,40 @@ [ - { - "blockName": "core/group", - "attrs": { - "align": "full", - "backgroundColor": "secondary" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n

This is a group block.

\n", - "innerContent": [ - "\n

This is a group block.

\n" - ] - }, - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n

Group block content.

\n", - "innerContent": [ - "\n

Group block content.

\n" - ] - } - ], - "innerHTML": "\n
\n\n
\n", - "innerContent": [ - "\n
", - null, - "\n\n", - null, - "
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/group", + "attrs": { + "align": "full", + "backgroundColor": "secondary" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n

This is a group block.

\n", + "innerContent": [ "\n

This is a group block.

\n" ] + }, + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n

Group block content.

\n", + "innerContent": [ "\n

Group block content.

\n" ] + } + ], + "innerHTML": "\n
\n\n
\n", + "innerContent": [ + "\n
", + null, + "\n\n", + null, + "
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__group__deprecated-2.json b/packages/e2e-tests/fixtures/blocks/core__group__deprecated-2.json index 7bfd9dafac7069..c7da0adaec0b1b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__group__deprecated-2.json +++ b/packages/e2e-tests/fixtures/blocks/core__group__deprecated-2.json @@ -1,25 +1,25 @@ [ - { - "clientId": "_clientId_0", - "name": "core/group", - "isValid": true, - "attributes": { - "textColor": "accent", - "tagName": "div" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "My paragraph", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

My paragraph

" - } - ], - "originalContent": "
\n\t
\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/group", + "isValid": true, + "attributes": { + "textColor": "accent", + "tagName": "div" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "My paragraph", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

My paragraph

" + } + ], + "originalContent": "
\n\t
\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__group__deprecated-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__group__deprecated-2.parsed.json index f78e15216023c9..237e5c8c1cc8c9 100644 --- a/packages/e2e-tests/fixtures/blocks/core__group__deprecated-2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__group__deprecated-2.parsed.json @@ -1,34 +1,30 @@ [ - { - "blockName": "core/group", - "attrs": { - "textColor": "accent" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\t

My paragraph

\n\t\t", - "innerContent": [ - "\n\t\t

My paragraph

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t
\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t
\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/group", + "attrs": { + "textColor": "accent" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\t

My paragraph

\n\t\t", + "innerContent": [ "\n\t\t

My paragraph

\n\t\t" ] + } + ], + "innerHTML": "\n
\n\t
\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t
\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__group__deprecated-inner-container.json b/packages/e2e-tests/fixtures/blocks/core__group__deprecated-inner-container.json index 2ca0de07bbb39a..22f729492d05b5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__group__deprecated-inner-container.json +++ b/packages/e2e-tests/fixtures/blocks/core__group__deprecated-inner-container.json @@ -1,37 +1,37 @@ [ - { - "clientId": "_clientId_0", - "name": "core/group", - "isValid": true, - "attributes": { - "tagName": "div", - "align": "full", - "backgroundColor": "secondary" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "This is a group block.", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

This is a group block.

" - }, - { - "clientId": "_clientId_1", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Group block content.", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

Group block content.

" - } - ], - "originalContent": "
\n\t
\n\t\t\n\n\t\t\n\t
\n
" - } + { + "clientId": "_clientId_0", + "name": "core/group", + "isValid": true, + "attributes": { + "tagName": "div", + "align": "full", + "backgroundColor": "secondary" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "This is a group block.", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

This is a group block.

" + }, + { + "clientId": "_clientId_1", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Group block content.", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

Group block content.

" + } + ], + "originalContent": "
\n\t
\n\t\t\n\n\t\t\n\t
\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__group__deprecated-inner-container.parsed.json b/packages/e2e-tests/fixtures/blocks/core__group__deprecated-inner-container.parsed.json index 9da531aefe611e..3817d50e814244 100644 --- a/packages/e2e-tests/fixtures/blocks/core__group__deprecated-inner-container.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__group__deprecated-inner-container.parsed.json @@ -1,46 +1,40 @@ [ - { - "blockName": "core/group", - "attrs": { - "align": "full", - "backgroundColor": "secondary" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\t

This is a group block.

\n\t\t", - "innerContent": [ - "\n\t\t

This is a group block.

\n\t\t" - ] - }, - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t\t

Group block content.

\n\t\t", - "innerContent": [ - "\n\t\t

Group block content.

\n\t\t" - ] - } - ], - "innerHTML": "\n
\n\t
\n\t\t\n\n\t\t\n\t
\n
\n", - "innerContent": [ - "\n
\n\t
\n\t\t", - null, - "\n\n\t\t", - null, - "\n\t
\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/group", + "attrs": { + "align": "full", + "backgroundColor": "secondary" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\t

This is a group block.

\n\t\t", + "innerContent": [ "\n\t\t

This is a group block.

\n\t\t" ] + }, + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t\t

Group block content.

\n\t\t", + "innerContent": [ "\n\t\t

Group block content.

\n\t\t" ] + } + ], + "innerHTML": "\n
\n\t
\n\t\t\n\n\t\t\n\t
\n
\n", + "innerContent": [ + "\n
\n\t
\n\t\t", + null, + "\n\n\t\t", + null, + "\n\t
\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__group__deprecated.json b/packages/e2e-tests/fixtures/blocks/core__group__deprecated.json index c67c67fc51cd8e..e832f1935355f2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__group__deprecated.json +++ b/packages/e2e-tests/fixtures/blocks/core__group__deprecated.json @@ -1,27 +1,27 @@ [ - { - "clientId": "_clientId_0", - "name": "core/group", - "isValid": true, - "attributes": { - "tagName": "div", - "align": "full", - "anchor": "test-id", - "backgroundColor": "lighter-blue" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "test", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

test

" - } - ], - "originalContent": "
\n\t\n
" - } + { + "clientId": "_clientId_0", + "name": "core/group", + "isValid": true, + "attributes": { + "tagName": "div", + "align": "full", + "anchor": "test-id", + "backgroundColor": "lighter-blue" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "test", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

test

" + } + ], + "originalContent": "
\n\t\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__group__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core__group__deprecated.parsed.json index 09778708d0b9e3..cb9400d71910b3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__group__deprecated.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__group__deprecated.parsed.json @@ -1,35 +1,31 @@ [ - { - "blockName": "core/group", - "attrs": { - "align": "full", - "backgroundColor": "lighter-blue" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\t

test

\n\t", - "innerContent": [ - "\n\t

test

\n\t" - ] - } - ], - "innerHTML": "\n
\n\t\n
\n", - "innerContent": [ - "\n
\n\t", - null, - "\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/group", + "attrs": { + "align": "full", + "backgroundColor": "lighter-blue" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\t

test

\n\t", + "innerContent": [ "\n\t

test

\n\t" ] + } + ], + "innerHTML": "\n
\n\t\n
\n", + "innerContent": [ + "\n
\n\t", + null, + "\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-1.json index 183cd4991f1d5c..81ec2cc249c2dd 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-1.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/heading", - "isValid": true, - "attributes": { - "content": "A picture is worth a thousand words, or so the saying goes", - "level": 3, - "textAlign": "right" - }, - "innerBlocks": [], - "originalContent": "

A picture is worth a thousand words, or so the saying goes

" - } + { + "clientId": "_clientId_0", + "name": "core/heading", + "isValid": true, + "attributes": { + "content": "A picture is worth a thousand words, or so the saying goes", + "level": 3, + "textAlign": "right" + }, + "innerBlocks": [], + "originalContent": "

A picture is worth a thousand words, or so the saying goes

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-1.parsed.json index abb13458d09aa7..05c7ef78b706a8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-1.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/heading", - "attrs": { - "align": "right", - "level": 3 - }, - "innerBlocks": [], - "innerHTML": "\n

A picture is worth a thousand words, or so the saying goes

\n", - "innerContent": [ - "\n

A picture is worth a thousand words, or so the saying goes

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/heading", + "attrs": { + "align": "right", + "level": 3 + }, + "innerBlocks": [], + "innerHTML": "\n

A picture is worth a thousand words, or so the saying goes

\n", + "innerContent": [ + "\n

A picture is worth a thousand words, or so the saying goes

\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-2.json b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-2.json index ce277ddce36e74..52f254cd979c5f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-2.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-2.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/heading", - "isValid": true, - "attributes": { - "content": "text", - "level": 2, - "textColor": "accent" - }, - "innerBlocks": [], - "originalContent": "

text

" - } + { + "clientId": "_clientId_0", + "name": "core/heading", + "isValid": true, + "attributes": { + "content": "text", + "level": 2, + "textColor": "accent" + }, + "innerBlocks": [], + "originalContent": "

text

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-2.parsed.json index 6208522cf3aff3..f2abf7289321f6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-2.parsed.json @@ -1,22 +1,18 @@ [ - { - "blockName": "core/heading", - "attrs": { - "textColor": "accent" - }, - "innerBlocks": [], - "innerHTML": "\n

text

\n", - "innerContent": [ - "\n

text

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/heading", + "attrs": { + "textColor": "accent" + }, + "innerBlocks": [], + "innerHTML": "\n

text

\n", + "innerContent": [ "\n

text

\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-3.json b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-3.json index d4d93c52448969..9e240f85a81d46 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-3.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-3.json @@ -1,18 +1,18 @@ [ - { - "clientId": "_clientId_0", - "name": "core/heading", - "isValid": true, - "attributes": { - "content": "Text", - "level": 2, - "style": { - "color": { - "text": "#268ebb" - } - } - }, - "innerBlocks": [], - "originalContent": "

Text

" - } + { + "clientId": "_clientId_0", + "name": "core/heading", + "isValid": true, + "attributes": { + "content": "Text", + "level": 2, + "style": { + "color": { + "text": "#268ebb" + } + } + }, + "innerBlocks": [], + "originalContent": "

Text

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-3.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-3.parsed.json index e6a0db71a2d381..5ec55bac4c5b5b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-3.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-3.parsed.json @@ -1,22 +1,18 @@ [ - { - "blockName": "core/heading", - "attrs": { - "customTextColor": "#268ebb" - }, - "innerBlocks": [], - "innerHTML": "\n

Text

\n", - "innerContent": [ - "\n

Text

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/heading", + "attrs": { + "customTextColor": "#268ebb" + }, + "innerBlocks": [], + "innerHTML": "\n

Text

\n", + "innerContent": [ "\n

Text

\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-4.json b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-4.json index 753db35b015b0c..f6ff812ecf323d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-4.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-4.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/heading", - "isValid": true, - "attributes": { - "content": "Text", - "level": 2, - "textColor": "accent", - "textAlign": "center" - }, - "innerBlocks": [], - "originalContent": "

Text

" - } + { + "clientId": "_clientId_0", + "name": "core/heading", + "isValid": true, + "attributes": { + "content": "Text", + "level": 2, + "textColor": "accent", + "textAlign": "center" + }, + "innerBlocks": [], + "originalContent": "

Text

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-4.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-4.parsed.json index 4b21d1abf72446..a4b2db21ffd077 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-4.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__deprecated-4.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/heading", - "attrs": { - "textColor": "accent", - "align": "center" - }, - "innerBlocks": [], - "innerHTML": "\n

Text

\n", - "innerContent": [ - "\n

Text

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - } + { + "blockName": "core/heading", + "attrs": { + "textColor": "accent", + "align": "center" + }, + "innerBlocks": [], + "innerHTML": "\n

Text

\n", + "innerContent": [ + "\n

Text

\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ "\n\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__h2-color.json b/packages/e2e-tests/fixtures/blocks/core__heading__h2-color.json index 6924638cf64666..4ad5129ce49377 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__h2-color.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__h2-color.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/heading", - "isValid": true, - "attributes": { - "content": "Text", - "level": 2, - "textColor": "accent" - }, - "innerBlocks": [], - "originalContent": "

Text

" - } + { + "clientId": "_clientId_0", + "name": "core/heading", + "isValid": true, + "attributes": { + "content": "Text", + "level": 2, + "textColor": "accent" + }, + "innerBlocks": [], + "originalContent": "

Text

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__h2-color.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__h2-color.parsed.json index 42bb5549b7cf72..fade2b0d3a4761 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__h2-color.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__h2-color.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/heading", - "attrs": { - "textColor": "accent" - }, - "innerBlocks": [], - "innerHTML": "\n

Text

\n", - "innerContent": [ - "\n

Text

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - } + { + "blockName": "core/heading", + "attrs": { + "textColor": "accent" + }, + "innerBlocks": [], + "innerHTML": "\n

Text

\n", + "innerContent": [ + "\n

Text

\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ "\n\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__h2.json b/packages/e2e-tests/fixtures/blocks/core__heading__h2.json index f2073ff78bd43d..e739a6c5071bcf 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__h2.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__h2.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/heading", - "isValid": true, - "attributes": { - "content": "A picture is worth a thousand words, or so the saying goes", - "level": 2 - }, - "innerBlocks": [], - "originalContent": "

A picture is worth a thousand words, or so the saying goes

" - } + { + "clientId": "_clientId_0", + "name": "core/heading", + "isValid": true, + "attributes": { + "content": "A picture is worth a thousand words, or so the saying goes", + "level": 2 + }, + "innerBlocks": [], + "originalContent": "

A picture is worth a thousand words, or so the saying goes

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__h2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__h2.parsed.json index be6bc63b316dea..6004489f1c4ddf 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__h2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__h2.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/heading", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n

A picture is worth a thousand words, or so the saying goes

\n", - "innerContent": [ - "\n

A picture is worth a thousand words, or so the saying goes

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/heading", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n

A picture is worth a thousand words, or so the saying goes

\n", + "innerContent": [ + "\n

A picture is worth a thousand words, or so the saying goes

\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__h4-em.json b/packages/e2e-tests/fixtures/blocks/core__heading__h4-em.json index 32985e4bb53c85..1d5d483e327e05 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__h4-em.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__h4-em.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/heading", - "isValid": true, - "attributes": { - "content": "The Inserter Tool", - "level": 4 - }, - "innerBlocks": [], - "originalContent": "

The Inserter Tool

" - } + { + "clientId": "_clientId_0", + "name": "core/heading", + "isValid": true, + "attributes": { + "content": "The Inserter Tool", + "level": 4 + }, + "innerBlocks": [], + "originalContent": "

The Inserter Tool

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading__h4-em.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading__h4-em.parsed.json index 302248c57f6311..2cf0f8deabcb36 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading__h4-em.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading__h4-em.parsed.json @@ -1,22 +1,18 @@ [ - { - "blockName": "core/heading", - "attrs": { - "level": 4 - }, - "innerBlocks": [], - "innerHTML": "\n

The Inserter Tool

\n", - "innerContent": [ - "\n

The Inserter Tool

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/heading", + "attrs": { + "level": 4 + }, + "innerBlocks": [], + "innerHTML": "\n

The Inserter Tool

\n", + "innerContent": [ "\n

The Inserter Tool

\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading_align-textalign.json b/packages/e2e-tests/fixtures/blocks/core__heading_align-textalign.json index 9abe9198729863..c5317d4bbe0725 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading_align-textalign.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading_align-textalign.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/heading", - "isValid": true, - "attributes": { - "textAlign": "center", - "content": "Text", - "level": 2, - "align": "wide" - }, - "innerBlocks": [], - "originalContent": "

Text

" - } + { + "clientId": "_clientId_0", + "name": "core/heading", + "isValid": true, + "attributes": { + "textAlign": "center", + "content": "Text", + "level": 2, + "align": "wide" + }, + "innerBlocks": [], + "originalContent": "

Text

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__heading_align-textalign.parsed.json b/packages/e2e-tests/fixtures/blocks/core__heading_align-textalign.parsed.json index 1fda665f957834..01ef59423954d5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__heading_align-textalign.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__heading_align-textalign.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/heading", - "attrs": { - "textAlign": "center", - "align": "wide" - }, - "innerBlocks": [], - "innerHTML": "\n

Text

\n", - "innerContent": [ - "\n

Text

\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/heading", + "attrs": { + "textAlign": "center", + "align": "wide" + }, + "innerBlocks": [], + "innerHTML": "\n

Text

\n", + "innerContent": [ + "\n

Text

\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__html.json b/packages/e2e-tests/fixtures/blocks/core__html.json index cd7cf91f03cdc9..daa68d42271344 100644 --- a/packages/e2e-tests/fixtures/blocks/core__html.json +++ b/packages/e2e-tests/fixtures/blocks/core__html.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/html", - "isValid": true, - "attributes": { - "content": "

Some HTML code

\nThis text will scroll from right to left" - }, - "innerBlocks": [], - "originalContent": "

Some HTML code

\nThis text will scroll from right to left" - } + { + "clientId": "_clientId_0", + "name": "core/html", + "isValid": true, + "attributes": { + "content": "

Some HTML code

\nThis text will scroll from right to left" + }, + "innerBlocks": [], + "originalContent": "

Some HTML code

\nThis text will scroll from right to left" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__html.parsed.json b/packages/e2e-tests/fixtures/blocks/core__html.parsed.json index adb0cd44b33672..820e7aa0ac6ff5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__html.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__html.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/html", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n

Some HTML code

\nThis text will scroll from right to left\n", - "innerContent": [ - "\n

Some HTML code

\nThis text will scroll from right to left\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/html", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n

Some HTML code

\nThis text will scroll from right to left\n", + "innerContent": [ + "\n

Some HTML code

\nThis text will scroll from right to left\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image.json b/packages/e2e-tests/fixtures/blocks/core__image.json index 1650156649dadf..ff5ecc01d61220 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image.json +++ b/packages/e2e-tests/fixtures/blocks/core__image.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "" - }, - "innerBlocks": [], - "originalContent": "
\"\"
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "" + }, + "innerBlocks": [], + "originalContent": "
\"\"
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image.parsed.json index 37fc14fff50756..d1d2329b6b8715 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/image", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
\"\"
\n", - "innerContent": [ - "\n
\"\"
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
\"\"
\n", + "innerContent": [ + "\n
\"\"
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.json b/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.json index 9a82085c205eed..f5f8475b121832 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.json @@ -1,16 +1,16 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "", - "href": "http://localhost:8888/?attachment_id=7", - "linkDestination": "attachment" - }, - "innerBlocks": [], - "originalContent": "
\"\"
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "", + "href": "http://localhost:8888/?attachment_id=7", + "linkDestination": "attachment" + }, + "innerBlocks": [], + "originalContent": "
\"\"
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.parsed.json index 26278ee5b85a1d..08cfcb5a663fee 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__attachment-link.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/image", - "attrs": { - "linkDestination": "attachment" - }, - "innerBlocks": [], - "innerHTML": "\n
\"\"
\n", - "innerContent": [ - "\n
\"\"
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "linkDestination": "attachment" + }, + "innerBlocks": [], + "innerHTML": "\n
\"\"
\n", + "innerContent": [ + "\n
\"\"
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__center-caption.json b/packages/e2e-tests/fixtures/blocks/core__image__center-caption.json index 174eba0a63e366..18e6e15fabe89c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__center-caption.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__center-caption.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "align": "center", - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "Give it a try. Press the \"really wide\" button on the image toolbar." - }, - "innerBlocks": [], - "originalContent": "
\"\"
Give it a try. Press the "really wide" button on the image toolbar.
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "align": "center", + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "Give it a try. Press the \"really wide\" button on the image toolbar." + }, + "innerBlocks": [], + "originalContent": "
\"\"
Give it a try. Press the "really wide" button on the image toolbar.
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__center-caption.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__center-caption.parsed.json index f7b2a79de72144..92cd1d6f284928 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__center-caption.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__center-caption.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/image", - "attrs": { - "align": "center" - }, - "innerBlocks": [], - "innerHTML": "\n
\"\"
Give it a try. Press the "really wide" button on the image toolbar.
\n", - "innerContent": [ - "\n
\"\"
Give it a try. Press the "really wide" button on the image toolbar.
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "align": "center" + }, + "innerBlocks": [], + "innerHTML": "\n
\"\"
Give it a try. Press the "really wide" button on the image toolbar.
\n", + "innerContent": [ + "\n
\"\"
Give it a try. Press the "really wide" button on the image toolbar.
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.json index 173999d24f169a..bd208ded7e4760 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.json @@ -1,17 +1,17 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "", - "href": "https://wordpress.org/", - "linkClass": "custom-link", - "linkDestination": "custom" - }, - "innerBlocks": [], - "originalContent": "
\"\"
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "", + "href": "https://wordpress.org/", + "linkClass": "custom-link", + "linkDestination": "custom" + }, + "innerBlocks": [], + "originalContent": "
\"\"
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.parsed.json index 0d8664f1e15489..32ab9ebe3f0bb5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-class.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/image", - "attrs": { - "linkDestination": "custom" - }, - "innerBlocks": [], - "innerHTML": "\n
\"\"
\n", - "innerContent": [ - "\n
\"\"
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "linkDestination": "custom" + }, + "innerBlocks": [], + "innerHTML": "\n
\"\"
\n", + "innerContent": [ + "\n
\"\"
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.json index c877e3cc5e4bd2..1d4ae7bfcc0101 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.json @@ -1,17 +1,17 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "", - "href": "https://wordpress.org/", - "rel": "external", - "linkDestination": "custom" - }, - "innerBlocks": [], - "originalContent": "
\"\"
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "", + "href": "https://wordpress.org/", + "rel": "external", + "linkDestination": "custom" + }, + "innerBlocks": [], + "originalContent": "
\"\"
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.parsed.json index 7fa19efad7f21f..5748aa0baa11a5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__custom-link-rel.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/image", - "attrs": { - "linkDestination": "custom" - }, - "innerBlocks": [], - "innerHTML": "\n
\"\"
\n", - "innerContent": [ - "\n
\"\"
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "linkDestination": "custom" + }, + "innerBlocks": [], + "innerHTML": "\n
\"\"
\n", + "innerContent": [ + "\n
\"\"
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__custom-link.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link.json index 58ac7320330cf2..a7e49f51d48ace 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__custom-link.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__custom-link.json @@ -1,16 +1,16 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "", - "href": "https://wordpress.org/", - "linkDestination": "custom" - }, - "innerBlocks": [], - "originalContent": "
\"\"
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "", + "href": "https://wordpress.org/", + "linkDestination": "custom" + }, + "innerBlocks": [], + "originalContent": "
\"\"
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__custom-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__custom-link.parsed.json index 7817fc00fdeaf2..cc55957fc8a91b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__custom-link.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__custom-link.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/image", - "attrs": { - "linkDestination": "custom" - }, - "innerBlocks": [], - "innerHTML": "\n
\"\"
\n", - "innerContent": [ - "\n
\"\"
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "linkDestination": "custom" + }, + "innerBlocks": [], + "innerHTML": "\n
\"\"
\n", + "innerContent": [ + "\n
\"\"
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-1.json index 904153083e94b5..0e9a391848dee8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-1.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "align": "left", - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "" - }, - "innerBlocks": [], - "originalContent": "
\n\t\"\"\n
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "align": "left", + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "" + }, + "innerBlocks": [], + "originalContent": "
\n\t\"\"\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-1.parsed.json index 1bb1a6ba234c46..8de9960d203449 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-1.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/image", - "attrs": { - "align": "left" - }, - "innerBlocks": [], - "innerHTML": "\n
\n\t\"\"\n
\n", - "innerContent": [ - "\n
\n\t\"\"\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "align": "left" + }, + "innerBlocks": [], + "innerHTML": "\n
\n\t\"\"\n
\n", + "innerContent": [ + "\n
\n\t\"\"\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-2.json b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-2.json index 65106d9000e176..05fbfa57f51fef 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-2.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-2.json @@ -1,17 +1,17 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "align": "left", - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "", - "width": 100, - "height": 100 - }, - "innerBlocks": [], - "originalContent": "
\n\t\"\"\n
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "align": "left", + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "", + "width": 100, + "height": 100 + }, + "innerBlocks": [], + "originalContent": "
\n\t\"\"\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-2.parsed.json index 02c54b013d378a..3519f90e13af79 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-2.parsed.json @@ -1,24 +1,22 @@ [ - { - "blockName": "core/image", - "attrs": { - "align": "left", - "height": 100, - "width": 100 - }, - "innerBlocks": [], - "innerHTML": "\n
\n\t\"\"\n
\n", - "innerContent": [ - "\n
\n\t\"\"\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "align": "left", + "height": 100, + "width": 100 + }, + "innerBlocks": [], + "innerHTML": "\n
\n\t\"\"\n
\n", + "innerContent": [ + "\n
\n\t\"\"\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-3.json b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-3.json index eaf76455e82e9d..15a026401d5548 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-3.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-3.json @@ -1,17 +1,17 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "align": "left", - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "", - "width": 100, - "height": 100 - }, - "innerBlocks": [], - "originalContent": "
\n\t\"\"\n
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "align": "left", + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "", + "width": 100, + "height": 100 + }, + "innerBlocks": [], + "originalContent": "
\n\t\"\"\n
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-3.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-3.parsed.json index 00094831d08522..735eef61dfbe18 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__deprecated-3.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__deprecated-3.parsed.json @@ -1,24 +1,22 @@ [ - { - "blockName": "core/image", - "attrs": { - "align": "left", - "height": 100, - "width": 100 - }, - "innerBlocks": [], - "innerHTML": "\n
\n\t\"\"\n
\n", - "innerContent": [ - "\n
\n\t\"\"\n
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "align": "left", + "height": 100, + "width": 100 + }, + "innerBlocks": [], + "innerHTML": "\n
\n\t\"\"\n
\n", + "innerContent": [ + "\n
\n\t\"\"\n
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__media-link.json b/packages/e2e-tests/fixtures/blocks/core__image__media-link.json index 18be10b3db12b2..9517981e0032f1 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__media-link.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__media-link.json @@ -1,16 +1,16 @@ [ - { - "clientId": "_clientId_0", - "name": "core/image", - "isValid": true, - "attributes": { - "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "alt": "", - "caption": "", - "href": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", - "linkDestination": "media" - }, - "innerBlocks": [], - "originalContent": "
\"\"
" - } + { + "clientId": "_clientId_0", + "name": "core/image", + "isValid": true, + "attributes": { + "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "alt": "", + "caption": "", + "href": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", + "linkDestination": "media" + }, + "innerBlocks": [], + "originalContent": "
\"\"
" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__image__media-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__image__media-link.parsed.json index 8ae21f34994eeb..06619d4feafc12 100644 --- a/packages/e2e-tests/fixtures/blocks/core__image__media-link.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__image__media-link.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/image", - "attrs": { - "linkDestination": "media" - }, - "innerBlocks": [], - "innerHTML": "\n
\"\"
\n", - "innerContent": [ - "\n
\"\"
\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/image", + "attrs": { + "linkDestination": "media" + }, + "innerBlocks": [], + "innerHTML": "\n
\"\"
\n", + "innerContent": [ + "\n
\"\"
\n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.json b/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.json index 91dc39fca892aa..8654c85d891ca8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.json +++ b/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/freeform", - "isValid": true, - "attributes": { - "content": "

" - }, - "innerBlocks": [], - "originalContent": "

" - } + { + "clientId": "_clientId_0", + "name": "core/freeform", + "isValid": true, + "attributes": { + "content": "

" + }, + "innerBlocks": [], + "originalContent": "

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.parsed.json b/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.parsed.json index cbfafc27db9e92..eb949d44e3aed6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__invalid-Capitals.parsed.json @@ -1,11 +1,9 @@ [ - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__invalid-special.json b/packages/e2e-tests/fixtures/blocks/core__invalid-special.json index cd026a2a3c4056..af9d5eb5e79fb2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__invalid-special.json +++ b/packages/e2e-tests/fixtures/blocks/core__invalid-special.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/freeform", - "isValid": true, - "attributes": { - "content": "

" - }, - "innerBlocks": [], - "originalContent": "

" - } + { + "clientId": "_clientId_0", + "name": "core/freeform", + "isValid": true, + "attributes": { + "content": "

" + }, + "innerBlocks": [], + "originalContent": "

" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__invalid-special.parsed.json b/packages/e2e-tests/fixtures/blocks/core__invalid-special.parsed.json index 05b96f6deb2fc8..3f4fd05fce720a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__invalid-special.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__invalid-special.parsed.json @@ -1,11 +1,9 @@ [ - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__latest-comments.json b/packages/e2e-tests/fixtures/blocks/core__latest-comments.json index a4558772762f20..3396987bd70dc8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__latest-comments.json +++ b/packages/e2e-tests/fixtures/blocks/core__latest-comments.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/latest-comments", - "isValid": true, - "attributes": { - "commentsToShow": 5, - "displayAvatar": true, - "displayDate": true, - "displayExcerpt": true - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/latest-comments", + "isValid": true, + "attributes": { + "commentsToShow": 5, + "displayAvatar": true, + "displayDate": true, + "displayExcerpt": true + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__latest-comments.parsed.json b/packages/e2e-tests/fixtures/blocks/core__latest-comments.parsed.json index b7a0e614220d8f..82e8df29a9721c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__latest-comments.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__latest-comments.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/latest-comments", - "attrs": { - "displayAvatar": true, - "displayExcerpt": true, - "displayTimestamp": true - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/latest-comments", + "attrs": { + "displayAvatar": true, + "displayExcerpt": true, + "displayTimestamp": true + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__latest-posts.json b/packages/e2e-tests/fixtures/blocks/core__latest-posts.json index 3a2fbedad6e8f1..277eb6b63a38b5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__latest-posts.json +++ b/packages/e2e-tests/fixtures/blocks/core__latest-posts.json @@ -1,26 +1,26 @@ [ - { - "clientId": "_clientId_0", - "name": "core/latest-posts", - "isValid": true, - "attributes": { - "postsToShow": 5, - "displayPostContent": false, - "displayPostContentRadio": "excerpt", - "excerptLength": 55, - "displayAuthor": false, - "displayPostDate": false, - "postLayout": "list", - "columns": 3, - "order": "desc", - "orderBy": "date", - "displayFeaturedImage": false, - "featuredImageSizeSlug": "thumbnail", - "featuredImageSizeWidth": null, - "featuredImageSizeHeight": null, - "addLinkToFeaturedImage": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/latest-posts", + "isValid": true, + "attributes": { + "postsToShow": 5, + "displayPostContent": false, + "displayPostContentRadio": "excerpt", + "excerptLength": 55, + "displayAuthor": false, + "displayPostDate": false, + "postLayout": "list", + "columns": 3, + "order": "desc", + "orderBy": "date", + "displayFeaturedImage": false, + "featuredImageSizeSlug": "thumbnail", + "featuredImageSizeWidth": null, + "featuredImageSizeHeight": null, + "addLinkToFeaturedImage": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__latest-posts.parsed.json b/packages/e2e-tests/fixtures/blocks/core__latest-posts.parsed.json index 6c81057102a159..0213cf6d59ac16 100644 --- a/packages/e2e-tests/fixtures/blocks/core__latest-posts.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__latest-posts.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/latest-posts", - "attrs": { - "postsToShow": 5, - "displayAuthor": false, - "displayPostDate": false - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/latest-posts", + "attrs": { + "postsToShow": 5, + "displayAuthor": false, + "displayPostDate": false + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.json b/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.json index 5a0e2d328f7148..9f9b5784eb74c2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.json +++ b/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.json @@ -1,26 +1,26 @@ [ - { - "clientId": "_clientId_0", - "name": "core/latest-posts", - "isValid": true, - "attributes": { - "postsToShow": 5, - "displayPostContent": false, - "displayPostContentRadio": "excerpt", - "excerptLength": 55, - "displayAuthor": false, - "displayPostDate": true, - "postLayout": "list", - "columns": 3, - "order": "desc", - "orderBy": "date", - "displayFeaturedImage": false, - "featuredImageSizeSlug": "thumbnail", - "featuredImageSizeWidth": null, - "featuredImageSizeHeight": null, - "addLinkToFeaturedImage": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/latest-posts", + "isValid": true, + "attributes": { + "postsToShow": 5, + "displayPostContent": false, + "displayPostContentRadio": "excerpt", + "excerptLength": 55, + "displayAuthor": false, + "displayPostDate": true, + "postLayout": "list", + "columns": 3, + "order": "desc", + "orderBy": "date", + "displayFeaturedImage": false, + "featuredImageSizeSlug": "thumbnail", + "featuredImageSizeWidth": null, + "featuredImageSizeHeight": null, + "addLinkToFeaturedImage": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.parsed.json b/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.parsed.json index 57a36f5dce8b81..30bcc61bdd3bbc 100644 --- a/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__latest-posts__displayPostDate.parsed.json @@ -1,21 +1,19 @@ [ - { - "blockName": "core/latest-posts", - "attrs": { - "postsToShow": 5, - "displayPostDate": true - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/latest-posts", + "attrs": { + "postsToShow": 5, + "displayPostDate": true + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__list__ul.json b/packages/e2e-tests/fixtures/blocks/core__list__ul.json index 17baec7cef1c79..250891fbdc4564 100644 --- a/packages/e2e-tests/fixtures/blocks/core__list__ul.json +++ b/packages/e2e-tests/fixtures/blocks/core__list__ul.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/list", - "isValid": true, - "attributes": { - "ordered": false, - "values": "
  • Text & Headings
  • Images & Videos
  • Galleries
  • Embeds, like YouTube, Tweets, or other WordPress posts.
  • Layout blocks, like Buttons, Hero Images, Separators, etc.
  • And Lists like this one of course :)
  • " - }, - "innerBlocks": [], - "originalContent": "
    • Text & Headings
    • Images & Videos
    • Galleries
    • Embeds, like YouTube, Tweets, or other WordPress posts.
    • Layout blocks, like Buttons, Hero Images, Separators, etc.
    • And Lists like this one of course :)
    " - } + { + "clientId": "_clientId_0", + "name": "core/list", + "isValid": true, + "attributes": { + "ordered": false, + "values": "
  • Text & Headings
  • Images & Videos
  • Galleries
  • Embeds, like YouTube, Tweets, or other WordPress posts.
  • Layout blocks, like Buttons, Hero Images, Separators, etc.
  • And Lists like this one of course :)
  • " + }, + "innerBlocks": [], + "originalContent": "
    • Text & Headings
    • Images & Videos
    • Galleries
    • Embeds, like YouTube, Tweets, or other WordPress posts.
    • Layout blocks, like Buttons, Hero Images, Separators, etc.
    • And Lists like this one of course :)
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__list__ul.parsed.json b/packages/e2e-tests/fixtures/blocks/core__list__ul.parsed.json index 83cb9ff7fc24d9..a586a665e8e3b6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__list__ul.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__list__ul.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/list", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    • Text & Headings
    • Images & Videos
    • Galleries
    • Embeds, like YouTube, Tweets, or other WordPress posts.
    • Layout blocks, like Buttons, Hero Images, Separators, etc.
    • And Lists like this one of course :)
    \n", - "innerContent": [ - "\n
    • Text & Headings
    • Images & Videos
    • Galleries
    • Embeds, like YouTube, Tweets, or other WordPress posts.
    • Layout blocks, like Buttons, Hero Images, Separators, etc.
    • And Lists like this one of course :)
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/list", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    • Text & Headings
    • Images & Videos
    • Galleries
    • Embeds, like YouTube, Tweets, or other WordPress posts.
    • Layout blocks, like Buttons, Hero Images, Separators, etc.
    • And Lists like this one of course :)
    \n", + "innerContent": [ + "\n
    • Text & Headings
    • Images & Videos
    • Galleries
    • Embeds, like YouTube, Tweets, or other WordPress posts.
    • Layout blocks, like Buttons, Hero Images, Separators, etc.
    • And Lists like this one of course :)
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__loginout.json b/packages/e2e-tests/fixtures/blocks/core__loginout.json index 67eaab753bff39..ad94069a3db449 100644 --- a/packages/e2e-tests/fixtures/blocks/core__loginout.json +++ b/packages/e2e-tests/fixtures/blocks/core__loginout.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/loginout", - "isValid": true, - "attributes": { - "displayLoginAsForm": false, - "redirectToCurrent": true - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/loginout", + "isValid": true, + "attributes": { + "displayLoginAsForm": false, + "redirectToCurrent": true + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__loginout.parsed.json b/packages/e2e-tests/fixtures/blocks/core__loginout.parsed.json index 96c310c7e14561..0a910e79d7cb04 100644 --- a/packages/e2e-tests/fixtures/blocks/core__loginout.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__loginout.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/loginout", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/loginout", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text.json b/packages/e2e-tests/fixtures/blocks/core__media-text.json index bd8b846be26d44..813112b7aec5cf 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text.json @@ -1,32 +1,32 @@ [ - { - "clientId": "_clientId_0", - "name": "core/media-text", - "isValid": true, - "attributes": { - "align": "wide", - "mediaAlt": "", - "mediaPosition": "left", - "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "mediaType": "image", - "mediaWidth": 50, - "isStackedOnMobile": true - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "My Content", - "dropCap": false, - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

    My Content

    " - } - ], - "originalContent": "
    \n\t
    \n\t\t\"\"/\n\t
    \n\t
    \n\t\t\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/media-text", + "isValid": true, + "attributes": { + "align": "wide", + "mediaAlt": "", + "mediaPosition": "left", + "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "mediaType": "image", + "mediaWidth": 50, + "isStackedOnMobile": true + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "My Content", + "dropCap": false, + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

    My Content

    " + } + ], + "originalContent": "
    \n\t
    \n\t\t\"\"/\n\t
    \n\t
    \n\t\t\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text.parsed.json index 46cc6d55a8e4a9..da2cf1d7058d9a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text.parsed.json @@ -1,37 +1,35 @@ [ - { - "blockName": "core/media-text", - "attrs": { - "mediaType": "image" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

    My Content

    \n\t\t", - "innerContent": [ - "\n\t\t

    My Content

    \n\t\t" - ] - } - ], - "innerHTML": "\n
    \n\t
    \n\t\t\"\"/\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n\t
    \n\t\t\"\"/\n\t
    \n\t
    \n\t\t", - null, - "\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/media-text", + "attrs": { + "mediaType": "image" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

    My Content

    \n\t\t", + "innerContent": [ + "\n\t\t

    My Content

    \n\t\t" + ] + } + ], + "innerHTML": "\n
    \n\t
    \n\t\t\"\"/\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n\t
    \n\t\t\"\"/\n\t
    \n\t
    \n\t\t", + null, + "\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.json b/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.json index e2f56f1247fa29..150039d16d9ff6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.json @@ -1,32 +1,32 @@ [ - { - "clientId": "_clientId_0", - "name": "core/media-text", - "isValid": true, - "attributes": { - "align": "none", - "mediaAlt": "my alt", - "mediaPosition": "left", - "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "mediaType": "image", - "mediaWidth": 50, - "isStackedOnMobile": true - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Content", - "dropCap": false, - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

    Content

    " - } - ], - "originalContent": "
    \n\t
    \n\t\t\"my\n\t
    \n\t
    \n\t\t\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/media-text", + "isValid": true, + "attributes": { + "align": "none", + "mediaAlt": "my alt", + "mediaPosition": "left", + "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "mediaType": "image", + "mediaWidth": 50, + "isStackedOnMobile": true + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Content", + "dropCap": false, + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

    Content

    " + } + ], + "originalContent": "
    \n\t
    \n\t\t\"my\n\t
    \n\t
    \n\t\t\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.parsed.json index 4ef7be8da0c197..61a4b1d937a662 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__image-alt-no-align.parsed.json @@ -1,38 +1,36 @@ [ - { - "blockName": "core/media-text", - "attrs": { - "align": "none", - "mediaType": "image" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

    Content

    \n\t\t", - "innerContent": [ - "\n\t\t

    Content

    \n\t\t" - ] - } - ], - "innerHTML": "\n
    \n\t
    \n\t\t\"my\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n\t
    \n\t\t\"my\n\t
    \n\t
    \n\t\t", - null, - "\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/media-text", + "attrs": { + "align": "none", + "mediaType": "image" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

    Content

    \n\t\t", + "innerContent": [ + "\n\t\t

    Content

    \n\t\t" + ] + } + ], + "innerHTML": "\n
    \n\t
    \n\t\t\"my\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n\t
    \n\t\t\"my\n\t
    \n\t
    \n\t\t", + null, + "\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.json b/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.json index d26db91720248e..0d681e954b7a87 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.json @@ -1,33 +1,33 @@ [ - { - "clientId": "_clientId_0", - "name": "core/media-text", - "isValid": true, - "attributes": { - "align": "wide", - "mediaAlt": "My alt text", - "mediaPosition": "left", - "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "mediaType": "image", - "mediaWidth": 50, - "isStackedOnMobile": true, - "imageFill": true - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "My Content", - "dropCap": false, - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

    My Content

    " - } - ], - "originalContent": "
    \n\t
    \n\t\t
    \n\t
    \n\t\t\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/media-text", + "isValid": true, + "attributes": { + "align": "wide", + "mediaAlt": "My alt text", + "mediaPosition": "left", + "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "mediaType": "image", + "mediaWidth": 50, + "isStackedOnMobile": true, + "imageFill": true + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "My Content", + "dropCap": false, + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

    My Content

    " + } + ], + "originalContent": "
    \n\t
    \n\t\t
    \n\t
    \n\t\t\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.parsed.json index da39aa75e10e6d..a0596aa5247e2a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-no-focal-point-selected.parsed.json @@ -1,38 +1,36 @@ [ - { - "blockName": "core/media-text", - "attrs": { - "mediaType": "image", - "imageFill": true - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

    My Content

    \n\t\t", - "innerContent": [ - "\n\t\t

    My Content

    \n\t\t" - ] - } - ], - "innerHTML": "\n
    \n\t
    \n\t\t
    \n\t
    \n\t\t\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n\t
    \n\t\t
    \n\t
    \n\t\t", - null, - "\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/media-text", + "attrs": { + "mediaType": "image", + "imageFill": true + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

    My Content

    \n\t\t", + "innerContent": [ + "\n\t\t

    My Content

    \n\t\t" + ] + } + ], + "innerHTML": "\n
    \n\t
    \n\t\t
    \n\t
    \n\t\t\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n\t
    \n\t\t
    \n\t
    \n\t\t", + null, + "\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.json b/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.json index ddad25b63304f9..adccdf6cf8f409 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.json @@ -1,37 +1,37 @@ [ - { - "clientId": "_clientId_0", - "name": "core/media-text", - "isValid": true, - "attributes": { - "align": "wide", - "mediaAlt": "My alt text", - "mediaPosition": "left", - "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "mediaType": "image", - "mediaWidth": 50, - "isStackedOnMobile": true, - "imageFill": true, - "focalPoint": { - "x": 0.8470588235294118, - "y": 0.8470588235294118 - } - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "My Content", - "dropCap": false, - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

    My Content

    " - } - ], - "originalContent": "
    \n\t
    \n\t\t
    \n\t
    \n\t\t\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/media-text", + "isValid": true, + "attributes": { + "align": "wide", + "mediaAlt": "My alt text", + "mediaPosition": "left", + "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "mediaType": "image", + "mediaWidth": 50, + "isStackedOnMobile": true, + "imageFill": true, + "focalPoint": { + "x": 0.8470588235294118, + "y": 0.8470588235294118 + } + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "My Content", + "dropCap": false, + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

    My Content

    " + } + ], + "originalContent": "
    \n\t
    \n\t\t
    \n\t
    \n\t\t\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.parsed.json index c29fdfb16d052f..9c7734a794a17c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__image-fill-with-focal-point-selected.parsed.json @@ -1,42 +1,40 @@ [ - { - "blockName": "core/media-text", - "attrs": { - "mediaType": "image", - "imageFill": true, - "focalPoint": { - "x": 0.8470588235294118, - "y": 0.8470588235294118 - } - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

    My Content

    \n\t\t", - "innerContent": [ - "\n\t\t

    My Content

    \n\t\t" - ] - } - ], - "innerHTML": "\n
    \n\t
    \n\t\t
    \n\t
    \n\t\t\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n\t
    \n\t\t
    \n\t
    \n\t\t", - null, - "\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/media-text", + "attrs": { + "mediaType": "image", + "imageFill": true, + "focalPoint": { + "x": 0.8470588235294118, + "y": 0.8470588235294118 + } + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

    My Content

    \n\t\t", + "innerContent": [ + "\n\t\t

    My Content

    \n\t\t" + ] + } + ], + "innerHTML": "\n
    \n\t
    \n\t\t
    \n\t
    \n\t\t\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n\t
    \n\t\t
    \n\t
    \n\t\t", + null, + "\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.json b/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.json index 6eda0841d390c0..02b84e167b0c8e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.json @@ -1,32 +1,32 @@ [ - { - "clientId": "_clientId_0", - "name": "core/media-text", - "isValid": true, - "attributes": { - "align": "wide", - "mediaAlt": "", - "mediaPosition": "left", - "mediaUrl": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "mediaType": "video", - "mediaWidth": 50, - "isStackedOnMobile": true - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "My Content", - "dropCap": false, - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

    My Content

    " - } - ], - "originalContent": "
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/media-text", + "isValid": true, + "attributes": { + "align": "wide", + "mediaAlt": "", + "mediaPosition": "left", + "mediaUrl": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "mediaType": "video", + "mediaWidth": 50, + "isStackedOnMobile": true + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "My Content", + "dropCap": false, + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

    My Content

    " + } + ], + "originalContent": "
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.parsed.json index 2a71bb6fe1a9e7..2310fa5ddacc5e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__is-stacked-on-mobile.parsed.json @@ -1,38 +1,36 @@ [ - { - "blockName": "core/media-text", - "attrs": { - "mediaType": "video", - "isStackedOnMobile": true - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

    My Content

    \n\t\t", - "innerContent": [ - "\n\t\t

    My Content

    \n\t\t" - ] - } - ], - "innerHTML": "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t", - null, - "\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/media-text", + "attrs": { + "mediaType": "video", + "isStackedOnMobile": true + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

    My Content

    \n\t\t", + "innerContent": [ + "\n\t\t

    My Content

    \n\t\t" + ] + } + ], + "innerHTML": "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t", + null, + "\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.json b/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.json index 4232005c1a66f9..7dac0dcf6491bf 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.json @@ -1,33 +1,33 @@ [ - { - "clientId": "_clientId_0", - "name": "core/media-text", - "isValid": true, - "attributes": { - "align": "full", - "mediaAlt": "", - "mediaPosition": "right", - "mediaUrl": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "mediaType": "video", - "mediaWidth": 41, - "isStackedOnMobile": true - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "right", - "content": "My video", - "dropCap": false, - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

    My video

    " - } - ], - "originalContent": "
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/media-text", + "isValid": true, + "attributes": { + "align": "full", + "mediaAlt": "", + "mediaPosition": "right", + "mediaUrl": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "mediaType": "video", + "mediaWidth": 41, + "isStackedOnMobile": true + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "right", + "content": "My video", + "dropCap": false, + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

    My video

    " + } + ], + "originalContent": "
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.parsed.json index 70390ab287d77e..a8dd8a7b71174b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__media-right-custom-width.parsed.json @@ -1,41 +1,39 @@ [ - { - "blockName": "core/media-text", - "attrs": { - "align": "full", - "mediaPosition": "right", - "mediaType": "video", - "mediaWidth": 41 - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "right", - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

    My video

    \n\t\t", - "innerContent": [ - "\n\t\t

    My video

    \n\t\t" - ] - } - ], - "innerHTML": "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t", - null, - "\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/media-text", + "attrs": { + "align": "full", + "mediaPosition": "right", + "mediaType": "video", + "mediaWidth": 41 + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "align": "right", + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

    My video

    \n\t\t", + "innerContent": [ + "\n\t\t

    My video

    \n\t\t" + ] + } + ], + "innerHTML": "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t", + null, + "\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__vertical-align-bottom.json b/packages/e2e-tests/fixtures/blocks/core__media-text__vertical-align-bottom.json index 6907c6d23b29ca..0cd4f85094f60c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__vertical-align-bottom.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__vertical-align-bottom.json @@ -1,33 +1,33 @@ [ - { - "clientId": "_clientId_0", - "name": "core/media-text", - "isValid": true, - "attributes": { - "align": "wide", - "mediaAlt": "My alt text", - "mediaPosition": "left", - "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", - "mediaType": "image", - "mediaWidth": 50, - "isStackedOnMobile": true, - "verticalAlignment": "bottom" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "My content", - "dropCap": false, - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

    My content

    " - } - ], - "originalContent": "
    \n\t
    \n\t
    \n\t\t\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/media-text", + "isValid": true, + "attributes": { + "align": "wide", + "mediaAlt": "My alt text", + "mediaPosition": "left", + "mediaUrl": "data:image/jpeg;base64,/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=", + "mediaType": "image", + "mediaWidth": 50, + "isStackedOnMobile": true, + "verticalAlignment": "bottom" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "My content", + "dropCap": false, + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

    My content

    " + } + ], + "originalContent": "
    \n\t
    \n\t
    \n\t\t\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__vertical-align-bottom.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__vertical-align-bottom.parsed.json index ea96a5f8485aa3..d7c2fcd7e41ae9 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__vertical-align-bottom.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__vertical-align-bottom.parsed.json @@ -1,38 +1,36 @@ [ - { - "blockName": "core/media-text", - "attrs": { - "mediaType": "image", - "verticalAlignment": "bottom" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

    My content

    \n\t\t", - "innerContent": [ - "\n\t\t

    My content

    \n\t\t" - ] - } - ], - "innerHTML": "\n
    \n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n\t
    \n\t
    \n\t\t", - null, - "\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/media-text", + "attrs": { + "mediaType": "image", + "verticalAlignment": "bottom" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

    My content

    \n\t\t", + "innerContent": [ + "\n\t\t

    My content

    \n\t\t" + ] + } + ], + "innerHTML": "\n
    \n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n\t
    \n\t
    \n\t\t", + null, + "\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__video.json b/packages/e2e-tests/fixtures/blocks/core__media-text__video.json index c3c9b460bf619b..853cac07f43d02 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__video.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__video.json @@ -1,32 +1,32 @@ [ - { - "clientId": "_clientId_0", - "name": "core/media-text", - "isValid": true, - "attributes": { - "align": "wide", - "mediaAlt": "", - "mediaPosition": "left", - "mediaUrl": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "mediaType": "video", - "mediaWidth": 50, - "isStackedOnMobile": true - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "My Content", - "dropCap": false, - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "originalContent": "

    My Content

    " - } - ], - "originalContent": "
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/media-text", + "isValid": true, + "attributes": { + "align": "wide", + "mediaAlt": "", + "mediaPosition": "left", + "mediaUrl": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "mediaType": "video", + "mediaWidth": 50, + "isStackedOnMobile": true + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "My Content", + "dropCap": false, + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "originalContent": "

    My Content

    " + } + ], + "originalContent": "
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__media-text__video.parsed.json b/packages/e2e-tests/fixtures/blocks/core__media-text__video.parsed.json index 62af48e066b0dd..6ac6accccb9a3e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__media-text__video.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__media-text__video.parsed.json @@ -1,37 +1,35 @@ [ - { - "blockName": "core/media-text", - "attrs": { - "mediaType": "video" - }, - "innerBlocks": [ - { - "blockName": "core/paragraph", - "attrs": { - "placeholder": "Content…", - "fontSize": "large" - }, - "innerBlocks": [], - "innerHTML": "\n\t\t

    My Content

    \n\t\t", - "innerContent": [ - "\n\t\t

    My Content

    \n\t\t" - ] - } - ], - "innerHTML": "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t", - null, - "\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/media-text", + "attrs": { + "mediaType": "video" + }, + "innerBlocks": [ + { + "blockName": "core/paragraph", + "attrs": { + "placeholder": "Content…", + "fontSize": "large" + }, + "innerBlocks": [], + "innerHTML": "\n\t\t

    My Content

    \n\t\t", + "innerContent": [ + "\n\t\t

    My Content

    \n\t\t" + ] + } + ], + "innerHTML": "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n\t
    \n\t\t\n\t
    \n\t
    \n\t\t", + null, + "\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__missing.json b/packages/e2e-tests/fixtures/blocks/core__missing.json index f7499ca71d4ccd..c61b9b3ed8857f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__missing.json +++ b/packages/e2e-tests/fixtures/blocks/core__missing.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/missing", - "isValid": true, - "attributes": { - "originalName": "unregistered/example", - "originalUndelimitedContent": "

    Testing missing block with some

    \n
    \n\tHTML content\n
    ", - "originalContent": "\n

    Testing missing block with some

    \n
    \n\tHTML content\n
    \n" - }, - "innerBlocks": [], - "originalContent": "\n

    Testing missing block with some

    \n
    \n\tHTML content\n
    \n" - } + { + "clientId": "_clientId_0", + "name": "core/missing", + "isValid": true, + "attributes": { + "originalName": "unregistered/example", + "originalUndelimitedContent": "

    Testing missing block with some

    \n
    \n\tHTML content\n
    ", + "originalContent": "\n

    Testing missing block with some

    \n
    \n\tHTML content\n
    \n" + }, + "innerBlocks": [], + "originalContent": "\n

    Testing missing block with some

    \n
    \n\tHTML content\n
    \n" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__missing.parsed.json b/packages/e2e-tests/fixtures/blocks/core__missing.parsed.json index 59d7fb99eb59d4..c07503f7d61547 100644 --- a/packages/e2e-tests/fixtures/blocks/core__missing.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__missing.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "unregistered/example", - "attrs": { - "attr1": "One", - "attr2": "Two" - }, - "innerBlocks": [], - "innerHTML": "\n

    Testing missing block with some

    \n
    \n\tHTML content\n
    \n", - "innerContent": [ - "\n

    Testing missing block with some

    \n
    \n\tHTML content\n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "unregistered/example", + "attrs": { + "attr1": "One", + "attr2": "Two" + }, + "innerBlocks": [], + "innerHTML": "\n

    Testing missing block with some

    \n
    \n\tHTML content\n
    \n", + "innerContent": [ + "\n

    Testing missing block with some

    \n
    \n\tHTML content\n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__more.json b/packages/e2e-tests/fixtures/blocks/core__more.json index 886638ab06e05a..2ef859d9ef331a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__more.json +++ b/packages/e2e-tests/fixtures/blocks/core__more.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/more", - "isValid": true, - "attributes": { - "noTeaser": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/more", + "isValid": true, + "attributes": { + "noTeaser": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__more.parsed.json b/packages/e2e-tests/fixtures/blocks/core__more.parsed.json index 624431c0413032..3e0452e4ef698e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__more.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__more.parsed.json @@ -1,20 +1,16 @@ [ - { - "blockName": "core/more", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/more", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ "\n\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.json b/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.json index 7f7811e0d1a543..41b8575c61beef 100644 --- a/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.json +++ b/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/more", - "isValid": true, - "attributes": { - "customText": "Continue Reading", - "noTeaser": true - }, - "innerBlocks": [], - "originalContent": "\n" - } + { + "clientId": "_clientId_0", + "name": "core/more", + "isValid": true, + "attributes": { + "customText": "Continue Reading", + "noTeaser": true + }, + "innerBlocks": [], + "originalContent": "\n" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.parsed.json b/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.parsed.json index c58996ee1ef1c3..04bef74ce53884 100644 --- a/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__more__custom-text-teaser.parsed.json @@ -1,23 +1,19 @@ [ - { - "blockName": "core/more", - "attrs": { - "customText": "Continue Reading", - "noTeaser": true - }, - "innerBlocks": [], - "innerHTML": "\n\n\n", - "innerContent": [ - "\n\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/more", + "attrs": { + "customText": "Continue Reading", + "noTeaser": true + }, + "innerBlocks": [], + "innerHTML": "\n\n\n", + "innerContent": [ "\n\n\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__navigation-link.json b/packages/e2e-tests/fixtures/blocks/core__navigation-link.json index b2715153af1f5b..74e2e2d328f47d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__navigation-link.json +++ b/packages/e2e-tests/fixtures/blocks/core__navigation-link.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/navigation-link", - "isValid": true, - "attributes": { - "label": "WordPress", - "opensInNewTab": false, - "url": "https://wordpress.org/" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/navigation-link", + "isValid": true, + "attributes": { + "label": "WordPress", + "opensInNewTab": false, + "url": "https://wordpress.org/" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__navigation-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__navigation-link.parsed.json index a2e566639cc57d..8815be9e720dd4 100644 --- a/packages/e2e-tests/fixtures/blocks/core__navigation-link.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__navigation-link.parsed.json @@ -1,23 +1,19 @@ [ - { - "blockName": "core/navigation-link", - "attrs": { - "label": "WordPress", - "url": "https://wordpress.org/" - }, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/navigation-link", + "attrs": { + "label": "WordPress", + "url": "https://wordpress.org/" + }, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__navigation.json b/packages/e2e-tests/fixtures/blocks/core__navigation.json index ef7c4793742302..20acaa79f5a437 100644 --- a/packages/e2e-tests/fixtures/blocks/core__navigation.json +++ b/packages/e2e-tests/fixtures/blocks/core__navigation.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/navigation", - "isValid": true, - "attributes": { - "showSubmenuIcon": true - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/navigation", + "isValid": true, + "attributes": { + "showSubmenuIcon": true + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__navigation.parsed.json b/packages/e2e-tests/fixtures/blocks/core__navigation.parsed.json index 19698d9d1841c5..55645a736ac92a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__navigation.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__navigation.parsed.json @@ -1,20 +1,16 @@ [ - { - "blockName": "core/navigation", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/navigation", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__navigation__deprecated.json b/packages/e2e-tests/fixtures/blocks/core__navigation__deprecated.json index c1e7672aea7ca6..7d34ed0001e11f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__navigation__deprecated.json +++ b/packages/e2e-tests/fixtures/blocks/core__navigation__deprecated.json @@ -1,34 +1,34 @@ [ - { - "clientId": "_clientId_0", - "name": "core/navigation", - "isValid": true, - "attributes": { - "orientation": "horizontal", - "showSubmenuIcon": true, - "style": { - "typography": { - "textTransform": "lowercase", - "textDecoration": "line-through", - "fontStyle": "italic", - "fontWeight": "100" - } - } - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/navigation-link", - "isValid": true, - "attributes": { - "label": "WordPress", - "opensInNewTab": false, - "url": "https://www.wordpress.org/" - }, - "innerBlocks": [], - "originalContent": "" - } - ], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/navigation", + "isValid": true, + "attributes": { + "orientation": "horizontal", + "showSubmenuIcon": true, + "style": { + "typography": { + "textTransform": "lowercase", + "textDecoration": "line-through", + "fontStyle": "italic", + "fontWeight": "100" + } + } + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/navigation-link", + "isValid": true, + "attributes": { + "label": "WordPress", + "opensInNewTab": false, + "url": "https://www.wordpress.org/" + }, + "innerBlocks": [], + "originalContent": "" + } + ], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__navigation__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core__navigation__deprecated.parsed.json index 11cb1a6b198be9..611990f354f2f8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__navigation__deprecated.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__navigation__deprecated.parsed.json @@ -1,43 +1,37 @@ [ - { - "blockName": "core/navigation", - "attrs": { - "orientation": "horizontal", - "style": { - "typography": { - "textTransform": "var:preset|text-transform|lowercase", - "textDecoration": "var:preset|text-decoration|strikethrough", - "fontStyle": "var:preset|font-style|italic", - "fontWeight": "var:preset|font-weight|100" - } - } - }, - "innerBlocks": [ - { - "blockName": "core/navigation-link", - "attrs": { - "label": "WordPress", - "url": "https://www.wordpress.org/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - } - ], - "innerHTML": "\n\n", - "innerContent": [ - "\n", - null, - "\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/navigation", + "attrs": { + "orientation": "horizontal", + "style": { + "typography": { + "textTransform": "var:preset|text-transform|lowercase", + "textDecoration": "var:preset|text-decoration|strikethrough", + "fontStyle": "var:preset|font-style|italic", + "fontWeight": "var:preset|font-weight|100" + } + } + }, + "innerBlocks": [ + { + "blockName": "core/navigation-link", + "attrs": { + "label": "WordPress", + "url": "https://www.wordpress.org/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + } + ], + "innerHTML": "\n\n", + "innerContent": [ "\n", null, "\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__nextpage.json b/packages/e2e-tests/fixtures/blocks/core__nextpage.json index 1a2c5478ae6b48..3a307ec660c0de 100644 --- a/packages/e2e-tests/fixtures/blocks/core__nextpage.json +++ b/packages/e2e-tests/fixtures/blocks/core__nextpage.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/nextpage", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/nextpage", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__nextpage.parsed.json b/packages/e2e-tests/fixtures/blocks/core__nextpage.parsed.json index 600c2fa3c7a43a..ae994402575f8a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__nextpage.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__nextpage.parsed.json @@ -1,20 +1,16 @@ [ - { - "blockName": "core/nextpage", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\n", - "innerContent": [ - "\n\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/nextpage", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\n", + "innerContent": [ "\n\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__page-list.json b/packages/e2e-tests/fixtures/blocks/core__page-list.json index df189be152f5bf..71f04ddf768960 100644 --- a/packages/e2e-tests/fixtures/blocks/core__page-list.json +++ b/packages/e2e-tests/fixtures/blocks/core__page-list.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/page-list", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/page-list", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__page-list.parsed.json b/packages/e2e-tests/fixtures/blocks/core__page-list.parsed.json index 3cc84a0f5c4edd..778a050722099a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__page-list.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__page-list.parsed.json @@ -1,9 +1,9 @@ [ - { - "blockName": "core/page-list", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - } + { + "blockName": "core/page-list", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.json index d0c3fa1495e3df..fb7ed002d3ba85 100644 --- a/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.json +++ b/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "right", - "content": "... like this one, which is separate from the above and right aligned.", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

    ... like this one, which is separate from the above and right aligned.

    " - } + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "right", + "content": "... like this one, which is separate from the above and right aligned.", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

    ... like this one, which is separate from the above and right aligned.

    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.parsed.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.parsed.json index 61859738751fb8..5950fb773aefb9 100644 --- a/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__paragraph__align-right.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "right" - }, - "innerBlocks": [], - "innerHTML": "\n

    ... like this one, which is separate from the above and right aligned.

    \n", - "innerContent": [ - "\n

    ... like this one, which is separate from the above and right aligned.

    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/paragraph", + "attrs": { + "align": "right" + }, + "innerBlocks": [], + "innerHTML": "\n

    ... like this one, which is separate from the above and right aligned.

    \n", + "innerContent": [ + "\n

    ... like this one, which is separate from the above and right aligned.

    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated-4.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated-4.json index 2ab7bad89f1928..2285bb5d7da59f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated-4.json +++ b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated-4.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "align": "right", - "content": "... like this one, which is separate from the above and right aligned.", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

    ... like this one, which is separate from the above and right aligned.

    " - } + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "align": "right", + "content": "... like this one, which is separate from the above and right aligned.", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

    ... like this one, which is separate from the above and right aligned.

    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated-4.parsed.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated-4.parsed.json index a8f850f47f72b5..5d17b412b10f4c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated-4.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated-4.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/paragraph", - "attrs": { - "align": "right" - }, - "innerBlocks": [], - "innerHTML": "\n

    ... like this one, which is separate from the above and right aligned.

    \n", - "innerContent": [ - "\n

    ... like this one, which is separate from the above and right aligned.

    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/paragraph", + "attrs": { + "align": "right" + }, + "innerBlocks": [], + "innerHTML": "\n

    ... like this one, which is separate from the above and right aligned.

    \n", + "innerContent": [ + "\n

    ... like this one, which is separate from the above and right aligned.

    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.json index ce0f468e351880..019e339e7e0669 100644 --- a/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.json +++ b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "Unwrapped is still valid.", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "Unwrapped is still valid." - } + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "Unwrapped is still valid.", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "Unwrapped is still valid." + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.parsed.json index 523743bab9e465..36dff3ea71c59b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__paragraph__deprecated.parsed.json @@ -1,20 +1,16 @@ [ - { - "blockName": "core/paragraph", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\nUnwrapped is still valid.\n", - "innerContent": [ - "\nUnwrapped is still valid.\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/paragraph", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\nUnwrapped is still valid.\n", + "innerContent": [ "\nUnwrapped is still valid.\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-author.json b/packages/e2e-tests/fixtures/blocks/core__post-author.json index 1e10d7f41bc313..dc9d01cfacf0b1 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-author.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-author.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-author", - "isValid": true, - "attributes": { - "avatarSize": 48, - "showAvatar": true - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-author", + "isValid": true, + "attributes": { + "avatarSize": 48, + "showAvatar": true + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-author.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-author.parsed.json index 82333c4d5a5ffd..4468a392b6ca37 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-author.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-author.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-author", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-author", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comment-author.json b/packages/e2e-tests/fixtures/blocks/core__post-comment-author.json index 77ca1b827313a4..4e476b90209128 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comment-author.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comment-author.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-comment-author", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-comment-author", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comment-author.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-comment-author.parsed.json index 4c5bc90be27d4b..973c1b5f17df15 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comment-author.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comment-author.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-comment-author", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-comment-author", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comment-content.json b/packages/e2e-tests/fixtures/blocks/core__post-comment-content.json index abe9a4428b1993..6b43772d7feeea 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comment-content.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comment-content.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-comment-content", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-comment-content", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comment-content.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-comment-content.parsed.json index 5adf7fb73db58d..c77cb63ea2aa2d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comment-content.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comment-content.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-comment-content", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-comment-content", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comment-date.json b/packages/e2e-tests/fixtures/blocks/core__post-comment-date.json index fe4900d8cf2949..4abcc999f96275 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comment-date.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comment-date.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-comment-date", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-comment-date", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comment-date.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-comment-date.parsed.json index 797c10ed79a0a5..b6de7ac4f0840d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comment-date.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comment-date.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-comment-date", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-comment-date", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comment.json b/packages/e2e-tests/fixtures/blocks/core__post-comment.json index af43149ebe34ec..7a87269bc01c34 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comment.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comment.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-comment", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "
    " - } + { + "clientId": "_clientId_0", + "name": "core/post-comment", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comment.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-comment.parsed.json index ae54b80c73fdcb..1fdbae106d24c6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comment.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comment.parsed.json @@ -1,20 +1,16 @@ [ - { - "blockName": "core/post-comment", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    \n", - "innerContent": [ - "\n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-comment", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    \n", + "innerContent": [ "\n
    \n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comments-count.json b/packages/e2e-tests/fixtures/blocks/core__post-comments-count.json index 9959a31a674392..3a00f3459610ad 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comments-count.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comments-count.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-comments-count", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-comments-count", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comments-count.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-comments-count.parsed.json index c1d301006fae22..86ac21d6c3c760 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comments-count.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comments-count.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-comments-count", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-comments-count", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comments-form.json b/packages/e2e-tests/fixtures/blocks/core__post-comments-form.json index 0bdbef007c9769..93f30f060f55a0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comments-form.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comments-form.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-comments-form", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-comments-form", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comments-form.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-comments-form.parsed.json index 42f28dd0b7cfcd..c51377e79f9eb1 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comments-form.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comments-form.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-comments-form", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-comments-form", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comments.json b/packages/e2e-tests/fixtures/blocks/core__post-comments.json index 7914b32791b3f1..8340c64e0b75df 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comments.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comments.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-comments", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-comments", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-comments.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-comments.parsed.json index 546ccf8596c959..369e9a31d4b4ad 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-comments.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-comments.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-comments", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-comments", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-content.json b/packages/e2e-tests/fixtures/blocks/core__post-content.json index d81012f620289a..393199905c6e38 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-content.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-content.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-content", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-content", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-content.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-content.parsed.json index 8517af18fc1a34..74517c09787766 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-content.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-content.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-content", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-content", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-date.json b/packages/e2e-tests/fixtures/blocks/core__post-date.json index 18ccc227b0399d..9cd56253193769 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-date.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-date.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-date", - "isValid": true, - "attributes": { - "isLink": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-date", + "isValid": true, + "attributes": { + "isLink": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-date.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-date.parsed.json index 6a912b2c3214a7..30410260fc9bc4 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-date.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-date.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-date", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-date", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-excerpt.json b/packages/e2e-tests/fixtures/blocks/core__post-excerpt.json index 44a38831ec996e..57d658a4423d05 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-excerpt.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-excerpt.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-excerpt", - "isValid": true, - "attributes": { - "wordCount": 55, - "showMoreOnNewLine": true - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-excerpt", + "isValid": true, + "attributes": { + "wordCount": 55, + "showMoreOnNewLine": true + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-excerpt.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-excerpt.parsed.json index 509101167e1d97..bbd9f1ebfdda7b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-excerpt.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-excerpt.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-excerpt", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-excerpt", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-featured-image.json b/packages/e2e-tests/fixtures/blocks/core__post-featured-image.json index 5ebd0b2ac8c1f8..5ff35f8591ad0a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-featured-image.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-featured-image.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-featured-image", - "isValid": true, - "attributes": { - "isLink": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-featured-image", + "isValid": true, + "attributes": { + "isLink": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-featured-image.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-featured-image.parsed.json index 502c28bad8e141..9e6bb862d6ea0e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-featured-image.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-featured-image.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-featured-image", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-featured-image", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-hierarchical-terms.json b/packages/e2e-tests/fixtures/blocks/core__post-hierarchical-terms.json index fd864d95242e37..9cc96c7602dc6b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-hierarchical-terms.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-hierarchical-terms.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-hierarchical-terms", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-hierarchical-terms", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-hierarchical-terms.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-hierarchical-terms.parsed.json index 468496fa95bc65..a80d272c633e2d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-hierarchical-terms.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-hierarchical-terms.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-hierarchical-terms", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-hierarchical-terms", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-navigation-link.json b/packages/e2e-tests/fixtures/blocks/core__post-navigation-link.json index 817766c3fa35d1..325512eec3658e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-navigation-link.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-navigation-link.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-navigation-link", - "isValid": true, - "attributes": { - "type": "next", - "showTitle": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-navigation-link", + "isValid": true, + "attributes": { + "type": "next", + "showTitle": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-navigation-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-navigation-link.parsed.json index 5f584ca6103595..b069597cd25510 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-navigation-link.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-navigation-link.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/post-navigation-link", - "attrs": { - "type": "next" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-navigation-link", + "attrs": { + "type": "next" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-tags.json b/packages/e2e-tests/fixtures/blocks/core__post-tags.json index a2edefa0c829fb..e6f4e6a808a575 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-tags.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-tags.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-tags", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-tags", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-tags.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-tags.parsed.json index 8d1036d0930a23..498e68349a68e5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-tags.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-tags.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-tags", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-tags", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-title.json b/packages/e2e-tests/fixtures/blocks/core__post-title.json index 4505015af60629..f44e85bf271371 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-title.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-title.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/post-title", - "isValid": true, - "attributes": { - "level": 2, - "isLink": false, - "rel": "", - "linkTarget": "_self" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/post-title", + "isValid": true, + "attributes": { + "level": 2, + "isLink": false, + "rel": "", + "linkTarget": "_self" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__post-title.parsed.json b/packages/e2e-tests/fixtures/blocks/core__post-title.parsed.json index f13087a1d72b4d..5e5115565fe7c8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__post-title.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__post-title.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/post-title", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/post-title", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__preformatted.json b/packages/e2e-tests/fixtures/blocks/core__preformatted.json index 290c7e98494964..7f248fa54532d8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__preformatted.json +++ b/packages/e2e-tests/fixtures/blocks/core__preformatted.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/preformatted", - "isValid": true, - "attributes": { - "content": "Some preformatted text...
    And more!" - }, - "innerBlocks": [], - "originalContent": "
    Some preformatted text...
    And more!
    " - } + { + "clientId": "_clientId_0", + "name": "core/preformatted", + "isValid": true, + "attributes": { + "content": "Some preformatted text...
    And more!" + }, + "innerBlocks": [], + "originalContent": "
    Some preformatted text...
    And more!
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__preformatted.parsed.json b/packages/e2e-tests/fixtures/blocks/core__preformatted.parsed.json index 0eb6c9a5b30bc6..cb83b9cc959c3c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__preformatted.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__preformatted.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/preformatted", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    Some preformatted text...
    And more!
    \n", - "innerContent": [ - "\n
    Some preformatted text...
    And more!
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/preformatted", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    Some preformatted text...
    And more!
    \n", + "innerContent": [ + "\n
    Some preformatted text...
    And more!
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote.json b/packages/e2e-tests/fixtures/blocks/core__pullquote.json index 5cf126489bc645..32c11e30f80752 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/pullquote", - "isValid": true, - "attributes": { - "value": "

    Testing pullquote block...

    ", - "citation": "...with a caption" - }, - "innerBlocks": [], - "originalContent": "
    \n
    \n

    Testing pullquote block...

    ...with a caption\n
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/pullquote", + "isValid": true, + "attributes": { + "value": "

    Testing pullquote block...

    ", + "citation": "...with a caption" + }, + "innerBlocks": [], + "originalContent": "
    \n
    \n

    Testing pullquote block...

    ...with a caption\n
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote.parsed.json b/packages/e2e-tests/fixtures/blocks/core__pullquote.parsed.json index 1126f70a2ed1d6..d623275f72dbed 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/pullquote", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    \n
    \n

    Testing pullquote block...

    ...with a caption\n
    \n
    \n", - "innerContent": [ - "\n
    \n
    \n

    Testing pullquote block...

    ...with a caption\n
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/pullquote", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    \n
    \n

    Testing pullquote block...

    ...with a caption\n
    \n
    \n", + "innerContent": [ + "\n
    \n
    \n

    Testing pullquote block...

    ...with a caption\n
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-1.json index 0843d9a619195b..be9d88cdee8aeb 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-1.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/pullquote", - "isValid": true, - "attributes": { - "value": "

    Testing deprecated pullquote block...

    ", - "citation": "...with a caption", - "align": "none" - }, - "innerBlocks": [], - "originalContent": "
    \n

    Testing deprecated pullquote block...

    \n\t
    ...with a caption
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/pullquote", + "isValid": true, + "attributes": { + "value": "

    Testing deprecated pullquote block...

    ", + "citation": "...with a caption", + "align": "none" + }, + "innerBlocks": [], + "originalContent": "
    \n

    Testing deprecated pullquote block...

    \n\t
    ...with a caption
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-1.parsed.json index de13c8201f5046..d19f30f8faea1f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-1.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/pullquote", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    \n

    Testing deprecated pullquote block...

    \n\t
    ...with a caption
    \n
    \n", - "innerContent": [ - "\n
    \n

    Testing deprecated pullquote block...

    \n\t
    ...with a caption
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/pullquote", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    \n

    Testing deprecated pullquote block...

    \n\t
    ...with a caption
    \n
    \n", + "innerContent": [ + "\n
    \n

    Testing deprecated pullquote block...

    \n\t
    ...with a caption
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-2.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-2.json index bd60dcfad3ed36..45a49889a44ce8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-2.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-2.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/pullquote", - "isValid": true, - "attributes": { - "value": "

    Testing deprecated pullquote block...

    ", - "citation": "...with a caption" - }, - "innerBlocks": [], - "originalContent": "
    \n

    Testing deprecated pullquote block...

    \n\t...with a caption\n
    " - } + { + "clientId": "_clientId_0", + "name": "core/pullquote", + "isValid": true, + "attributes": { + "value": "

    Testing deprecated pullquote block...

    ", + "citation": "...with a caption" + }, + "innerBlocks": [], + "originalContent": "
    \n

    Testing deprecated pullquote block...

    \n\t...with a caption\n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-2.parsed.json index 643d7acc5155d0..77f3aae1a616f8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-2.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/pullquote", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    \n

    Testing deprecated pullquote block...

    \n\t...with a caption\n
    \n", - "innerContent": [ - "\n
    \n

    Testing deprecated pullquote block...

    \n\t...with a caption\n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/pullquote", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    \n

    Testing deprecated pullquote block...

    \n\t...with a caption\n
    \n", + "innerContent": [ + "\n
    \n

    Testing deprecated pullquote block...

    \n\t...with a caption\n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-3.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-3.json index 00948d5850752f..f5837a52a95040 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-3.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-3.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/pullquote", - "isValid": true, - "attributes": { - "value": "

    pullquote

    ", - "citation": "", - "customMainColor": "#cd2653", - "textColor": "secondary" - }, - "innerBlocks": [], - "originalContent": "

    pullquote

    " - } + { + "clientId": "_clientId_0", + "name": "core/pullquote", + "isValid": true, + "attributes": { + "value": "

    pullquote

    ", + "citation": "", + "customMainColor": "#cd2653", + "textColor": "secondary" + }, + "innerBlocks": [], + "originalContent": "

    pullquote

    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-3.parsed.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-3.parsed.json index 61459172c1eb84..748337aabeba65 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-3.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__deprecated-3.parsed.json @@ -1,23 +1,21 @@ [ - { - "blockName": "core/pullquote", - "attrs": { - "mainColor": "accent", - "textColor": "secondary" - }, - "innerBlocks": [], - "innerHTML": "\n

    pullquote

    \n", - "innerContent": [ - "\n

    pullquote

    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/pullquote", + "attrs": { + "mainColor": "accent", + "textColor": "secondary" + }, + "innerBlocks": [], + "innerHTML": "\n

    pullquote

    \n", + "innerContent": [ + "\n

    pullquote

    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__main-color.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__main-color.json index a5e6479043d1a5..702e6e53975012 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__main-color.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__main-color.json @@ -1,16 +1,16 @@ [ - { - "clientId": "_clientId_0", - "name": "core/pullquote", - "isValid": true, - "attributes": { - "value": "

    Pullquote custom color

    ", - "citation": "my citation", - "customMainColor": "#2207d0", - "textColor": "subtle-background", - "className": "has-background is-style-default" - }, - "innerBlocks": [], - "originalContent": "

    Pullquote custom color

    my citation
    " - } + { + "clientId": "_clientId_0", + "name": "core/pullquote", + "isValid": true, + "attributes": { + "value": "

    Pullquote custom color

    ", + "citation": "my citation", + "customMainColor": "#2207d0", + "textColor": "subtle-background", + "className": "has-background is-style-default" + }, + "innerBlocks": [], + "originalContent": "

    Pullquote custom color

    my citation
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__main-color.parsed.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__main-color.parsed.json index 56004374d15637..a7ec4a01225dff 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__main-color.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__main-color.parsed.json @@ -1,24 +1,22 @@ [ - { - "blockName": "core/pullquote", - "attrs": { - "customMainColor": "#2207d0", - "textColor": "subtle-background", - "className": "has-background is-style-default" - }, - "innerBlocks": [], - "innerHTML": "\n

    Pullquote custom color

    my citation
    \n", - "innerContent": [ - "\n

    Pullquote custom color

    my citation
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/pullquote", + "attrs": { + "customMainColor": "#2207d0", + "textColor": "subtle-background", + "className": "has-background is-style-default" + }, + "innerBlocks": [], + "innerHTML": "\n

    Pullquote custom color

    my citation
    \n", + "innerContent": [ + "\n

    Pullquote custom color

    my citation
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.json index 81c058e5ab10c3..47230373abe48b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/pullquote", - "isValid": true, - "attributes": { - "value": "

    Paragraph one

    Paragraph two

    ", - "citation": "by whomever" - }, - "innerBlocks": [], - "originalContent": "
    \n
    \n

    Paragraph one

    \n

    Paragraph two

    \n by whomever\n\t
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/pullquote", + "isValid": true, + "attributes": { + "value": "

    Paragraph one

    Paragraph two

    ", + "citation": "by whomever" + }, + "innerBlocks": [], + "originalContent": "
    \n
    \n

    Paragraph one

    \n

    Paragraph two

    \n by whomever\n\t
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.parsed.json b/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.parsed.json index c025cf8cae24e7..78e575246eb2e0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__pullquote__multi-paragraph.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/pullquote", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    \n
    \n

    Paragraph one

    \n

    Paragraph two

    \n by whomever\n\t
    \n
    \n", - "innerContent": [ - "\n
    \n
    \n

    Paragraph one

    \n

    Paragraph two

    \n by whomever\n\t
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/pullquote", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    \n
    \n

    Paragraph one

    \n

    Paragraph two

    \n by whomever\n\t
    \n
    \n", + "innerContent": [ + "\n
    \n
    \n

    Paragraph one

    \n

    Paragraph two

    \n by whomever\n\t
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-loop.json b/packages/e2e-tests/fixtures/blocks/core__query-loop.json index a0ef058ebe6b22..e7edef8b5eb8c0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-loop.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-loop.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/query-loop", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/query-loop", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-loop.parsed.json b/packages/e2e-tests/fixtures/blocks/core__query-loop.parsed.json index 87dc8a385cc60b..69c46df899d517 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-loop.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-loop.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/query-loop", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/query-loop", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-pagination-next.json b/packages/e2e-tests/fixtures/blocks/core__query-pagination-next.json index b86a84f59bffa4..cc2895f3e8d488 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-pagination-next.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-pagination-next.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/query-pagination-next", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/query-pagination-next", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-pagination-next.parsed.json b/packages/e2e-tests/fixtures/blocks/core__query-pagination-next.parsed.json index 47f7a175bad5bb..c932ddbad926c7 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-pagination-next.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-pagination-next.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/query-pagination-next", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/query-pagination-next", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-pagination-numbers.json b/packages/e2e-tests/fixtures/blocks/core__query-pagination-numbers.json index 9735dfa643f431..c264a4423cd63e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-pagination-numbers.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-pagination-numbers.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/query-pagination-numbers", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/query-pagination-numbers", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-pagination-numbers.parsed.json b/packages/e2e-tests/fixtures/blocks/core__query-pagination-numbers.parsed.json index 4ff12cad3b7f5d..0c50979e9e45f7 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-pagination-numbers.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-pagination-numbers.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/query-pagination-numbers", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/query-pagination-numbers", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-pagination-previous.json b/packages/e2e-tests/fixtures/blocks/core__query-pagination-previous.json index b92dac9509b64c..06bbd417d7b859 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-pagination-previous.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-pagination-previous.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/query-pagination-previous", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/query-pagination-previous", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-pagination-previous.parsed.json b/packages/e2e-tests/fixtures/blocks/core__query-pagination-previous.parsed.json index 4a27e5ce4270ed..332cab9e29555a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-pagination-previous.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-pagination-previous.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/query-pagination-previous", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/query-pagination-previous", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-pagination.json b/packages/e2e-tests/fixtures/blocks/core__query-pagination.json index 91a969ea6cc098..a5ade7819c893b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-pagination.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-pagination.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/query-pagination", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "
    " - } + { + "clientId": "_clientId_0", + "name": "core/query-pagination", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-pagination.parsed.json b/packages/e2e-tests/fixtures/blocks/core__query-pagination.parsed.json index 2f4be2406a7741..2f19af4e1c3cac 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-pagination.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-pagination.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/query-pagination", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    \n", - "innerContent": [ - "\n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/query-pagination", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    \n", + "innerContent": [ + "\n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-title.json b/packages/e2e-tests/fixtures/blocks/core__query-title.json index 082dfaeb845e5f..dee4358b095250 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-title.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-title.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/query-title", - "isValid": true, - "attributes": { - "level": 1 - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/query-title", + "isValid": true, + "attributes": { + "level": 1 + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query-title.parsed.json b/packages/e2e-tests/fixtures/blocks/core__query-title.parsed.json index 8cea12344830a9..c88b3216db1e9a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query-title.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__query-title.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/query-title", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/query-title", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query.json b/packages/e2e-tests/fixtures/blocks/core__query.json index de5273ce8f64c7..19ef71fdf3bcb8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query.json +++ b/packages/e2e-tests/fixtures/blocks/core__query.json @@ -1,29 +1,29 @@ [ - { - "clientId": "_clientId_0", - "name": "core/query", - "isValid": true, - "attributes": { - "query": { - "perPage": null, - "pages": 0, - "offset": 0, - "postType": "post", - "categoryIds": [], - "tagIds": [], - "order": "desc", - "orderBy": "date", - "author": "", - "search": "", - "exclude": [], - "sticky": "", - "inherit": true - }, - "layout": { - "type": "list" - } - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/query", + "isValid": true, + "attributes": { + "query": { + "perPage": null, + "pages": 0, + "offset": 0, + "postType": "post", + "categoryIds": [], + "tagIds": [], + "order": "desc", + "orderBy": "date", + "author": "", + "search": "", + "exclude": [], + "sticky": "", + "inherit": true + }, + "layout": { + "type": "list" + } + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__query.parsed.json b/packages/e2e-tests/fixtures/blocks/core__query.parsed.json index 168738416c6dcc..b5a7fa3ce090db 100644 --- a/packages/e2e-tests/fixtures/blocks/core__query.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__query.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/query", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/query", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-1.json index aa920966ae06ba..a740986e65bd08 100644 --- a/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-1.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/quote", - "isValid": true, - "attributes": { - "value": "

    Testing deprecated quote block...

    ", - "citation": "...with a caption", - "style": 1 - }, - "innerBlocks": [], - "originalContent": "
    \n\t

    Testing deprecated quote block...

    \n\t
    ...with a caption
    \n
    " - } + { + "clientId": "_clientId_0", + "name": "core/quote", + "isValid": true, + "attributes": { + "value": "

    Testing deprecated quote block...

    ", + "citation": "...with a caption", + "style": 1 + }, + "innerBlocks": [], + "originalContent": "
    \n\t

    Testing deprecated quote block...

    \n\t
    ...with a caption
    \n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-1.parsed.json index 107d6a15672137..88d034d7f0bd75 100644 --- a/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-1.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/quote", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    \n\t

    Testing deprecated quote block...

    \n\t
    ...with a caption
    \n
    \n", - "innerContent": [ - "\n
    \n\t

    Testing deprecated quote block...

    \n\t
    ...with a caption
    \n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/quote", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    \n\t

    Testing deprecated quote block...

    \n\t
    ...with a caption
    \n
    \n", + "innerContent": [ + "\n
    \n\t

    Testing deprecated quote block...

    \n\t
    ...with a caption
    \n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-2.json b/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-2.json index 7270825d5ea7ec..64964fe017bf43 100644 --- a/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-2.json +++ b/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-2.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/quote", - "isValid": true, - "attributes": { - "value": "

    Testing deprecated quote block...

    ", - "citation": "...with a caption", - "align": "right" - }, - "innerBlocks": [], - "originalContent": "
    \n\t

    Testing deprecated quote block...

    \n\t...with a caption\n
    " - } + { + "clientId": "_clientId_0", + "name": "core/quote", + "isValid": true, + "attributes": { + "value": "

    Testing deprecated quote block...

    ", + "citation": "...with a caption", + "align": "right" + }, + "innerBlocks": [], + "originalContent": "
    \n\t

    Testing deprecated quote block...

    \n\t...with a caption\n
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-2.parsed.json index 37bd661148acaa..c1b0e9deb09a50 100644 --- a/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__quote__deprecated-2.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/quote", - "attrs": { - "align": "right" - }, - "innerBlocks": [], - "innerHTML": "\n
    \n\t

    Testing deprecated quote block...

    \n\t...with a caption\n
    \n", - "innerContent": [ - "\n
    \n\t

    Testing deprecated quote block...

    \n\t...with a caption\n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/quote", + "attrs": { + "align": "right" + }, + "innerBlocks": [], + "innerHTML": "\n
    \n\t

    Testing deprecated quote block...

    \n\t...with a caption\n
    \n", + "innerContent": [ + "\n
    \n\t

    Testing deprecated quote block...

    \n\t...with a caption\n
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__quote__style-1.json b/packages/e2e-tests/fixtures/blocks/core__quote__style-1.json index cd8d15bcc9b34c..313a4999bb87a8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__quote__style-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__quote__style-1.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/quote", - "isValid": true, - "attributes": { - "value": "

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    ", - "citation": "Matt Mullenweg, 2017" - }, - "innerBlocks": [], - "originalContent": "

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    Matt Mullenweg, 2017
    " - } + { + "clientId": "_clientId_0", + "name": "core/quote", + "isValid": true, + "attributes": { + "value": "

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    ", + "citation": "Matt Mullenweg, 2017" + }, + "innerBlocks": [], + "originalContent": "

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    Matt Mullenweg, 2017
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__quote__style-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__quote__style-1.parsed.json index c86fe92fb11d8f..d426292330dea1 100644 --- a/packages/e2e-tests/fixtures/blocks/core__quote__style-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__quote__style-1.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/quote", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    Matt Mullenweg, 2017
    \n", - "innerContent": [ - "\n

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    Matt Mullenweg, 2017
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/quote", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    Matt Mullenweg, 2017
    \n", + "innerContent": [ + "\n

    The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.

    Matt Mullenweg, 2017
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__quote__style-2.json b/packages/e2e-tests/fixtures/blocks/core__quote__style-2.json index 300770c72c0070..7eb1833b0b56c0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__quote__style-2.json +++ b/packages/e2e-tests/fixtures/blocks/core__quote__style-2.json @@ -1,14 +1,14 @@ [ - { - "clientId": "_clientId_0", - "name": "core/quote", - "isValid": true, - "attributes": { - "value": "

    There is no greater agony than bearing an untold story inside you.

    ", - "citation": "Maya Angelou", - "className": "is-style-large" - }, - "innerBlocks": [], - "originalContent": "

    There is no greater agony than bearing an untold story inside you.

    Maya Angelou
    " - } + { + "clientId": "_clientId_0", + "name": "core/quote", + "isValid": true, + "attributes": { + "value": "

    There is no greater agony than bearing an untold story inside you.

    ", + "citation": "Maya Angelou", + "className": "is-style-large" + }, + "innerBlocks": [], + "originalContent": "

    There is no greater agony than bearing an untold story inside you.

    Maya Angelou
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__quote__style-2.parsed.json b/packages/e2e-tests/fixtures/blocks/core__quote__style-2.parsed.json index 5543ac33cfd6c1..17634e191a1193 100644 --- a/packages/e2e-tests/fixtures/blocks/core__quote__style-2.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__quote__style-2.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/quote", - "attrs": { - "className": "is-style-large" - }, - "innerBlocks": [], - "innerHTML": "\n

    There is no greater agony than bearing an untold story inside you.

    Maya Angelou
    \n", - "innerContent": [ - "\n

    There is no greater agony than bearing an untold story inside you.

    Maya Angelou
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/quote", + "attrs": { + "className": "is-style-large" + }, + "innerBlocks": [], + "innerHTML": "\n

    There is no greater agony than bearing an untold story inside you.

    Maya Angelou
    \n", + "innerContent": [ + "\n

    There is no greater agony than bearing an untold story inside you.

    Maya Angelou
    \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__rss.json b/packages/e2e-tests/fixtures/blocks/core__rss.json index 09f43cf2e1e253..4b6a5176dbc94e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__rss.json +++ b/packages/e2e-tests/fixtures/blocks/core__rss.json @@ -1,19 +1,19 @@ [ - { - "clientId": "_clientId_0", - "name": "core/rss", - "isValid": true, - "attributes": { - "columns": 2, - "blockLayout": "grid", - "feedURL": "https://wordpress.org/news/", - "itemsToShow": 4, - "displayExcerpt": true, - "displayAuthor": true, - "displayDate": true, - "excerptLength": 20 - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/rss", + "isValid": true, + "attributes": { + "columns": 2, + "blockLayout": "grid", + "feedURL": "https://wordpress.org/news/", + "itemsToShow": 4, + "displayExcerpt": true, + "displayAuthor": true, + "displayDate": true, + "excerptLength": 20 + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__rss.parsed.json b/packages/e2e-tests/fixtures/blocks/core__rss.parsed.json index 73c22eef246f50..cfb6db79e4d825 100644 --- a/packages/e2e-tests/fixtures/blocks/core__rss.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__rss.parsed.json @@ -1,26 +1,24 @@ [ - { - "blockName": "core/rss", - "attrs": { - "blockLayout": "grid", - "displayDate": true, - "displayExcerpt": true, - "displayAuthor": true, - "excerptLength": 20, - "feedURL": "https://wordpress.org/news/", - "itemsToShow": 4 - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/rss", + "attrs": { + "blockLayout": "grid", + "displayDate": true, + "displayExcerpt": true, + "displayAuthor": true, + "excerptLength": 20, + "feedURL": "https://wordpress.org/news/", + "itemsToShow": 4 + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__search.json b/packages/e2e-tests/fixtures/blocks/core__search.json index 26c1bad1c57f44..c3764ecb5f793f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__search.json +++ b/packages/e2e-tests/fixtures/blocks/core__search.json @@ -1,15 +1,15 @@ [ - { - "clientId": "_clientId_0", - "name": "core/search", - "isValid": true, - "attributes": { - "showLabel": true, - "placeholder": "", - "buttonPosition": "button-outside", - "buttonUseIcon": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/search", + "isValid": true, + "attributes": { + "showLabel": true, + "placeholder": "", + "buttonPosition": "button-outside", + "buttonUseIcon": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__search.parsed.json b/packages/e2e-tests/fixtures/blocks/core__search.parsed.json index 0dfea6eb47b8fb..531b1945fcf26c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__search.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__search.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/search", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/search", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__search__custom-text.json b/packages/e2e-tests/fixtures/blocks/core__search__custom-text.json index a490ed43df73f2..7d7e970a6c56d7 100644 --- a/packages/e2e-tests/fixtures/blocks/core__search__custom-text.json +++ b/packages/e2e-tests/fixtures/blocks/core__search__custom-text.json @@ -1,17 +1,17 @@ [ - { - "clientId": "_clientId_0", - "name": "core/search", - "isValid": true, - "attributes": { - "label": "Custom label", - "showLabel": true, - "placeholder": "Custom placeholder", - "buttonText": "Custom button text", - "buttonPosition": "button-outside", - "buttonUseIcon": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/search", + "isValid": true, + "attributes": { + "label": "Custom label", + "showLabel": true, + "placeholder": "Custom placeholder", + "buttonText": "Custom button text", + "buttonPosition": "button-outside", + "buttonUseIcon": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__search__custom-text.parsed.json b/packages/e2e-tests/fixtures/blocks/core__search__custom-text.parsed.json index fd128b35f93c81..1a67d226c9154a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__search__custom-text.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__search__custom-text.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/search", - "attrs": { - "buttonText": "Custom button text", - "label": "Custom label", - "placeholder": "Custom placeholder" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/search", + "attrs": { + "buttonText": "Custom button text", + "label": "Custom label", + "placeholder": "Custom placeholder" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__separator.json b/packages/e2e-tests/fixtures/blocks/core__separator.json index 12a687c00ac18b..f26c864a9dc209 100644 --- a/packages/e2e-tests/fixtures/blocks/core__separator.json +++ b/packages/e2e-tests/fixtures/blocks/core__separator.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/separator", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "
    " - } + { + "clientId": "_clientId_0", + "name": "core/separator", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "
    " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__separator.parsed.json b/packages/e2e-tests/fixtures/blocks/core__separator.parsed.json index cb5714d4df31b3..77c86e12711e54 100644 --- a/packages/e2e-tests/fixtures/blocks/core__separator.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__separator.parsed.json @@ -1,20 +1,16 @@ [ - { - "blockName": "core/separator", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
    \n", - "innerContent": [ - "\n
    \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/separator", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
    \n", + "innerContent": [ "\n
    \n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__shortcode.json b/packages/e2e-tests/fixtures/blocks/core__shortcode.json index 0f1d3e559dcd2f..73b46971cb150f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__shortcode.json +++ b/packages/e2e-tests/fixtures/blocks/core__shortcode.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/shortcode", - "isValid": true, - "attributes": { - "text": "[gallery ids=\"238,338\"]" - }, - "innerBlocks": [], - "originalContent": "[gallery ids=\"238,338\"]" - } + { + "clientId": "_clientId_0", + "name": "core/shortcode", + "isValid": true, + "attributes": { + "text": "[gallery ids=\"238,338\"]" + }, + "innerBlocks": [], + "originalContent": "[gallery ids=\"238,338\"]" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__shortcode.parsed.json b/packages/e2e-tests/fixtures/blocks/core__shortcode.parsed.json index 85ae209c2a1d37..0789e4a5c2721c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__shortcode.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__shortcode.parsed.json @@ -1,20 +1,16 @@ [ - { - "blockName": "core/shortcode", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n[gallery ids=\"238,338\"]\n", - "innerContent": [ - "\n[gallery ids=\"238,338\"]\n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/shortcode", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n[gallery ids=\"238,338\"]\n", + "innerContent": [ "\n[gallery ids=\"238,338\"]\n" ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__site-logo.json b/packages/e2e-tests/fixtures/blocks/core__site-logo.json index a84c7c57737e3d..82c70eb3ae261d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__site-logo.json +++ b/packages/e2e-tests/fixtures/blocks/core__site-logo.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/site-logo", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/site-logo", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__site-logo.parsed.json b/packages/e2e-tests/fixtures/blocks/core__site-logo.parsed.json index 3db3836e10d1af..f63e43cf35c1da 100644 --- a/packages/e2e-tests/fixtures/blocks/core__site-logo.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__site-logo.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/site-logo", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/site-logo", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__site-tagline.json b/packages/e2e-tests/fixtures/blocks/core__site-tagline.json index 35075600dc0d19..5a41377f84e13f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__site-tagline.json +++ b/packages/e2e-tests/fixtures/blocks/core__site-tagline.json @@ -1,10 +1,10 @@ [ - { - "clientId": "_clientId_0", - "name": "core/site-tagline", - "isValid": true, - "attributes": {}, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/site-tagline", + "isValid": true, + "attributes": {}, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__site-tagline.parsed.json b/packages/e2e-tests/fixtures/blocks/core__site-tagline.parsed.json index c5d544814b04ad..451ddb14c1f8c0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__site-tagline.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__site-tagline.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/site-tagline", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/site-tagline", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__site-title.json b/packages/e2e-tests/fixtures/blocks/core__site-title.json index 32dc5aa4633e14..b9a124f9f163d8 100644 --- a/packages/e2e-tests/fixtures/blocks/core__site-title.json +++ b/packages/e2e-tests/fixtures/blocks/core__site-title.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/site-title", - "isValid": true, - "attributes": { - "level": 1 - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/site-title", + "isValid": true, + "attributes": { + "level": 1 + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__site-title.parsed.json b/packages/e2e-tests/fixtures/blocks/core__site-title.parsed.json index bc570f8255a124..d515afc179fa05 100644 --- a/packages/e2e-tests/fixtures/blocks/core__site-title.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__site-title.parsed.json @@ -1,18 +1,16 @@ [ - { - "blockName": "core/site-title", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/site-title", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-amazon.json b/packages/e2e-tests/fixtures/blocks/core__social-link-amazon.json index 000051fbbfcdcb..6d5b35264fab6d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-amazon.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-amazon.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "amazon" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "amazon" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-amazon.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-amazon.parsed.json index f5e1e92ddd4974..c3437f4ec1699a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-amazon.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-amazon.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-amazon", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-amazon", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-bandcamp.json b/packages/e2e-tests/fixtures/blocks/core__social-link-bandcamp.json index d6892b010595ee..22193eab9430b3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-bandcamp.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-bandcamp.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "bandcamp" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "bandcamp" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-bandcamp.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-bandcamp.parsed.json index c3ade51de7f5ef..11370de2dcdb2e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-bandcamp.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-bandcamp.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-bandcamp", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-bandcamp", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-behance.json b/packages/e2e-tests/fixtures/blocks/core__social-link-behance.json index da98473d54df2b..dd51e3a6296b45 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-behance.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-behance.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "behance" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "behance" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-behance.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-behance.parsed.json index dbec736490d27f..e3496089a172d6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-behance.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-behance.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-behance", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-behance", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-chain.json b/packages/e2e-tests/fixtures/blocks/core__social-link-chain.json index f299314f87247c..c63cf60c2a8ced 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-chain.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-chain.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "chain" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "chain" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-chain.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-chain.parsed.json index 02bc7d62d6ce3a..dcb9ee03fc6ab6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-chain.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-chain.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-chain", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-chain", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-codepen.json b/packages/e2e-tests/fixtures/blocks/core__social-link-codepen.json index 63e3aea6bb2a71..801bcd84c5759a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-codepen.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-codepen.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "codepen" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "codepen" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-codepen.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-codepen.parsed.json index 224cc351a8139a..5ca489f44f4e5d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-codepen.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-codepen.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-codepen", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-codepen", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-deviantart.json b/packages/e2e-tests/fixtures/blocks/core__social-link-deviantart.json index 5d37f9ec5aec03..8266414b0f34c7 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-deviantart.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-deviantart.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "deviantart" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "deviantart" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-deviantart.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-deviantart.parsed.json index 741528c2de05b8..43eaf85d471d43 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-deviantart.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-deviantart.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-deviantart", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-deviantart", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-dribbble.json b/packages/e2e-tests/fixtures/blocks/core__social-link-dribbble.json index f582c24312c12e..7d66c53f9722f3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-dribbble.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-dribbble.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "dribbble" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "dribbble" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-dribbble.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-dribbble.parsed.json index f6b92b98394267..38f49ec37afa6b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-dribbble.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-dribbble.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-dribbble", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-dribbble", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-dropbox.json b/packages/e2e-tests/fixtures/blocks/core__social-link-dropbox.json index 83f8afb595b62f..76ac4363ae8685 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-dropbox.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-dropbox.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "dropbox" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "dropbox" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-dropbox.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-dropbox.parsed.json index b1d7ada2aee1e4..0c40dc4b131ff1 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-dropbox.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-dropbox.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-dropbox", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-dropbox", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-etsy.json b/packages/e2e-tests/fixtures/blocks/core__social-link-etsy.json index ee0b2a360af201..86921965033019 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-etsy.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-etsy.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "etsy" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "etsy" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-etsy.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-etsy.parsed.json index 526f245ce2c0a6..5da5ccc825f1f2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-etsy.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-etsy.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-etsy", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-etsy", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-facebook.json b/packages/e2e-tests/fixtures/blocks/core__social-link-facebook.json index 8533181c44de31..2a973d7f9ff499 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-facebook.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-facebook.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "facebook" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "facebook" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-facebook.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-facebook.parsed.json index 85e63634196eed..4c169cbd262f79 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-facebook.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-facebook.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-facebook", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-facebook", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-feed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-feed.json index a19a333a40f279..ab4cd65025416b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-feed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-feed.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "feed" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "feed" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-feed.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-feed.parsed.json index 983b9f2ffc50b3..ef2d9810f88056 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-feed.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-feed.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-feed", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-feed", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-fivehundredpx.json b/packages/e2e-tests/fixtures/blocks/core__social-link-fivehundredpx.json index 74658046104e01..8d72b428fa95b2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-fivehundredpx.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-fivehundredpx.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "fivehundredpx" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "fivehundredpx" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-fivehundredpx.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-fivehundredpx.parsed.json index 5e44677986e635..7eafdc118edd7b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-fivehundredpx.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-fivehundredpx.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-fivehundredpx", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-fivehundredpx", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-flickr.json b/packages/e2e-tests/fixtures/blocks/core__social-link-flickr.json index 6808d740bcfb24..c9a2b0dd574513 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-flickr.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-flickr.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "flickr" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "flickr" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-flickr.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-flickr.parsed.json index edbdc7275d6ef8..b476a4a5c10949 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-flickr.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-flickr.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-flickr", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-flickr", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-foursquare.json b/packages/e2e-tests/fixtures/blocks/core__social-link-foursquare.json index ed849f7e335c05..581c499ff1c8cb 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-foursquare.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-foursquare.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "foursquare" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "foursquare" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-foursquare.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-foursquare.parsed.json index b5925cf3d91fdb..0809641470c58f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-foursquare.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-foursquare.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-foursquare", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-foursquare", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-github.json b/packages/e2e-tests/fixtures/blocks/core__social-link-github.json index f4072c78aa065c..cb795a160f00af 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-github.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-github.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "github" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "github" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-github.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-github.parsed.json index 87e489ef52a2d5..17dbb4fed92f18 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-github.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-github.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-github", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-github", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-goodreads.json b/packages/e2e-tests/fixtures/blocks/core__social-link-goodreads.json index 66d78dfef4edb7..30cdc5fce009df 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-goodreads.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-goodreads.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "goodreads" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "goodreads" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-goodreads.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-goodreads.parsed.json index 52f0e3516307ff..bb287381134e89 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-goodreads.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-goodreads.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-goodreads", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-goodreads", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-google.json b/packages/e2e-tests/fixtures/blocks/core__social-link-google.json index b60a424b442f12..5bea83419b44d6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-google.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-google.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "google" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "google" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-google.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-google.parsed.json index 8810c90640bc85..fe234a1c146ebf 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-google.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-google.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-google", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-google", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-instagram.json b/packages/e2e-tests/fixtures/blocks/core__social-link-instagram.json index b76916c19ad80c..79530787982f10 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-instagram.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-instagram.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "instagram" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "instagram" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-instagram.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-instagram.parsed.json index d9b13179d93be0..d68bbfcc74b4f1 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-instagram.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-instagram.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-instagram", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-instagram", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-lastfm.json b/packages/e2e-tests/fixtures/blocks/core__social-link-lastfm.json index 9d5ccc5fbf5f83..5f446ad469156b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-lastfm.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-lastfm.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "lastfm" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "lastfm" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-lastfm.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-lastfm.parsed.json index 00642b1baee893..081827f8937d5a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-lastfm.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-lastfm.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-lastfm", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-lastfm", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-linkedin.json b/packages/e2e-tests/fixtures/blocks/core__social-link-linkedin.json index f6db83bd718f22..cf236b87610d05 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-linkedin.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-linkedin.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "linkedin" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "linkedin" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-linkedin.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-linkedin.parsed.json index e67a1198c80e0b..5e26292f6f7b05 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-linkedin.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-linkedin.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-linkedin", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-linkedin", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-mail.json b/packages/e2e-tests/fixtures/blocks/core__social-link-mail.json index 687c99385e577b..a212c076ba0c33 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-mail.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-mail.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "mail" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "mail" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-mail.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-mail.parsed.json index 4d9f2e909de695..c8efae58f68a24 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-mail.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-mail.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-mail", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-mail", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-mastodon.json b/packages/e2e-tests/fixtures/blocks/core__social-link-mastodon.json index ccee24956d843c..569ea1515dc9d5 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-mastodon.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-mastodon.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "mastodon" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "mastodon" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-mastodon.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-mastodon.parsed.json index 8624cb56072e23..d7b2e69cd20c4d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-mastodon.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-mastodon.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-mastodon", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-mastodon", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-medium.json b/packages/e2e-tests/fixtures/blocks/core__social-link-medium.json index e7c7a35d286b75..599be7b276e176 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-medium.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-medium.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "medium" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "medium" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-medium.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-medium.parsed.json index 49a78e2f162bfb..0101f0244a626f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-medium.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-medium.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-medium", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-medium", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-meetup.json b/packages/e2e-tests/fixtures/blocks/core__social-link-meetup.json index d5ae3d17e06bdc..11ea3a6ecafae0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-meetup.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-meetup.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "meetup" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "meetup" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-meetup.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-meetup.parsed.json index 4c91dfc9a4cd93..406c1d54df318f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-meetup.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-meetup.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-meetup", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-meetup", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-pinterest.json b/packages/e2e-tests/fixtures/blocks/core__social-link-pinterest.json index 36a02e28e12e65..51557944970c4c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-pinterest.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-pinterest.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "pinterest" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "pinterest" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-pinterest.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-pinterest.parsed.json index d5344890c9f81b..ca617e8db5454c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-pinterest.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-pinterest.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-pinterest", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-pinterest", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-pocket.json b/packages/e2e-tests/fixtures/blocks/core__social-link-pocket.json index 7c2514c126d2c8..2c110c28794426 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-pocket.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-pocket.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "pocket" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "pocket" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-pocket.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-pocket.parsed.json index 8e36616dc54413..9308c4aeb5d80b 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-pocket.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-pocket.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-pocket", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-pocket", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-reddit.json b/packages/e2e-tests/fixtures/blocks/core__social-link-reddit.json index 02a1b95bad25b9..ba110806da4fdc 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-reddit.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-reddit.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "reddit" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "reddit" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-reddit.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-reddit.parsed.json index ec740147dbe577..863c311b382a95 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-reddit.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-reddit.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-reddit", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-reddit", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-skype.json b/packages/e2e-tests/fixtures/blocks/core__social-link-skype.json index e487afd2b69e19..c620412de1794d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-skype.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-skype.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "skype" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "skype" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-skype.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-skype.parsed.json index 7fc823fc994055..ee4f0e14b041af 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-skype.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-skype.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-skype", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-skype", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-snapchat.json b/packages/e2e-tests/fixtures/blocks/core__social-link-snapchat.json index 940a08b689b451..e1e0c3ffe241c2 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-snapchat.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-snapchat.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "snapchat" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "snapchat" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-snapchat.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-snapchat.parsed.json index 1547a02060ddd0..9e61a16ad7aa05 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-snapchat.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-snapchat.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-snapchat", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-snapchat", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-soundcloud.json b/packages/e2e-tests/fixtures/blocks/core__social-link-soundcloud.json index 3a2fbbcfd26fac..bdf01e8ffb9789 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-soundcloud.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-soundcloud.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "soundcloud" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "soundcloud" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-soundcloud.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-soundcloud.parsed.json index 17358f2e6f7a3f..8e049089378c21 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-soundcloud.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-soundcloud.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-soundcloud", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-soundcloud", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-spotify.json b/packages/e2e-tests/fixtures/blocks/core__social-link-spotify.json index a834cc46957899..0d888f7646f8ff 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-spotify.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-spotify.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "spotify" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "spotify" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-spotify.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-spotify.parsed.json index fc81eff1afe871..72abbec6604b82 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-spotify.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-spotify.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-spotify", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-spotify", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-tumblr.json b/packages/e2e-tests/fixtures/blocks/core__social-link-tumblr.json index d7936ade47b2ac..e3da194b686ad6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-tumblr.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-tumblr.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "tumblr" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "tumblr" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-tumblr.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-tumblr.parsed.json index c63805e6101946..4c9dc640eca3d3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-tumblr.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-tumblr.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-tumblr", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-tumblr", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-twitch.json b/packages/e2e-tests/fixtures/blocks/core__social-link-twitch.json index 32f912d8550b4c..c6d227c5dcdc24 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-twitch.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-twitch.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "twitch" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "twitch" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-twitch.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-twitch.parsed.json index 8949b729ad13e7..67404f9cf3cc5f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-twitch.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-twitch.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-twitch", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-twitch", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-twitter.json b/packages/e2e-tests/fixtures/blocks/core__social-link-twitter.json index 034d25d591d3c1..97ed17c543d00f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-twitter.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-twitter.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "twitter" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "twitter" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-twitter.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-twitter.parsed.json index 880324c23f8d31..1a8d3924e967b9 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-twitter.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-twitter.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-twitter", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-twitter", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-vimeo.json b/packages/e2e-tests/fixtures/blocks/core__social-link-vimeo.json index fc7561645789d5..8efe983bc7ee3e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-vimeo.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-vimeo.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "vimeo" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "vimeo" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-vimeo.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-vimeo.parsed.json index b60bb1cd48c72f..9350e5a8547cda 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-vimeo.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-vimeo.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-vimeo", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-vimeo", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-vk.json b/packages/e2e-tests/fixtures/blocks/core__social-link-vk.json index 9d476c14d0a233..14c61572e9d4ad 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-vk.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-vk.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "vk" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "vk" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-vk.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-vk.parsed.json index 7306459001ebdd..bd1081aff5186a 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-vk.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-vk.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-vk", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-vk", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-wordpress.json b/packages/e2e-tests/fixtures/blocks/core__social-link-wordpress.json index 3c230e7cc8fb7f..d7435d2f0e2b11 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-wordpress.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-wordpress.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "wordpress" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "wordpress" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-wordpress.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-wordpress.parsed.json index 5970c1c528515d..21eba3c770653d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-wordpress.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-wordpress.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-wordpress", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-wordpress", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-yelp.json b/packages/e2e-tests/fixtures/blocks/core__social-link-yelp.json index e953d3a9c3385f..b757168d5b120e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-yelp.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-yelp.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "yelp" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "yelp" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-yelp.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-yelp.parsed.json index 5863f9d0b1b2dc..93b971def088d6 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-yelp.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-yelp.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-yelp", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-yelp", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-youtube.json b/packages/e2e-tests/fixtures/blocks/core__social-link-youtube.json index fead5de21eb5a0..7b9d28cdbc5099 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-youtube.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-youtube.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "youtube" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "youtube" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link-youtube.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link-youtube.parsed.json index 447f6933d65ad8..8e0e7f42f72b62 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link-youtube.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link-youtube.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/social-link-youtube", - "attrs": { - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link-youtube", + "attrs": { + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link.json b/packages/e2e-tests/fixtures/blocks/core__social-link.json index a834cc46957899..0d888f7646f8ff 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://example.com/", - "service": "spotify" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://example.com/", + "service": "spotify" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-link.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-link.parsed.json index 358c07bc41ef30..c5e052eb58ef93 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-link.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-link.parsed.json @@ -1,21 +1,19 @@ [ - { - "blockName": "core/social-link", - "attrs": { - "service": "spotify", - "url": "https://example.com/" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-link", + "attrs": { + "service": "spotify", + "url": "https://example.com/" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-links.json b/packages/e2e-tests/fixtures/blocks/core__social-links.json index eaf67458e69383..2fd21ecfd681d3 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-links.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-links.json @@ -1,24 +1,24 @@ [ - { - "clientId": "_clientId_0", - "name": "core/social-links", - "isValid": true, - "attributes": { - "openInNewTab": false - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/social-link", - "isValid": true, - "attributes": { - "url": "https://mastodon.social/@marcuskaz", - "service": "mastodon" - }, - "innerBlocks": [], - "originalContent": "" - } - ], - "originalContent": "
      " - } + { + "clientId": "_clientId_0", + "name": "core/social-links", + "isValid": true, + "attributes": { + "openInNewTab": false + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/social-link", + "isValid": true, + "attributes": { + "url": "https://mastodon.social/@marcuskaz", + "service": "mastodon" + }, + "innerBlocks": [], + "originalContent": "" + } + ], + "originalContent": "
        " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__social-links.parsed.json b/packages/e2e-tests/fixtures/blocks/core__social-links.parsed.json index 9e5e5db3fec631..5e0b049135544c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__social-links.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__social-links.parsed.json @@ -1,33 +1,31 @@ [ - { - "blockName": "core/social-links", - "attrs": {}, - "innerBlocks": [ - { - "blockName": "core/social-link", - "attrs": { - "service": "mastodon", - "url": "https://mastodon.social/@marcuskaz" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - } - ], - "innerHTML": "\n
          \n", - "innerContent": [ - "\n
            ", - null, - "
          \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/social-links", + "attrs": {}, + "innerBlocks": [ + { + "blockName": "core/social-link", + "attrs": { + "service": "mastodon", + "url": "https://mastodon.social/@marcuskaz" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + } + ], + "innerHTML": "\n
            \n", + "innerContent": [ + "\n
              ", + null, + "
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__spacer.json b/packages/e2e-tests/fixtures/blocks/core__spacer.json index a157520b7563c6..6c05752c1119f9 100644 --- a/packages/e2e-tests/fixtures/blocks/core__spacer.json +++ b/packages/e2e-tests/fixtures/blocks/core__spacer.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/spacer", - "isValid": true, - "attributes": { - "height": 100 - }, - "innerBlocks": [], - "originalContent": "
            " - } + { + "clientId": "_clientId_0", + "name": "core/spacer", + "isValid": true, + "attributes": { + "height": 100 + }, + "innerBlocks": [], + "originalContent": "
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__spacer.parsed.json b/packages/e2e-tests/fixtures/blocks/core__spacer.parsed.json index 68591dd47de553..eb51881d55f983 100644 --- a/packages/e2e-tests/fixtures/blocks/core__spacer.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__spacer.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/spacer", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
            \n", - "innerContent": [ - "\n
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/spacer", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
            \n", + "innerContent": [ + "\n
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__spacer__horizontal.json b/packages/e2e-tests/fixtures/blocks/core__spacer__horizontal.json index 35ae07f2b69b5a..1facf7fcaa4910 100644 --- a/packages/e2e-tests/fixtures/blocks/core__spacer__horizontal.json +++ b/packages/e2e-tests/fixtures/blocks/core__spacer__horizontal.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/spacer", - "isValid": true, - "attributes": { - "height": 0, - "width": 72 - }, - "innerBlocks": [], - "originalContent": "
            " - } + { + "clientId": "_clientId_0", + "name": "core/spacer", + "isValid": true, + "attributes": { + "height": 0, + "width": 72 + }, + "innerBlocks": [], + "originalContent": "
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__spacer__horizontal.parsed.json b/packages/e2e-tests/fixtures/blocks/core__spacer__horizontal.parsed.json index 391254e1018916..9e88a1c01a0037 100644 --- a/packages/e2e-tests/fixtures/blocks/core__spacer__horizontal.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__spacer__horizontal.parsed.json @@ -1,14 +1,14 @@ [ - { - "blockName": "core/spacer", - "attrs": { - "height": 0, - "width": 72 - }, - "innerBlocks": [], - "innerHTML": "\n
            \n", - "innerContent": [ - "\n
            \n" - ] - } + { + "blockName": "core/spacer", + "attrs": { + "height": 0, + "width": 72 + }, + "innerBlocks": [], + "innerHTML": "\n
            \n", + "innerContent": [ + "\n
            \n" + ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__table.json b/packages/e2e-tests/fixtures/blocks/core__table.json index e2a7660f63473a..27254a376c8749 100644 --- a/packages/e2e-tests/fixtures/blocks/core__table.json +++ b/packages/e2e-tests/fixtures/blocks/core__table.json @@ -1,146 +1,146 @@ [ - { - "clientId": "_clientId_0", - "name": "core/table", - "isValid": true, - "attributes": { - "hasFixedLayout": false, - "caption": "", - "head": [ - { - "cells": [ - { - "content": "Version", - "tag": "th" - }, - { - "content": "Musician", - "tag": "th" - }, - { - "content": "Date", - "tag": "th" - } - ] - } - ], - "body": [ - { - "cells": [ - { - "content": ".70", - "tag": "td" - }, - { - "content": "No musician chosen.", - "tag": "td" - }, - { - "content": "May 27, 2003", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "1.0", - "tag": "td" - }, - { - "content": "Miles Davis", - "tag": "td" - }, - { - "content": "January 3, 2004", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "Lots of versions skipped, see the full list", - "tag": "td" - }, - { - "content": "…", - "tag": "td" - }, - { - "content": "…", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.4", - "tag": "td" - }, - { - "content": "Clifford Brown", - "tag": "td" - }, - { - "content": "December 8, 2015", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.5", - "tag": "td" - }, - { - "content": "Coleman Hawkins", - "tag": "td" - }, - { - "content": "April 12, 2016", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.6", - "tag": "td" - }, - { - "content": "Pepper Adams", - "tag": "td" - }, - { - "content": "August 16, 2016", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.7", - "tag": "td" - }, - { - "content": "Sarah Vaughan", - "tag": "td" - }, - { - "content": "December 6, 2016", - "tag": "td" - } - ] - } - ], - "foot": [] - }, - "innerBlocks": [], - "originalContent": "
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            " - } + { + "clientId": "_clientId_0", + "name": "core/table", + "isValid": true, + "attributes": { + "hasFixedLayout": false, + "caption": "", + "head": [ + { + "cells": [ + { + "content": "Version", + "tag": "th" + }, + { + "content": "Musician", + "tag": "th" + }, + { + "content": "Date", + "tag": "th" + } + ] + } + ], + "body": [ + { + "cells": [ + { + "content": ".70", + "tag": "td" + }, + { + "content": "No musician chosen.", + "tag": "td" + }, + { + "content": "May 27, 2003", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "1.0", + "tag": "td" + }, + { + "content": "Miles Davis", + "tag": "td" + }, + { + "content": "January 3, 2004", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "Lots of versions skipped, see the full list", + "tag": "td" + }, + { + "content": "…", + "tag": "td" + }, + { + "content": "…", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.4", + "tag": "td" + }, + { + "content": "Clifford Brown", + "tag": "td" + }, + { + "content": "December 8, 2015", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.5", + "tag": "td" + }, + { + "content": "Coleman Hawkins", + "tag": "td" + }, + { + "content": "April 12, 2016", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.6", + "tag": "td" + }, + { + "content": "Pepper Adams", + "tag": "td" + }, + { + "content": "August 16, 2016", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.7", + "tag": "td" + }, + { + "content": "Sarah Vaughan", + "tag": "td" + }, + { + "content": "December 6, 2016", + "tag": "td" + } + ] + } + ], + "foot": [] + }, + "innerBlocks": [], + "originalContent": "
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__table.parsed.json b/packages/e2e-tests/fixtures/blocks/core__table.parsed.json index 591b028b25b567..879e0bd9bcd1c0 100644 --- a/packages/e2e-tests/fixtures/blocks/core__table.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__table.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/table", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n", - "innerContent": [ - "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/table", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n", + "innerContent": [ + "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__table__caption.json b/packages/e2e-tests/fixtures/blocks/core__table__caption.json index 5a956ed2df3614..860d41ebbad118 100644 --- a/packages/e2e-tests/fixtures/blocks/core__table__caption.json +++ b/packages/e2e-tests/fixtures/blocks/core__table__caption.json @@ -1,146 +1,146 @@ [ - { - "clientId": "_clientId_0", - "name": "core/table", - "isValid": true, - "attributes": { - "hasFixedLayout": false, - "caption": "A table for testing", - "head": [ - { - "cells": [ - { - "content": "Version", - "tag": "th" - }, - { - "content": "Musician", - "tag": "th" - }, - { - "content": "Date", - "tag": "th" - } - ] - } - ], - "body": [ - { - "cells": [ - { - "content": ".70", - "tag": "td" - }, - { - "content": "No musician chosen.", - "tag": "td" - }, - { - "content": "May 27, 2003", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "1.0", - "tag": "td" - }, - { - "content": "Miles Davis", - "tag": "td" - }, - { - "content": "January 3, 2004", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "Lots of versions skipped, see the full list", - "tag": "td" - }, - { - "content": "…", - "tag": "td" - }, - { - "content": "…", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.4", - "tag": "td" - }, - { - "content": "Clifford Brown", - "tag": "td" - }, - { - "content": "December 8, 2015", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.5", - "tag": "td" - }, - { - "content": "Coleman Hawkins", - "tag": "td" - }, - { - "content": "April 12, 2016", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.6", - "tag": "td" - }, - { - "content": "Pepper Adams", - "tag": "td" - }, - { - "content": "August 16, 2016", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.7", - "tag": "td" - }, - { - "content": "Sarah Vaughan", - "tag": "td" - }, - { - "content": "December 6, 2016", - "tag": "td" - } - ] - } - ], - "foot": [] - }, - "innerBlocks": [], - "originalContent": "
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            A table for testing
            " - } + { + "clientId": "_clientId_0", + "name": "core/table", + "isValid": true, + "attributes": { + "hasFixedLayout": false, + "caption": "A table for testing", + "head": [ + { + "cells": [ + { + "content": "Version", + "tag": "th" + }, + { + "content": "Musician", + "tag": "th" + }, + { + "content": "Date", + "tag": "th" + } + ] + } + ], + "body": [ + { + "cells": [ + { + "content": ".70", + "tag": "td" + }, + { + "content": "No musician chosen.", + "tag": "td" + }, + { + "content": "May 27, 2003", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "1.0", + "tag": "td" + }, + { + "content": "Miles Davis", + "tag": "td" + }, + { + "content": "January 3, 2004", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "Lots of versions skipped, see the full list", + "tag": "td" + }, + { + "content": "…", + "tag": "td" + }, + { + "content": "…", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.4", + "tag": "td" + }, + { + "content": "Clifford Brown", + "tag": "td" + }, + { + "content": "December 8, 2015", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.5", + "tag": "td" + }, + { + "content": "Coleman Hawkins", + "tag": "td" + }, + { + "content": "April 12, 2016", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.6", + "tag": "td" + }, + { + "content": "Pepper Adams", + "tag": "td" + }, + { + "content": "August 16, 2016", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.7", + "tag": "td" + }, + { + "content": "Sarah Vaughan", + "tag": "td" + }, + { + "content": "December 6, 2016", + "tag": "td" + } + ] + } + ], + "foot": [] + }, + "innerBlocks": [], + "originalContent": "
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            A table for testing
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__table__caption.parsed.json b/packages/e2e-tests/fixtures/blocks/core__table__caption.parsed.json index 5b73aabf129e48..04a0f98d433b03 100644 --- a/packages/e2e-tests/fixtures/blocks/core__table__caption.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__table__caption.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/table", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            A table for testing
            \n", - "innerContent": [ - "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            A table for testing
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/table", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            A table for testing
            \n", + "innerContent": [ + "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            A table for testing
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__table__deprecated-1.json b/packages/e2e-tests/fixtures/blocks/core__table__deprecated-1.json index 7d71d09c53be82..5cf533303afa18 100644 --- a/packages/e2e-tests/fixtures/blocks/core__table__deprecated-1.json +++ b/packages/e2e-tests/fixtures/blocks/core__table__deprecated-1.json @@ -1,145 +1,145 @@ [ - { - "clientId": "_clientId_0", - "name": "core/table", - "isValid": true, - "attributes": { - "hasFixedLayout": false, - "head": [ - { - "cells": [ - { - "content": "Version", - "tag": "th" - }, - { - "content": "Musician", - "tag": "th" - }, - { - "content": "Date", - "tag": "th" - } - ] - } - ], - "body": [ - { - "cells": [ - { - "content": ".70", - "tag": "td" - }, - { - "content": "No musician chosen.", - "tag": "td" - }, - { - "content": "May 27, 2003", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "1.0", - "tag": "td" - }, - { - "content": "Miles Davis", - "tag": "td" - }, - { - "content": "January 3, 2004", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "Lots of versions skipped, see the full list", - "tag": "td" - }, - { - "content": "…", - "tag": "td" - }, - { - "content": "…", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.4", - "tag": "td" - }, - { - "content": "Clifford Brown", - "tag": "td" - }, - { - "content": "December 8, 2015", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.5", - "tag": "td" - }, - { - "content": "Coleman Hawkins", - "tag": "td" - }, - { - "content": "April 12, 2016", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.6", - "tag": "td" - }, - { - "content": "Pepper Adams", - "tag": "td" - }, - { - "content": "August 16, 2016", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.7", - "tag": "td" - }, - { - "content": "Sarah Vaughan", - "tag": "td" - }, - { - "content": "December 6, 2016", - "tag": "td" - } - ] - } - ], - "foot": [] - }, - "innerBlocks": [], - "originalContent": "
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            " - } + { + "clientId": "_clientId_0", + "name": "core/table", + "isValid": true, + "attributes": { + "hasFixedLayout": false, + "head": [ + { + "cells": [ + { + "content": "Version", + "tag": "th" + }, + { + "content": "Musician", + "tag": "th" + }, + { + "content": "Date", + "tag": "th" + } + ] + } + ], + "body": [ + { + "cells": [ + { + "content": ".70", + "tag": "td" + }, + { + "content": "No musician chosen.", + "tag": "td" + }, + { + "content": "May 27, 2003", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "1.0", + "tag": "td" + }, + { + "content": "Miles Davis", + "tag": "td" + }, + { + "content": "January 3, 2004", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "Lots of versions skipped, see the full list", + "tag": "td" + }, + { + "content": "…", + "tag": "td" + }, + { + "content": "…", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.4", + "tag": "td" + }, + { + "content": "Clifford Brown", + "tag": "td" + }, + { + "content": "December 8, 2015", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.5", + "tag": "td" + }, + { + "content": "Coleman Hawkins", + "tag": "td" + }, + { + "content": "April 12, 2016", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.6", + "tag": "td" + }, + { + "content": "Pepper Adams", + "tag": "td" + }, + { + "content": "August 16, 2016", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.7", + "tag": "td" + }, + { + "content": "Sarah Vaughan", + "tag": "td" + }, + { + "content": "December 6, 2016", + "tag": "td" + } + ] + } + ], + "foot": [] + }, + "innerBlocks": [], + "originalContent": "
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__table__deprecated-1.parsed.json b/packages/e2e-tests/fixtures/blocks/core__table__deprecated-1.parsed.json index 5462dae3908a8c..bbe23cb3602f33 100644 --- a/packages/e2e-tests/fixtures/blocks/core__table__deprecated-1.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__table__deprecated-1.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/table", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n", - "innerContent": [ - "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/table", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n", + "innerContent": [ + "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__table__scope-attribute.json b/packages/e2e-tests/fixtures/blocks/core__table__scope-attribute.json index 994fd2936de7a5..153dfdc3ee415e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__table__scope-attribute.json +++ b/packages/e2e-tests/fixtures/blocks/core__table__scope-attribute.json @@ -1,149 +1,149 @@ [ - { - "clientId": "_clientId_0", - "name": "core/table", - "isValid": true, - "attributes": { - "hasFixedLayout": false, - "caption": "", - "head": [ - { - "cells": [ - { - "content": "Version", - "tag": "th", - "scope": "col" - }, - { - "content": "Musician", - "tag": "th", - "scope": "col" - }, - { - "content": "Date", - "tag": "th", - "scope": "col" - } - ] - } - ], - "body": [ - { - "cells": [ - { - "content": ".70", - "tag": "td" - }, - { - "content": "No musician chosen.", - "tag": "td" - }, - { - "content": "May 27, 2003", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "1.0", - "tag": "td" - }, - { - "content": "Miles Davis", - "tag": "td" - }, - { - "content": "January 3, 2004", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "Lots of versions skipped, see the full list", - "tag": "td" - }, - { - "content": "…", - "tag": "td" - }, - { - "content": "…", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.4", - "tag": "td" - }, - { - "content": "Clifford Brown", - "tag": "td" - }, - { - "content": "December 8, 2015", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.5", - "tag": "td" - }, - { - "content": "Coleman Hawkins", - "tag": "td" - }, - { - "content": "April 12, 2016", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.6", - "tag": "td" - }, - { - "content": "Pepper Adams", - "tag": "td" - }, - { - "content": "August 16, 2016", - "tag": "td" - } - ] - }, - { - "cells": [ - { - "content": "4.7", - "tag": "td" - }, - { - "content": "Sarah Vaughan", - "tag": "td" - }, - { - "content": "December 6, 2016", - "tag": "td" - } - ] - } - ], - "foot": [] - }, - "innerBlocks": [], - "originalContent": "
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            " - } + { + "clientId": "_clientId_0", + "name": "core/table", + "isValid": true, + "attributes": { + "hasFixedLayout": false, + "caption": "", + "head": [ + { + "cells": [ + { + "content": "Version", + "tag": "th", + "scope": "col" + }, + { + "content": "Musician", + "tag": "th", + "scope": "col" + }, + { + "content": "Date", + "tag": "th", + "scope": "col" + } + ] + } + ], + "body": [ + { + "cells": [ + { + "content": ".70", + "tag": "td" + }, + { + "content": "No musician chosen.", + "tag": "td" + }, + { + "content": "May 27, 2003", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "1.0", + "tag": "td" + }, + { + "content": "Miles Davis", + "tag": "td" + }, + { + "content": "January 3, 2004", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "Lots of versions skipped, see the full list", + "tag": "td" + }, + { + "content": "…", + "tag": "td" + }, + { + "content": "…", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.4", + "tag": "td" + }, + { + "content": "Clifford Brown", + "tag": "td" + }, + { + "content": "December 8, 2015", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.5", + "tag": "td" + }, + { + "content": "Coleman Hawkins", + "tag": "td" + }, + { + "content": "April 12, 2016", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.6", + "tag": "td" + }, + { + "content": "Pepper Adams", + "tag": "td" + }, + { + "content": "August 16, 2016", + "tag": "td" + } + ] + }, + { + "cells": [ + { + "content": "4.7", + "tag": "td" + }, + { + "content": "Sarah Vaughan", + "tag": "td" + }, + { + "content": "December 6, 2016", + "tag": "td" + } + ] + } + ], + "foot": [] + }, + "innerBlocks": [], + "originalContent": "
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__table__scope-attribute.parsed.json b/packages/e2e-tests/fixtures/blocks/core__table__scope-attribute.parsed.json index 052a8a0a3d049c..01c1654afe6240 100644 --- a/packages/e2e-tests/fixtures/blocks/core__table__scope-attribute.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__table__scope-attribute.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/table", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n", - "innerContent": [ - "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/table", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n", + "innerContent": [ + "\n
            VersionMusicianDate
            .70No musician chosen.May 27, 2003
            1.0Miles DavisJanuary 3, 2004
            Lots of versions skipped, see the full list
            4.4Clifford BrownDecember 8, 2015
            4.5Coleman HawkinsApril 12, 2016
            4.6Pepper AdamsAugust 16, 2016
            4.7Sarah VaughanDecember 6, 2016
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__tag-cloud.json b/packages/e2e-tests/fixtures/blocks/core__tag-cloud.json index da9762c711adb4..1037c98d1b3302 100644 --- a/packages/e2e-tests/fixtures/blocks/core__tag-cloud.json +++ b/packages/e2e-tests/fixtures/blocks/core__tag-cloud.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/tag-cloud", - "isValid": true, - "attributes": { - "taxonomy": "category", - "showTagCounts": false - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/tag-cloud", + "isValid": true, + "attributes": { + "taxonomy": "category", + "showTagCounts": false + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__tag-cloud.parsed.json b/packages/e2e-tests/fixtures/blocks/core__tag-cloud.parsed.json index cb601766c2b8e1..b69342a23379af 100644 --- a/packages/e2e-tests/fixtures/blocks/core__tag-cloud.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__tag-cloud.parsed.json @@ -1,11 +1,11 @@ [ - { - "blockName": "core/tag-cloud", - "attrs": { - "taxonomy": "category" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - } + { + "blockName": "core/tag-cloud", + "attrs": { + "taxonomy": "category" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.json b/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.json index 5946f7330f8b55..b15cf68c841587 100644 --- a/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.json +++ b/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/tag-cloud", - "isValid": true, - "attributes": { - "taxonomy": "category", - "showTagCounts": true - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/tag-cloud", + "isValid": true, + "attributes": { + "taxonomy": "category", + "showTagCounts": true + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.parsed.json b/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.parsed.json index 16de1a688ba372..cb90b9a7daff5d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__tag-cloud__showTagCounts.parsed.json @@ -1,12 +1,12 @@ [ - { - "blockName": "core/tag-cloud", - "attrs": { - "showTagCounts": true, - "taxonomy": "category" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - } + { + "blockName": "core/tag-cloud", + "attrs": { + "showTagCounts": true, + "taxonomy": "category" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__template-part.json b/packages/e2e-tests/fixtures/blocks/core__template-part.json index c8a1b7373a6a61..9b6c2455c83784 100644 --- a/packages/e2e-tests/fixtures/blocks/core__template-part.json +++ b/packages/e2e-tests/fixtures/blocks/core__template-part.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/template-part", - "isValid": true, - "attributes": { - "slug": "header", - "theme": "twentytwenty" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/template-part", + "isValid": true, + "attributes": { + "slug": "header", + "theme": "twentytwenty" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__template-part.parsed.json b/packages/e2e-tests/fixtures/blocks/core__template-part.parsed.json index 3391b52a93de2f..ad110b4acb4dac 100644 --- a/packages/e2e-tests/fixtures/blocks/core__template-part.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__template-part.parsed.json @@ -1,12 +1,12 @@ [ - { - "blockName": "core/template-part", - "attrs": { - "slug": "header", - "theme": "twentytwenty" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - } + { + "blockName": "core/template-part", + "attrs": { + "slug": "header", + "theme": "twentytwenty" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__term-description.json b/packages/e2e-tests/fixtures/blocks/core__term-description.json index 4148e19d752424..75f36e9f3cb227 100644 --- a/packages/e2e-tests/fixtures/blocks/core__term-description.json +++ b/packages/e2e-tests/fixtures/blocks/core__term-description.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/term-description", - "isValid": true, - "attributes": { - "align": "full" - }, - "innerBlocks": [], - "originalContent": "" - } + { + "clientId": "_clientId_0", + "name": "core/term-description", + "isValid": true, + "attributes": { + "align": "full" + }, + "innerBlocks": [], + "originalContent": "" + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__term-description.parsed.json b/packages/e2e-tests/fixtures/blocks/core__term-description.parsed.json index 30e6c5778a52d4..4369809108629f 100644 --- a/packages/e2e-tests/fixtures/blocks/core__term-description.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__term-description.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/term-description", - "attrs": { - "align": "full" - }, - "innerBlocks": [], - "innerHTML": "", - "innerContent": [] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/term-description", + "attrs": { + "align": "full" + }, + "innerBlocks": [], + "innerHTML": "", + "innerContent": [] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__text-columns.json b/packages/e2e-tests/fixtures/blocks/core__text-columns.json index f610db9e556a71..751cf8efb66e0e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__text-columns.json +++ b/packages/e2e-tests/fixtures/blocks/core__text-columns.json @@ -1,21 +1,21 @@ [ - { - "clientId": "_clientId_0", - "name": "core/text-columns", - "isValid": true, - "attributes": { - "content": [ - { - "children": "One" - }, - { - "children": "Two" - } - ], - "columns": 2, - "width": "center" - }, - "innerBlocks": [], - "originalContent": "
            \n
            \n

            One

            \n
            \n
            \n

            Two

            \n
            \n
            " - } + { + "clientId": "_clientId_0", + "name": "core/text-columns", + "isValid": true, + "attributes": { + "content": [ + { + "children": "One" + }, + { + "children": "Two" + } + ], + "columns": 2, + "width": "center" + }, + "innerBlocks": [], + "originalContent": "
            \n
            \n

            One

            \n
            \n
            \n

            Two

            \n
            \n
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__text-columns.parsed.json b/packages/e2e-tests/fixtures/blocks/core__text-columns.parsed.json index b00a69b7e3f546..4ef306df15be21 100644 --- a/packages/e2e-tests/fixtures/blocks/core__text-columns.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__text-columns.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/text-columns", - "attrs": { - "width": "center" - }, - "innerBlocks": [], - "innerHTML": "\n
            \n
            \n

            One

            \n
            \n
            \n

            Two

            \n
            \n
            \n", - "innerContent": [ - "\n
            \n
            \n

            One

            \n
            \n
            \n

            Two

            \n
            \n
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/text-columns", + "attrs": { + "width": "center" + }, + "innerBlocks": [], + "innerHTML": "\n
            \n
            \n

            One

            \n
            \n
            \n

            Two

            \n
            \n
            \n", + "innerContent": [ + "\n
            \n
            \n

            One

            \n
            \n
            \n

            Two

            \n
            \n
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.json b/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.json index 2f85e75d9af262..d2963c8cbcb698 100644 --- a/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.json +++ b/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/paragraph", - "isValid": true, - "attributes": { - "content": "This is an old-style text block. Changed to paragraph in #2135.", - "dropCap": false - }, - "innerBlocks": [], - "originalContent": "

            This is an old-style text block. Changed to paragraph in #2135.

            " - } + { + "clientId": "_clientId_0", + "name": "core/paragraph", + "isValid": true, + "attributes": { + "content": "This is an old-style text block. Changed to paragraph in #2135.", + "dropCap": false + }, + "innerBlocks": [], + "originalContent": "

            This is an old-style text block. Changed to paragraph in #2135.

            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.parsed.json b/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.parsed.json index 1e472910342844..767826d9af268d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__text__converts-to-paragraph.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/text", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n

            This is an old-style text block. Changed to paragraph in #2135.

            \n", - "innerContent": [ - "\n

            This is an old-style text block. Changed to paragraph in #2135.

            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/text", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n

            This is an old-style text block. Changed to paragraph in #2135.

            \n", + "innerContent": [ + "\n

            This is an old-style text block. Changed to paragraph in #2135.

            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__verse.json b/packages/e2e-tests/fixtures/blocks/core__verse.json index 5c6e3d83e65162..2bbafefc1a9594 100644 --- a/packages/e2e-tests/fixtures/blocks/core__verse.json +++ b/packages/e2e-tests/fixtures/blocks/core__verse.json @@ -1,12 +1,12 @@ [ - { - "clientId": "_clientId_0", - "name": "core/verse", - "isValid": true, - "attributes": { - "content": "A verse
            And more!" - }, - "innerBlocks": [], - "originalContent": "
            A verse
            And more!
            " - } + { + "clientId": "_clientId_0", + "name": "core/verse", + "isValid": true, + "attributes": { + "content": "A verse
            And more!" + }, + "innerBlocks": [], + "originalContent": "
            A verse
            And more!
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__verse.parsed.json b/packages/e2e-tests/fixtures/blocks/core__verse.parsed.json index 2fbff3b1b326ed..50070b444e058e 100644 --- a/packages/e2e-tests/fixtures/blocks/core__verse.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__verse.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/verse", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
            A verse
            And more!
            \n", - "innerContent": [ - "\n
            A verse
            And more!
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/verse", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
            A verse
            And more!
            \n", + "innerContent": [ + "\n
            A verse
            And more!
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__verse__deprecated.json b/packages/e2e-tests/fixtures/blocks/core__verse__deprecated.json index 002e26a7da88b9..960a40c1c78062 100644 --- a/packages/e2e-tests/fixtures/blocks/core__verse__deprecated.json +++ b/packages/e2e-tests/fixtures/blocks/core__verse__deprecated.json @@ -1,13 +1,13 @@ [ - { - "clientId": "_clientId_0", - "name": "core/verse", - "isValid": true, - "attributes": { - "content": "A verse
            And more!", - "textAlign": "left" - }, - "innerBlocks": [], - "originalContent": "
            A verse
            And more!
            " - } + { + "clientId": "_clientId_0", + "name": "core/verse", + "isValid": true, + "attributes": { + "content": "A verse
            And more!", + "textAlign": "left" + }, + "innerBlocks": [], + "originalContent": "
            A verse
            And more!
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__verse__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core__verse__deprecated.parsed.json index 2e703ee0d855ea..3e9a3314e8a99d 100644 --- a/packages/e2e-tests/fixtures/blocks/core__verse__deprecated.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__verse__deprecated.parsed.json @@ -1,22 +1,20 @@ [ - { - "blockName": "core/verse", - "attrs": { - "textAlign": "left" - }, - "innerBlocks": [], - "innerHTML": "\n
            A verse
            And more!
            \n", - "innerContent": [ - "\n
            A verse
            And more!
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/verse", + "attrs": { + "textAlign": "left" + }, + "innerBlocks": [], + "innerHTML": "\n
            A verse
            And more!
            \n", + "innerContent": [ + "\n
            A verse
            And more!
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__video.json b/packages/e2e-tests/fixtures/blocks/core__video.json index 8b5963a98c714a..278eb0e1142929 100644 --- a/packages/e2e-tests/fixtures/blocks/core__video.json +++ b/packages/e2e-tests/fixtures/blocks/core__video.json @@ -1,20 +1,20 @@ [ - { - "clientId": "_clientId_0", - "name": "core/video", - "isValid": true, - "attributes": { - "autoplay": false, - "caption": "", - "controls": true, - "loop": false, - "muted": false, - "preload": "metadata", - "src": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", - "playsInline": false, - "tracks": [] - }, - "innerBlocks": [], - "originalContent": "
            " - } + { + "clientId": "_clientId_0", + "name": "core/video", + "isValid": true, + "attributes": { + "autoplay": false, + "caption": "", + "controls": true, + "loop": false, + "muted": false, + "preload": "metadata", + "src": "data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=", + "playsInline": false, + "tracks": [] + }, + "innerBlocks": [], + "originalContent": "
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core__video.parsed.json b/packages/e2e-tests/fixtures/blocks/core__video.parsed.json index e270252ee38745..26086b1ebc064c 100644 --- a/packages/e2e-tests/fixtures/blocks/core__video.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core__video.parsed.json @@ -1,20 +1,18 @@ [ - { - "blockName": "core/video", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n
            \n", - "innerContent": [ - "\n
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/video", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n
            \n", + "innerContent": [ + "\n
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core_buttons__simple__deprecated.json b/packages/e2e-tests/fixtures/blocks/core_buttons__simple__deprecated.json index 1ae83f325b61d5..885679a67bfe3c 100644 --- a/packages/e2e-tests/fixtures/blocks/core_buttons__simple__deprecated.json +++ b/packages/e2e-tests/fixtures/blocks/core_buttons__simple__deprecated.json @@ -1,33 +1,33 @@ [ - { - "clientId": "_clientId_0", - "name": "core/buttons", - "isValid": true, - "attributes": { - "orientation": "horizontal" - }, - "innerBlocks": [ - { - "clientId": "_clientId_0", - "name": "core/button", - "isValid": true, - "attributes": { - "text": "My button 1" - }, - "innerBlocks": [], - "originalContent": "My button 1" - }, - { - "clientId": "_clientId_1", - "name": "core/button", - "isValid": true, - "attributes": { - "text": "My button 2" - }, - "innerBlocks": [], - "originalContent": "My button 2" - } - ], - "originalContent": "
            \n\t\n\n\t\n
            " - } + { + "clientId": "_clientId_0", + "name": "core/buttons", + "isValid": true, + "attributes": { + "orientation": "horizontal" + }, + "innerBlocks": [ + { + "clientId": "_clientId_0", + "name": "core/button", + "isValid": true, + "attributes": { + "text": "My button 1" + }, + "innerBlocks": [], + "originalContent": "My button 1" + }, + { + "clientId": "_clientId_1", + "name": "core/button", + "isValid": true, + "attributes": { + "text": "My button 2" + }, + "innerBlocks": [], + "originalContent": "My button 2" + } + ], + "originalContent": "
            \n\t\n\n\t\n
            " + } ] diff --git a/packages/e2e-tests/fixtures/blocks/core_buttons__simple__deprecated.parsed.json b/packages/e2e-tests/fixtures/blocks/core_buttons__simple__deprecated.parsed.json index ee9dd97313a48b..3f46caf7d8607d 100644 --- a/packages/e2e-tests/fixtures/blocks/core_buttons__simple__deprecated.parsed.json +++ b/packages/e2e-tests/fixtures/blocks/core_buttons__simple__deprecated.parsed.json @@ -1,43 +1,41 @@ [ - { - "blockName": "core/buttons", - "attrs": {}, - "innerBlocks": [ - { - "blockName": "core/button", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\tMy button 1\n\t", - "innerContent": [ - "\n\tMy button 1\n\t" - ] - }, - { - "blockName": "core/button", - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n\tMy button 2\n\t", - "innerContent": [ - "\n\tMy button 2\n\t" - ] - } - ], - "innerHTML": "\n
            \n\t\n\n\t\n
            \n", - "innerContent": [ - "\n
            \n\t", - null, - "\n\n\t", - null, - "\n
            \n" - ] - }, - { - "blockName": null, - "attrs": {}, - "innerBlocks": [], - "innerHTML": "\n", - "innerContent": [ - "\n" - ] - } + { + "blockName": "core/buttons", + "attrs": {}, + "innerBlocks": [ + { + "blockName": "core/button", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\tMy button 1\n\t", + "innerContent": [ + "\n\tMy button 1\n\t" + ] + }, + { + "blockName": "core/button", + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n\tMy button 2\n\t", + "innerContent": [ + "\n\tMy button 2\n\t" + ] + } + ], + "innerHTML": "\n
            \n\t\n\n\t\n
            \n", + "innerContent": [ + "\n
            \n\t", + null, + "\n\n\t", + null, + "\n
            \n" + ] + }, + { + "blockName": null, + "attrs": {}, + "innerBlocks": [], + "innerHTML": "\n", + "innerContent": [ "\n" ] + } ] diff --git a/packages/e2e-tests/specs/experiments/fixtures/menu-items-response-fixture.json b/packages/e2e-tests/specs/experiments/fixtures/menu-items-response-fixture.json index 5bf5baa7c228a3..edee5ac96a11f9 100644 --- a/packages/e2e-tests/specs/experiments/fixtures/menu-items-response-fixture.json +++ b/packages/e2e-tests/specs/experiments/fixtures/menu-items-response-fixture.json @@ -1,1357 +1,1261 @@ [ - { - "id": 94, - "title": { - "raw": "Home", - "rendered": "Home" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/", - "attr_title": "", - "description": "", - "type": "custom", - "type_label": "Custom Link", - "object": "custom", - "object_id": 94, - "parent": 0, - "menu_order": 1, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/94" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=94" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/94" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/94" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/94" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/94" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 95, - "title": { - "raw": "", - "rendered": "Accusamus quo repellat illum magnam quas" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=41", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 41, - "parent": 0, - "menu_order": 2, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/95" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=95" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/41" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/95" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/95" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/95" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/95" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 96, - "title": { - "raw": "", - "rendered": "Debitis cum consequatur sit doloremque" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=51", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 51, - "parent": 95, - "menu_order": 3, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/96" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=96" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/51" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/96" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/96" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/96" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/96" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 97, - "title": { - "raw": "", - "rendered": "Est ea vero non nihil officiis in" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=53", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 53, - "parent": 0, - "menu_order": 4, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/97" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=97" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/53" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/97" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/97" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/97" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/97" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 98, - "title": { - "raw": "", - "rendered": "Fuga odio quis tempora" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=56", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 56, - "parent": 97, - "menu_order": 5, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/98" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=98" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/56" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/98" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/98" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/98" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/98" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 99, - "title": { - "raw": "", - "rendered": "In consectetur repellendus eveniet maiores aperiam" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=15", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 15, - "parent": 98, - "menu_order": 6, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/99" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=99" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/15" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/99" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/99" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/99" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/99" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 100, - "title": { - "raw": "", - "rendered": "Mollitia maiores consequatur ea dolorem blanditiis" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=45", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 45, - "parent": 99, - "menu_order": 7, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/100" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=100" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/45" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/100" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/100" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/100" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/100" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 101, - "title": { - "raw": "", - "rendered": "Necessitatibus nisi qui qui necessitatibus quaerat possimus" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=27", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 27, - "parent": 100, - "menu_order": 8, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/101" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=101" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/27" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/101" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/101" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/101" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/101" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 102, - "title": { - "raw": "", - "rendered": "Nulla omnis autem dolores eligendi" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=43", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 43, - "parent": 0, - "menu_order": 9, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/102" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=102" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/43" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/102" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/102" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/102" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/102" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 103, - "title": { - "raw": "", - "rendered": "Sample Page" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?page_id=2", - "attr_title": "", - "description": "", - "type": "post_type", - "type_label": "Page", - "object": "page", - "object_id": 2, - "parent": 0, - "menu_order": 10, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/103" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=103" - } - ], - "wp:object": [ - { - "post_type": "post_type", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/pages\/2" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/103" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/103" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/103" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/103" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 104, - "title": { - "raw": "", - "rendered": "Beatae qui labore voluptas eveniet officia quia voluptas qui porro sequi et aut est" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?cat=7", - "attr_title": "", - "description": "Ratione nemo ut aut ullam sed assumenda quis est exercitationem", - "type": "taxonomy", - "type_label": "Category", - "object": "category", - "object_id": 7, - "parent": 0, - "menu_order": 11, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/104" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=104" - } - ], - "wp:object": [ - { - "taxonomy": "taxonomy", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/categories\/7" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/104" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/104" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/104" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/104" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 105, - "title": { - "raw": "", - "rendered": "Et minus itaque velit tempore hic quisquam saepe quas asperiores" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?cat=19", - "attr_title": "", - "description": "Vel fuga enim rerum perspiciatis sapiente mollitia magni ut molestiae labore quae quia quia libero perspiciatis voluptatem quidem deleniti eveniet laboriosam doloribus dolor laborum accusantium modi ducimus itaque rerum cum nostrum", - "type": "taxonomy", - "type_label": "Category", - "object": "category", - "object_id": 19, - "parent": 104, - "menu_order": 12, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/105" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=105" - } - ], - "wp:object": [ - { - "taxonomy": "taxonomy", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/categories\/19" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/105" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/105" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/105" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/105" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 106, - "title": { - "raw": "", - "rendered": "Et quas a et mollitia et voluptas optio voluptate quia quo unde aut in nostrum iste impedit quisquam id aut" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?cat=6", - "attr_title": "", - "description": "Quas sit labore earum omnis eos sint iste est possimus harum aut soluta sint optio quos distinctio inventore voluptate non ut aliquam ad ut voluptates fugiat numquam magnam modi repellendus modi laudantium et debitis officia est voluptatum quidem unde molestiae animi vero fuga accusamus nam", - "type": "taxonomy", - "type_label": "Category", - "object": "category", - "object_id": 6, - "parent": 105, - "menu_order": 13, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/106" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=106" - } - ], - "wp:object": [ - { - "taxonomy": "taxonomy", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/categories\/6" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/106" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/106" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/106" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/106" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 107, - "title": { - "raw": "", - "rendered": "Illo quis sit impedit itaque expedita earum deserunt magni doloremque velit eum id error" - }, - "status": "publish", - "url": "http:\/\/localhost:8889\/?cat=16", - "attr_title": "", - "description": "Doloremque vero sunt officiis iste voluptatibus voluptas molestiae sint asperiores recusandae amet praesentium et explicabo nesciunt similique voluptatum laudantium amet officiis quas distinctio quis enim nihil tempora", - "type": "taxonomy", - "type_label": "Category", - "object": "category", - "object_id": 16, - "parent": 106, - "menu_order": 14, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/107" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=107" - } - ], - "wp:object": [ - { - "taxonomy": "taxonomy", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/categories\/16" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/107" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/107" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/107" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/107" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 108, - "title": { - "raw": "WordPress.org", - "rendered": "WordPress.org" - }, - "status": "publish", - "url": "https:\/\/wordpress.org", - "attr_title": "", - "description": "", - "type": "custom", - "type_label": "Custom Link", - "object": "custom", - "object_id": 108, - "parent": 0, - "menu_order": 15, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/108" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=108" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/108" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/108" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/108" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/108" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - }, - { - "id": 109, - "title": { - "raw": "Google", - "rendered": "Google" - }, - "status": "publish", - "url": "https:\/\/google.com", - "attr_title": "", - "description": "", - "type": "custom", - "type_label": "Custom Link", - "object": "custom", - "object_id": 109, - "parent": 108, - "menu_order": 16, - "target": "", - "classes": [ - "" - ], - "xfn": [ - "" - ], - "meta": [], - "menus": [ - 23 - ], - "_links": { - "self": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/109" - } - ], - "collection": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items" - } - ], - "about": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/wp\/v2\/types\/nav_menu_item" - } - ], - "wp:term": [ - { - "taxonomy": "nav_menu", - "embeddable": true, - "href": "http:\/\/localhost:8889\/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=109" - } - ], - "wp:action-publish": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/109" - } - ], - "wp:action-unfiltered-html": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/109" - } - ], - "wp:action-create-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/109" - } - ], - "wp:action-assign-menus": [ - { - "href": "http:\/\/localhost:8889\/index.php?rest_route=\/__experimental\/menu-items\/109" - } - ], - "curies": [ - { - "name": "wp", - "href": "https:\/\/api.w.org\/{rel}", - "templated": true - } - ] - } - } -] \ No newline at end of file + { + "id": 94, + "title": { + "raw": "Home", + "rendered": "Home" + }, + "status": "publish", + "url": "http://localhost:8889/", + "attr_title": "", + "description": "", + "type": "custom", + "type_label": "Custom Link", + "object": "custom", + "object_id": 94, + "parent": 0, + "menu_order": 1, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/94" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=94" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/94" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/94" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/94" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/94" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 95, + "title": { + "raw": "", + "rendered": "Accusamus quo repellat illum magnam quas" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=41", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 41, + "parent": 0, + "menu_order": 2, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/95" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=95" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/41" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/95" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/95" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/95" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/95" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 96, + "title": { + "raw": "", + "rendered": "Debitis cum consequatur sit doloremque" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=51", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 51, + "parent": 95, + "menu_order": 3, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/96" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=96" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/51" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/96" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/96" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/96" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/96" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 97, + "title": { + "raw": "", + "rendered": "Est ea vero non nihil officiis in" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=53", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 53, + "parent": 0, + "menu_order": 4, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/97" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=97" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/53" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/97" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/97" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/97" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/97" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 98, + "title": { + "raw": "", + "rendered": "Fuga odio quis tempora" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=56", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 56, + "parent": 97, + "menu_order": 5, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/98" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=98" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/56" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/98" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/98" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/98" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/98" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 99, + "title": { + "raw": "", + "rendered": "In consectetur repellendus eveniet maiores aperiam" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=15", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 15, + "parent": 98, + "menu_order": 6, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/99" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=99" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/15" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/99" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/99" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/99" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/99" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 100, + "title": { + "raw": "", + "rendered": "Mollitia maiores consequatur ea dolorem blanditiis" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=45", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 45, + "parent": 99, + "menu_order": 7, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/100" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=100" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/45" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/100" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/100" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/100" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/100" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 101, + "title": { + "raw": "", + "rendered": "Necessitatibus nisi qui qui necessitatibus quaerat possimus" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=27", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 27, + "parent": 100, + "menu_order": 8, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/101" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=101" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/27" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/101" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/101" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/101" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/101" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 102, + "title": { + "raw": "", + "rendered": "Nulla omnis autem dolores eligendi" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=43", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 43, + "parent": 0, + "menu_order": 9, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/102" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=102" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/43" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/102" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/102" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/102" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/102" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 103, + "title": { + "raw": "", + "rendered": "Sample Page" + }, + "status": "publish", + "url": "http://localhost:8889/?page_id=2", + "attr_title": "", + "description": "", + "type": "post_type", + "type_label": "Page", + "object": "page", + "object_id": 2, + "parent": 0, + "menu_order": 10, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/103" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=103" + } + ], + "wp:object": [ + { + "post_type": "post_type", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/pages/2" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/103" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/103" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/103" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/103" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 104, + "title": { + "raw": "", + "rendered": "Beatae qui labore voluptas eveniet officia quia voluptas qui porro sequi et aut est" + }, + "status": "publish", + "url": "http://localhost:8889/?cat=7", + "attr_title": "", + "description": "Ratione nemo ut aut ullam sed assumenda quis est exercitationem", + "type": "taxonomy", + "type_label": "Category", + "object": "category", + "object_id": 7, + "parent": 0, + "menu_order": 11, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/104" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=104" + } + ], + "wp:object": [ + { + "taxonomy": "taxonomy", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/categories/7" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/104" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/104" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/104" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/104" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 105, + "title": { + "raw": "", + "rendered": "Et minus itaque velit tempore hic quisquam saepe quas asperiores" + }, + "status": "publish", + "url": "http://localhost:8889/?cat=19", + "attr_title": "", + "description": "Vel fuga enim rerum perspiciatis sapiente mollitia magni ut molestiae labore quae quia quia libero perspiciatis voluptatem quidem deleniti eveniet laboriosam doloribus dolor laborum accusantium modi ducimus itaque rerum cum nostrum", + "type": "taxonomy", + "type_label": "Category", + "object": "category", + "object_id": 19, + "parent": 104, + "menu_order": 12, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/105" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=105" + } + ], + "wp:object": [ + { + "taxonomy": "taxonomy", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/categories/19" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/105" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/105" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/105" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/105" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 106, + "title": { + "raw": "", + "rendered": "Et quas a et mollitia et voluptas optio voluptate quia quo unde aut in nostrum iste impedit quisquam id aut" + }, + "status": "publish", + "url": "http://localhost:8889/?cat=6", + "attr_title": "", + "description": "Quas sit labore earum omnis eos sint iste est possimus harum aut soluta sint optio quos distinctio inventore voluptate non ut aliquam ad ut voluptates fugiat numquam magnam modi repellendus modi laudantium et debitis officia est voluptatum quidem unde molestiae animi vero fuga accusamus nam", + "type": "taxonomy", + "type_label": "Category", + "object": "category", + "object_id": 6, + "parent": 105, + "menu_order": 13, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/106" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=106" + } + ], + "wp:object": [ + { + "taxonomy": "taxonomy", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/categories/6" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/106" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/106" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/106" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/106" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 107, + "title": { + "raw": "", + "rendered": "Illo quis sit impedit itaque expedita earum deserunt magni doloremque velit eum id error" + }, + "status": "publish", + "url": "http://localhost:8889/?cat=16", + "attr_title": "", + "description": "Doloremque vero sunt officiis iste voluptatibus voluptas molestiae sint asperiores recusandae amet praesentium et explicabo nesciunt similique voluptatum laudantium amet officiis quas distinctio quis enim nihil tempora", + "type": "taxonomy", + "type_label": "Category", + "object": "category", + "object_id": 16, + "parent": 106, + "menu_order": 14, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/107" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=107" + } + ], + "wp:object": [ + { + "taxonomy": "taxonomy", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/categories/16" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/107" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/107" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/107" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/107" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 108, + "title": { + "raw": "WordPress.org", + "rendered": "WordPress.org" + }, + "status": "publish", + "url": "https://wordpress.org", + "attr_title": "", + "description": "", + "type": "custom", + "type_label": "Custom Link", + "object": "custom", + "object_id": 108, + "parent": 0, + "menu_order": 15, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/108" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=108" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/108" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/108" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/108" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/108" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + }, + { + "id": 109, + "title": { + "raw": "Google", + "rendered": "Google" + }, + "status": "publish", + "url": "https://google.com", + "attr_title": "", + "description": "", + "type": "custom", + "type_label": "Custom Link", + "object": "custom", + "object_id": 109, + "parent": 108, + "menu_order": 16, + "target": "", + "classes": [ "" ], + "xfn": [ "" ], + "meta": [], + "menus": [ 23 ], + "_links": { + "self": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/109" + } + ], + "collection": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items" + } + ], + "about": [ + { + "href": "http://localhost:8889/index.php?rest_route=/wp/v2/types/nav_menu_item" + } + ], + "wp:term": [ + { + "taxonomy": "nav_menu", + "embeddable": true, + "href": "http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmenus&post=109" + } + ], + "wp:action-publish": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/109" + } + ], + "wp:action-unfiltered-html": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/109" + } + ], + "wp:action-create-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/109" + } + ], + "wp:action-assign-menus": [ + { + "href": "http://localhost:8889/index.php?rest_route=/__experimental/menu-items/109" + } + ], + "curies": [ + { + "name": "wp", + "href": "https://api.w.org/{rel}", + "templated": true + } + ] + } + } +] diff --git a/packages/i18n/tsconfig.json b/packages/i18n/tsconfig.json index ef6ead9528f1a3..9d3c2f54d7b7e6 100644 --- a/packages/i18n/tsconfig.json +++ b/packages/i18n/tsconfig.json @@ -4,8 +4,6 @@ "rootDir": "src", "declarationDir": "build-types" }, - "references": [ - { "path": "../hooks" }, - ], - "include": [ "src/**/*" ], + "references": [ { "path": "../hooks" } ], + "include": [ "src/**/*" ] } diff --git a/packages/react-native-bridge/common/gutenberg-web-single-block/local-storage-overrides.json b/packages/react-native-bridge/common/gutenberg-web-single-block/local-storage-overrides.json index 431a973b906c36..f9cee4142d11ac 100644 --- a/packages/react-native-bridge/common/gutenberg-web-single-block/local-storage-overrides.json +++ b/packages/react-native-bridge/common/gutenberg-web-single-block/local-storage-overrides.json @@ -1,31 +1,23 @@ { - "core/edit-post": { - "preferences": { - "isGeneralSidebarDismissed": true, - "features": { - "fixedToolbar": false, - "showInserterHelpPanel": false, - "fullscreenMode": true, - "welcomeGuide": false - }, - "editorMode": "visual", - "pinnedPluginItems": { - - }, - "hiddenBlockTypes": [ - - ], - "preferredStyleVariations": { - - } - } - }, - "core/nux": { - "preferences": { - "areTipsEnabled": false, - "dismissedTips": { - - } - } - } + "core/edit-post": { + "preferences": { + "isGeneralSidebarDismissed": true, + "features": { + "fixedToolbar": false, + "showInserterHelpPanel": false, + "fullscreenMode": true, + "welcomeGuide": false + }, + "editorMode": "visual", + "pinnedPluginItems": {}, + "hiddenBlockTypes": [], + "preferredStyleVariations": {} + } + }, + "core/nux": { + "preferences": { + "areTipsEnabled": false, + "dismissedTips": {} + } + } } diff --git a/packages/react-native-editor/app.json b/packages/react-native-editor/app.json index 4d6b29af714c40..5e0fb100f6bcd9 100644 --- a/packages/react-native-editor/app.json +++ b/packages/react-native-editor/app.json @@ -1,4 +1,4 @@ { - "name": "gutenberg", - "displayName": "Gutenberg" + "name": "gutenberg", + "displayName": "Gutenberg" } diff --git a/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/AppIcon.appiconset/Contents.json b/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/AppIcon.appiconset/Contents.json index 19882d568afa3d..9138a0eee5c1d1 100644 --- a/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,53 +1,53 @@ { - "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - }, - { - "idiom" : "ios-marketing", - "size" : "1024x1024", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file + "images": [ + { + "idiom": "iphone", + "size": "20x20", + "scale": "2x" + }, + { + "idiom": "iphone", + "size": "20x20", + "scale": "3x" + }, + { + "idiom": "iphone", + "size": "29x29", + "scale": "2x" + }, + { + "idiom": "iphone", + "size": "29x29", + "scale": "3x" + }, + { + "idiom": "iphone", + "size": "40x40", + "scale": "2x" + }, + { + "idiom": "iphone", + "size": "40x40", + "scale": "3x" + }, + { + "idiom": "iphone", + "size": "60x60", + "scale": "2x" + }, + { + "idiom": "iphone", + "size": "60x60", + "scale": "3x" + }, + { + "idiom": "ios-marketing", + "size": "1024x1024", + "scale": "1x" + } + ], + "info": { + "version": 1, + "author": "xcode" + } +} diff --git a/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/Contents.json b/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/Contents.json index da4a164c918651..9a38aea4a8b791 100644 --- a/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/Contents.json +++ b/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/Contents.json @@ -1,6 +1,6 @@ { - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file + "info": { + "version": 1, + "author": "xcode" + } +} diff --git a/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/aztec.imageset/Contents.json b/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/aztec.imageset/Contents.json index 60b8cf92b7beda..5a8fd3350eba8b 100644 --- a/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/aztec.imageset/Contents.json +++ b/packages/react-native-editor/ios/GutenbergDemo/Images.xcassets/aztec.imageset/Contents.json @@ -1,21 +1,21 @@ { - "images" : [ - { - "idiom" : "universal", - "filename" : "aztec.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file + "images": [ + { + "idiom": "universal", + "filename": "aztec.png", + "scale": "1x" + }, + { + "idiom": "universal", + "scale": "2x" + }, + { + "idiom": "universal", + "scale": "3x" + } + ], + "info": { + "version": 1, + "author": "xcode" + } +} diff --git a/packages/url/src/test/fixtures/wpt-data.json b/packages/url/src/test/fixtures/wpt-data.json index ea5562d7a4b0af..9e460e6c75fb15 100644 --- a/packages/url/src/test/fixtures/wpt-data.json +++ b/packages/url/src/test/fixtures/wpt-data.json @@ -1 +1,292 @@ -[{"input":"https://test:@test"},{"input":"https://:@test"},{"input":"non-special://test:@test/x"},{"input":"non-special://:@test/x"},{"input":"lolscheme:x x#x x"},{"input":"file://example:1/","failure":true},{"input":"file://example:test/","failure":true},{"input":"file://example%/","failure":true},{"input":"file://[example]/","failure":true},{"input":"http://example.com/././foo"},{"input":"http://example.com/./.foo"},{"input":"http://example.com/foo/."},{"input":"http://example.com/foo/./"},{"input":"http://example.com/foo/bar/.."},{"input":"http://example.com/foo/bar/../"},{"input":"http://example.com/foo/..bar"},{"input":"http://example.com/foo/bar/../ton"},{"input":"http://example.com/foo/bar/../ton/../../a"},{"input":"http://example.com/foo/../../.."},{"input":"http://example.com/foo/../../../ton"},{"input":"http://example.com/foo/%2e"},{"input":"http://example.com/foo/%2e%2"},{"input":"http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar"},{"input":"http://example.com////../.."},{"input":"http://example.com/foo/bar//../.."},{"input":"http://example.com/foo/bar//.."},{"input":"http://example.com/foo"},{"input":"http://example.com/%20foo"},{"input":"http://example.com/foo%"},{"input":"http://example.com/foo%2"},{"input":"http://example.com/foo%2zbar"},{"input":"http://example.com/foo%2©zbar"},{"input":"http://example.com/foo%41%7a"},{"input":"http://example.com/foo\t‘%91"},{"input":"http://example.com/foo%00%51"},{"input":"http://example.com/(%28:%3A%29)"},{"input":"http://example.com/%3A%3a%3C%3c"},{"input":"http://example.com/foo\tbar"},{"input":"http://example.com\\\\foo\\\\bar"},{"input":"http://example.com/%7Ffp3%3Eju%3Dduvgw%3Dd"},{"input":"http://example.com/@asdf%40"},{"input":"http://example.com/你好你好"},{"input":"http://example.com/‥/foo"},{"input":"http://example.com//foo"},{"input":"http://example.com/‮/foo/‭/bar"},{"input":"http://www.google.com/foo?bar=baz#"},{"input":"http://www.google.com/foo?bar=baz# »"},{"input":"data:test# »"},{"input":"http://www.google.com"},{"input":"http://192.0x00A80001"},{"input":"http://www/foo%2Ehtml"},{"input":"http://www/foo/%2E/html"},{"input":"http://user:pass@/","failure":true},{"input":"http://%25DOMAIN:foobar@foodomain.com/"},{"input":"http:\\\\www.google.com\\foo"},{"input":"http://foo:80/"},{"input":"http://foo:81/"},{"input":"httpa://foo:80/"},{"input":"http://foo:-80/","failure":true},{"input":"https://foo:443/"},{"input":"https://foo:80/"},{"input":"ftp://foo:21/"},{"input":"ftp://foo:80/"},{"input":"gopher://foo:70/"},{"input":"gopher://foo:443/"},{"input":"ws://foo:80/"},{"input":"ws://foo:81/"},{"input":"ws://foo:443/"},{"input":"ws://foo:815/"},{"input":"wss://foo:80/"},{"input":"wss://foo:81/"},{"input":"wss://foo:443/"},{"input":"wss://foo:815/"},{"input":"http:/example.com/"},{"input":"ftp:/example.com/"},{"input":"https:/example.com/"},{"input":"madeupscheme:/example.com/"},{"input":"file:/example.com/"},{"input":"ftps:/example.com/"},{"input":"gopher:/example.com/"},{"input":"ws:/example.com/"},{"input":"wss:/example.com/"},{"input":"data:/example.com/"},{"input":"javascript:/example.com/"},{"input":"mailto:/example.com/"},{"input":"http:example.com/"},{"input":"ftp:example.com/"},{"input":"https:example.com/"},{"input":"madeupscheme:example.com/"},{"input":"ftps:example.com/"},{"input":"gopher:example.com/"},{"input":"ws:example.com/"},{"input":"wss:example.com/"},{"input":"data:example.com/"},{"input":"javascript:example.com/"},{"input":"mailto:example.com/"},{"input":"http:@www.example.com"},{"input":"http:/@www.example.com"},{"input":"http://@www.example.com"},{"input":"http:a:b@www.example.com"},{"input":"http:/a:b@www.example.com"},{"input":"http://a:b@www.example.com"},{"input":"http://@pple.com"},{"input":"http::b@www.example.com"},{"input":"http:/:b@www.example.com"},{"input":"http://:b@www.example.com"},{"input":"http:/:@/www.example.com","failure":true},{"input":"http://user@/www.example.com","failure":true},{"input":"http:@/www.example.com","failure":true},{"input":"http:/@/www.example.com","failure":true},{"input":"http://@/www.example.com","failure":true},{"input":"https:@/www.example.com","failure":true},{"input":"http:a:b@/www.example.com","failure":true},{"input":"http:/a:b@/www.example.com","failure":true},{"input":"http://a:b@/www.example.com","failure":true},{"input":"http::@/www.example.com","failure":true},{"input":"http:a:@www.example.com"},{"input":"http:/a:@www.example.com"},{"input":"http://a:@www.example.com"},{"input":"http://www.@pple.com"},{"input":"http:@:www.example.com","failure":true},{"input":"http:/@:www.example.com","failure":true},{"input":"http://@:www.example.com","failure":true},{"input":"http://:@www.example.com"},{"input":"\u0000\u001b\u0004\u0012 http://example.com/\u001f \r "},{"input":"https://�","failure":true},{"input":"https://%EF%BF%BD","failure":true},{"input":"https://x/�?�#�"},{"input":"https://faß.ExAmPlE/"},{"input":"sc://faß.ExAmPlE/"},{"input":"https://x x:12","failure":true},{"input":"http://./"},{"input":"http://../"},{"input":"http://0..0x300/"},{"input":"http://[www.google.com]/","failure":true},{"input":"http://host/?'"},{"input":"notspecial://host/?'"},{"input":"about:/../"},{"input":"data:/../"},{"input":"javascript:/../"},{"input":"mailto:/../"},{"input":"sc://ñ.test/"},{"input":"sc://\u0000/","failure":true},{"input":"sc:// /","failure":true},{"input":"sc://%/"},{"input":"sc://@/","failure":true},{"input":"sc://te@s:t@/","failure":true},{"input":"sc://:/","failure":true},{"input":"sc://:12/","failure":true},{"input":"sc://[/","failure":true},{"input":"sc://\\/","failure":true},{"input":"sc://]/","failure":true},{"input":"sc:\\../"},{"input":"sc::a@example.net"},{"input":"wow:%NBD"},{"input":"wow:%1G"},{"input":"wow:￿"},{"input":"http://example.com/\ud800𐟾\udfff﷐﷏﷯ﷰ￾￿?\ud800𐟾\udfff﷐﷏﷯ﷰ￾￿"},{"input":"http://ab","failure":true},{"input":"http://a^b","failure":true},{"input":"non-special://ab","failure":true},{"input":"non-special://a^b","failure":true},{"input":"http://\u001f!\"$&'()*+,-.;=_`{|}~/"},{"input":"sc://\u001f!\"$&'()*+,-.;=_`{|}~/"},{"input":"ftp://example.com%80/","failure":true},{"input":"ftp://example.com%A0/","failure":true},{"input":"https://example.com%80/","failure":true},{"input":"https://example.com%A0/","failure":true},{"input":"ftp://%e2%98%83"},{"input":"https://%e2%98%83"},{"input":"http://127.0.0.1:10100/relative_import.html"},{"input":"http://facebook.com/?foo=%7B%22abc%22"},{"input":"https://localhost:3000/jqueryui@1.2.3"},{"input":"h\tt\nt\rp://h\to\ns\rt:9\t0\n0\r0/p\ta\nt\rh?q\tu\ne\rry#f\tr\na\rg"},{"input":"http://foo.bar/baz?qux#foo\bbar"},{"input":"http://foo.bar/baz?qux#foo\"bar"},{"input":"http://foo.bar/baz?qux#foobar"},{"input":"http://foo.bar/baz?qux#foo`bar"},{"input":"https://0x.0x.0"},{"input":"https://0x100000000/test","failure":true},{"input":"https://256.0.0.1/test","failure":true},{"input":"file:///C%3A/"},{"input":"file:///C%7C/"},{"input":"file:\\\\//"},{"input":"file:\\\\\\\\"},{"input":"file:\\\\\\\\?fox"},{"input":"file:\\\\\\\\#guppy"},{"input":"file://spider///"},{"input":"file:\\\\localhost//"},{"input":"file:///localhost//cat"},{"input":"file://\\/localhost//cat"},{"input":"file://localhost//a//../..//"},{"input":"file://example.net/C:/"},{"input":"file://1.2.3.4/C:/"},{"input":"file://[1::8]/C:/"},{"input":"file:/C|/"},{"input":"file://C|/"},{"input":"file:"},{"input":"file:?q=v"},{"input":"file:#frag"},{"input":"file:///Y:"},{"input":"file:///Y:/"},{"input":"file:///./Y"},{"input":"file:///./Y:"},{"input":"\\\\\\.\\Y:","failure":true},{"input":"file:///y:"},{"input":"file:///y:/"},{"input":"file:///./y"},{"input":"file:///./y:"},{"input":"\\\\\\.\\y:","failure":true},{"input":"file://localhost//a//../..//foo"},{"input":"file://localhost////foo"},{"input":"file:////foo"},{"input":"file:.//p"},{"input":"file:/.//p"},{"input":"https://[0::0::0]","failure":true},{"input":"https://[0:.0]","failure":true},{"input":"https://[0:0:]","failure":true},{"input":"https://[0:1:2:3:4:5:6:7.0.0.0.1]","failure":true},{"input":"https://[0:1.00.0.0.0]","failure":true},{"input":"https://[0:1.290.0.0.0]","failure":true},{"input":"https://[0:1.23.23]","failure":true},{"input":"http://?","failure":true},{"input":"http://#","failure":true},{"input":"sc://ñ"},{"input":"sc://ñ?x"},{"input":"sc://ñ#x"},{"input":"sc://?"},{"input":"sc://#"},{"input":"tftp://foobar.com/someconfig;mode=netascii"},{"input":"telnet://user:pass@foobar.com:23/"},{"input":"ut2004://10.10.10.10:7777/Index.ut2"},{"input":"redis://foo:bar@somehost:6379/0?baz=bam&qux=baz"},{"input":"rsync://foo@host:911/sup"},{"input":"git://github.com/foo/bar.git"},{"input":"irc://myserver.com:6999/channel?passwd"},{"input":"dns://fw.example.org:9999/foo.bar.org?type=TXT"},{"input":"ldap://localhost:389/ou=People,o=JNDITutorial"},{"input":"git+https://github.com/foo/bar"},{"input":"urn:ietf:rfc:2648"},{"input":"tag:joe@example.org,2001:foo/bar"},{"input":"non-spec:/.//"},{"input":"non-spec:/..//"},{"input":"non-spec:/a/..//"},{"input":"non-spec:/.//path"},{"input":"non-spec:/..//path"},{"input":"non-spec:/a/..//path"},{"input":"non-special://%E2%80%A0/"},{"input":"non-special://H%4fSt/path"},{"input":"non-special://[1:2:0:0:5:0:0:0]/"},{"input":"non-special://[1:2:0:0:0:0:0:3]/"},{"input":"non-special://[1:2::3]:80/"},{"input":"non-special://[:80/","failure":true},{"input":"blob:https://example.com:443/"},{"input":"blob:d3958f5c-0777-0845-9dcf-2cb28783acaf"},{"input":"http://0177.0.0.0189"},{"input":"http://0x7f.0.0.0x7g"},{"input":"http://0X7F.0.0.0X7G"},{"input":"http://[::127.0.0.0.1]","failure":true},{"input":"http://[0:1:0:1:0:1:0:1]"},{"input":"http://[1:0:1:0:1:0:1:0]"},{"input":"http://example.org/test?\""},{"input":"http://example.org/test?#"},{"input":"http://example.org/test?<"},{"input":"http://example.org/test?>"},{"input":"http://example.org/test?⌣"},{"input":"http://example.org/test?%23%23"},{"input":"http://example.org/test?%GH"},{"input":"http://example.org/test?a#%EF"},{"input":"http://example.org/test?a#%GH"},{"input":"a","failure":true},{"input":"a/","failure":true},{"input":"a//","failure":true},{"input":"http://example.org/test?a#b\u0000c"},{"input":"non-spec://example.org/test?a#b\u0000c"},{"input":"non-spec:/test?a#b\u0000c"},{"input":"file://a­b/p"},{"input":"file://a%C2%ADb/p"},{"input":"file://­/p","failure":true},{"input":"file://%C2%AD/p","failure":true},{"input":"file://xn--/p","failure":true},{"input":"non-special:cannot-be-a-base-url-\u0000\u0001\u001f\u001e~€"},{"input":"https://www.example.com/path{path.html?query'=query#fragment<fragment"}] \ No newline at end of file +[ + { "input": "https://test:@test" }, + { "input": "https://:@test" }, + { "input": "non-special://test:@test/x" }, + { "input": "non-special://:@test/x" }, + { "input": "lolscheme:x x#x x" }, + { "input": "file://example:1/", "failure": true }, + { "input": "file://example:test/", "failure": true }, + { "input": "file://example%/", "failure": true }, + { "input": "file://[example]/", "failure": true }, + { "input": "http://example.com/././foo" }, + { "input": "http://example.com/./.foo" }, + { "input": "http://example.com/foo/." }, + { "input": "http://example.com/foo/./" }, + { "input": "http://example.com/foo/bar/.." }, + { "input": "http://example.com/foo/bar/../" }, + { "input": "http://example.com/foo/..bar" }, + { "input": "http://example.com/foo/bar/../ton" }, + { "input": "http://example.com/foo/bar/../ton/../../a" }, + { "input": "http://example.com/foo/../../.." }, + { "input": "http://example.com/foo/../../../ton" }, + { "input": "http://example.com/foo/%2e" }, + { "input": "http://example.com/foo/%2e%2" }, + { "input": "http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar" }, + { "input": "http://example.com////../.." }, + { "input": "http://example.com/foo/bar//../.." }, + { "input": "http://example.com/foo/bar//.." }, + { "input": "http://example.com/foo" }, + { "input": "http://example.com/%20foo" }, + { "input": "http://example.com/foo%" }, + { "input": "http://example.com/foo%2" }, + { "input": "http://example.com/foo%2zbar" }, + { "input": "http://example.com/foo%2©zbar" }, + { "input": "http://example.com/foo%41%7a" }, + { "input": "http://example.com/foo\t‘%91" }, + { "input": "http://example.com/foo%00%51" }, + { "input": "http://example.com/(%28:%3A%29)" }, + { "input": "http://example.com/%3A%3a%3C%3c" }, + { "input": "http://example.com/foo\tbar" }, + { "input": "http://example.com\\\\foo\\\\bar" }, + { "input": "http://example.com/%7Ffp3%3Eju%3Dduvgw%3Dd" }, + { "input": "http://example.com/@asdf%40" }, + { "input": "http://example.com/你好你好" }, + { "input": "http://example.com/‥/foo" }, + { "input": "http://example.com//foo" }, + { "input": "http://example.com/‮/foo/‭/bar" }, + { "input": "http://www.google.com/foo?bar=baz#" }, + { "input": "http://www.google.com/foo?bar=baz# »" }, + { "input": "data:test# »" }, + { "input": "http://www.google.com" }, + { "input": "http://192.0x00A80001" }, + { "input": "http://www/foo%2Ehtml" }, + { "input": "http://www/foo/%2E/html" }, + { "input": "http://user:pass@/", "failure": true }, + { "input": "http://%25DOMAIN:foobar@foodomain.com/" }, + { "input": "http:\\\\www.google.com\\foo" }, + { "input": "http://foo:80/" }, + { "input": "http://foo:81/" }, + { "input": "httpa://foo:80/" }, + { "input": "http://foo:-80/", "failure": true }, + { "input": "https://foo:443/" }, + { "input": "https://foo:80/" }, + { "input": "ftp://foo:21/" }, + { "input": "ftp://foo:80/" }, + { "input": "gopher://foo:70/" }, + { "input": "gopher://foo:443/" }, + { "input": "ws://foo:80/" }, + { "input": "ws://foo:81/" }, + { "input": "ws://foo:443/" }, + { "input": "ws://foo:815/" }, + { "input": "wss://foo:80/" }, + { "input": "wss://foo:81/" }, + { "input": "wss://foo:443/" }, + { "input": "wss://foo:815/" }, + { "input": "http:/example.com/" }, + { "input": "ftp:/example.com/" }, + { "input": "https:/example.com/" }, + { "input": "madeupscheme:/example.com/" }, + { "input": "file:/example.com/" }, + { "input": "ftps:/example.com/" }, + { "input": "gopher:/example.com/" }, + { "input": "ws:/example.com/" }, + { "input": "wss:/example.com/" }, + { "input": "data:/example.com/" }, + { "input": "javascript:/example.com/" }, + { "input": "mailto:/example.com/" }, + { "input": "http:example.com/" }, + { "input": "ftp:example.com/" }, + { "input": "https:example.com/" }, + { "input": "madeupscheme:example.com/" }, + { "input": "ftps:example.com/" }, + { "input": "gopher:example.com/" }, + { "input": "ws:example.com/" }, + { "input": "wss:example.com/" }, + { "input": "data:example.com/" }, + { "input": "javascript:example.com/" }, + { "input": "mailto:example.com/" }, + { "input": "http:@www.example.com" }, + { "input": "http:/@www.example.com" }, + { "input": "http://@www.example.com" }, + { "input": "http:a:b@www.example.com" }, + { "input": "http:/a:b@www.example.com" }, + { "input": "http://a:b@www.example.com" }, + { "input": "http://@pple.com" }, + { "input": "http::b@www.example.com" }, + { "input": "http:/:b@www.example.com" }, + { "input": "http://:b@www.example.com" }, + { "input": "http:/:@/www.example.com", "failure": true }, + { "input": "http://user@/www.example.com", "failure": true }, + { "input": "http:@/www.example.com", "failure": true }, + { "input": "http:/@/www.example.com", "failure": true }, + { "input": "http://@/www.example.com", "failure": true }, + { "input": "https:@/www.example.com", "failure": true }, + { "input": "http:a:b@/www.example.com", "failure": true }, + { "input": "http:/a:b@/www.example.com", "failure": true }, + { "input": "http://a:b@/www.example.com", "failure": true }, + { "input": "http::@/www.example.com", "failure": true }, + { "input": "http:a:@www.example.com" }, + { "input": "http:/a:@www.example.com" }, + { "input": "http://a:@www.example.com" }, + { "input": "http://www.@pple.com" }, + { "input": "http:@:www.example.com", "failure": true }, + { "input": "http:/@:www.example.com", "failure": true }, + { "input": "http://@:www.example.com", "failure": true }, + { "input": "http://:@www.example.com" }, + { "input": "\u0000\u001b\u0004\u0012 http://example.com/\u001f \r " }, + { "input": "https://�", "failure": true }, + { "input": "https://%EF%BF%BD", "failure": true }, + { "input": "https://x/�?�#�" }, + { "input": "https://faß.ExAmPlE/" }, + { "input": "sc://faß.ExAmPlE/" }, + { "input": "https://x x:12", "failure": true }, + { "input": "http://./" }, + { "input": "http://../" }, + { "input": "http://0..0x300/" }, + { "input": "http://[www.google.com]/", "failure": true }, + { "input": "http://host/?'" }, + { "input": "notspecial://host/?'" }, + { "input": "about:/../" }, + { "input": "data:/../" }, + { "input": "javascript:/../" }, + { "input": "mailto:/../" }, + { "input": "sc://ñ.test/" }, + { "input": "sc://\u0000/", "failure": true }, + { "input": "sc:// /", "failure": true }, + { "input": "sc://%/" }, + { "input": "sc://@/", "failure": true }, + { "input": "sc://te@s:t@/", "failure": true }, + { "input": "sc://:/", "failure": true }, + { "input": "sc://:12/", "failure": true }, + { "input": "sc://[/", "failure": true }, + { "input": "sc://\\/", "failure": true }, + { "input": "sc://]/", "failure": true }, + { "input": "sc:\\../" }, + { "input": "sc::a@example.net" }, + { "input": "wow:%NBD" }, + { "input": "wow:%1G" }, + { "input": "wow:￿" }, + { "input": "http://example.com/\ud800𐟾\udfff﷐﷏﷯ﷰ￾￿?\ud800𐟾\udfff﷐﷏﷯ﷰ￾￿" }, + { "input": "http://ab", "failure": true }, + { "input": "http://a^b", "failure": true }, + { "input": "non-special://ab", "failure": true }, + { "input": "non-special://a^b", "failure": true }, + { "input": "http://\u001f!\"$&'()*+,-.;=_`{|}~/" }, + { "input": "sc://\u001f!\"$&'()*+,-.;=_`{|}~/" }, + { "input": "ftp://example.com%80/", "failure": true }, + { "input": "ftp://example.com%A0/", "failure": true }, + { "input": "https://example.com%80/", "failure": true }, + { "input": "https://example.com%A0/", "failure": true }, + { "input": "ftp://%e2%98%83" }, + { "input": "https://%e2%98%83" }, + { "input": "http://127.0.0.1:10100/relative_import.html" }, + { "input": "http://facebook.com/?foo=%7B%22abc%22" }, + { "input": "https://localhost:3000/jqueryui@1.2.3" }, + { + "input": "h\tt\nt\rp://h\to\ns\rt:9\t0\n0\r0/p\ta\nt\rh?q\tu\ne\rry#f\tr\na\rg" + }, + { "input": "http://foo.bar/baz?qux#foo\bbar" }, + { "input": "http://foo.bar/baz?qux#foo\"bar" }, + { "input": "http://foo.bar/baz?qux#foobar" }, + { "input": "http://foo.bar/baz?qux#foo`bar" }, + { "input": "https://0x.0x.0" }, + { "input": "https://0x100000000/test", "failure": true }, + { "input": "https://256.0.0.1/test", "failure": true }, + { "input": "file:///C%3A/" }, + { "input": "file:///C%7C/" }, + { "input": "file:\\\\//" }, + { "input": "file:\\\\\\\\" }, + { "input": "file:\\\\\\\\?fox" }, + { "input": "file:\\\\\\\\#guppy" }, + { "input": "file://spider///" }, + { "input": "file:\\\\localhost//" }, + { "input": "file:///localhost//cat" }, + { "input": "file://\\/localhost//cat" }, + { "input": "file://localhost//a//../..//" }, + { "input": "file://example.net/C:/" }, + { "input": "file://1.2.3.4/C:/" }, + { "input": "file://[1::8]/C:/" }, + { "input": "file:/C|/" }, + { "input": "file://C|/" }, + { "input": "file:" }, + { "input": "file:?q=v" }, + { "input": "file:#frag" }, + { "input": "file:///Y:" }, + { "input": "file:///Y:/" }, + { "input": "file:///./Y" }, + { "input": "file:///./Y:" }, + { "input": "\\\\\\.\\Y:", "failure": true }, + { "input": "file:///y:" }, + { "input": "file:///y:/" }, + { "input": "file:///./y" }, + { "input": "file:///./y:" }, + { "input": "\\\\\\.\\y:", "failure": true }, + { "input": "file://localhost//a//../..//foo" }, + { "input": "file://localhost////foo" }, + { "input": "file:////foo" }, + { "input": "file:.//p" }, + { "input": "file:/.//p" }, + { "input": "https://[0::0::0]", "failure": true }, + { "input": "https://[0:.0]", "failure": true }, + { "input": "https://[0:0:]", "failure": true }, + { "input": "https://[0:1:2:3:4:5:6:7.0.0.0.1]", "failure": true }, + { "input": "https://[0:1.00.0.0.0]", "failure": true }, + { "input": "https://[0:1.290.0.0.0]", "failure": true }, + { "input": "https://[0:1.23.23]", "failure": true }, + { "input": "http://?", "failure": true }, + { "input": "http://#", "failure": true }, + { "input": "sc://ñ" }, + { "input": "sc://ñ?x" }, + { "input": "sc://ñ#x" }, + { "input": "sc://?" }, + { "input": "sc://#" }, + { "input": "tftp://foobar.com/someconfig;mode=netascii" }, + { "input": "telnet://user:pass@foobar.com:23/" }, + { "input": "ut2004://10.10.10.10:7777/Index.ut2" }, + { "input": "redis://foo:bar@somehost:6379/0?baz=bam&qux=baz" }, + { "input": "rsync://foo@host:911/sup" }, + { "input": "git://github.com/foo/bar.git" }, + { "input": "irc://myserver.com:6999/channel?passwd" }, + { "input": "dns://fw.example.org:9999/foo.bar.org?type=TXT" }, + { "input": "ldap://localhost:389/ou=People,o=JNDITutorial" }, + { "input": "git+https://github.com/foo/bar" }, + { "input": "urn:ietf:rfc:2648" }, + { "input": "tag:joe@example.org,2001:foo/bar" }, + { "input": "non-spec:/.//" }, + { "input": "non-spec:/..//" }, + { "input": "non-spec:/a/..//" }, + { "input": "non-spec:/.//path" }, + { "input": "non-spec:/..//path" }, + { "input": "non-spec:/a/..//path" }, + { "input": "non-special://%E2%80%A0/" }, + { "input": "non-special://H%4fSt/path" }, + { "input": "non-special://[1:2:0:0:5:0:0:0]/" }, + { "input": "non-special://[1:2:0:0:0:0:0:3]/" }, + { "input": "non-special://[1:2::3]:80/" }, + { "input": "non-special://[:80/", "failure": true }, + { "input": "blob:https://example.com:443/" }, + { "input": "blob:d3958f5c-0777-0845-9dcf-2cb28783acaf" }, + { "input": "http://0177.0.0.0189" }, + { "input": "http://0x7f.0.0.0x7g" }, + { "input": "http://0X7F.0.0.0X7G" }, + { "input": "http://[::127.0.0.0.1]", "failure": true }, + { "input": "http://[0:1:0:1:0:1:0:1]" }, + { "input": "http://[1:0:1:0:1:0:1:0]" }, + { "input": "http://example.org/test?\"" }, + { "input": "http://example.org/test?#" }, + { "input": "http://example.org/test?<" }, + { "input": "http://example.org/test?>" }, + { "input": "http://example.org/test?⌣" }, + { "input": "http://example.org/test?%23%23" }, + { "input": "http://example.org/test?%GH" }, + { "input": "http://example.org/test?a#%EF" }, + { "input": "http://example.org/test?a#%GH" }, + { "input": "a", "failure": true }, + { "input": "a/", "failure": true }, + { "input": "a//", "failure": true }, + { "input": "http://example.org/test?a#b\u0000c" }, + { "input": "non-spec://example.org/test?a#b\u0000c" }, + { "input": "non-spec:/test?a#b\u0000c" }, + { "input": "file://a­b/p" }, + { "input": "file://a%C2%ADb/p" }, + { "input": "file://­/p", "failure": true }, + { "input": "file://%C2%AD/p", "failure": true }, + { "input": "file://xn--/p", "failure": true }, + { "input": "non-special:cannot-be-a-base-url-\u0000\u0001\u001f\u001e~€" }, + { + "input": "https://www.example.com/path{path.html?query'=query#fragment<fragment" + } +] diff --git a/phpunit/fixtures/block.json b/phpunit/fixtures/block.json index 85eea99aa46f9a..41904ae8119623 100644 --- a/phpunit/fixtures/block.json +++ b/phpunit/fixtures/block.json @@ -3,21 +3,14 @@ "name": "my-plugin/notice", "title": "Notice", "category": "common", - "parent": [ - "core/group" - ], + "parent": [ "core/group" ], "providesContext": { "my-plugin/message": "message" }, - "usesContext": [ - "groupId" - ], + "usesContext": [ "groupId" ], "icon": "star", "description": "Shows warning, error or success notices…", - "keywords": [ - "alert", - "message" - ], + "keywords": [ "alert", "message" ], "textDomain": "my-plugin", "attributes": { "message": { diff --git a/phpunit/fixtures/rest-api/pattern-directory/browse-all.json b/phpunit/fixtures/rest-api/pattern-directory/browse-all.json index 8706757c101a46..26131e33bb73e0 100644 --- a/phpunit/fixtures/rest-api/pattern-directory/browse-all.json +++ b/phpunit/fixtures/rest-api/pattern-directory/browse-all.json @@ -1 +1,50 @@ -[{"id":31,"title":{"rendered":"Heading and paragraph"},"content":{"rendered":"\n
            \n

            2<\/strong>.<\/span>
            Which treats of the first sally the ingenious Don Quixote made from home<\/h2>\n\n\n\n

            These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.<\/p>\n<\/div><\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"A heading preceded by a chapter number, and followed by a paragraph.","wpop_viewport_width":1000},"category_slugs":["text"],"keyword_slugs":["core"],"pattern_content":"\n

            \n

            2<\/strong>.<\/span>
            Which treats of the first sally the ingenious Don Quixote made from home<\/h2>\n\n\n\n

            These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.<\/p>\n<\/div><\/div>\n"},{"id":25,"title":{"rendered":"Large header with a heading"},"content":{"rendered":"\n

            \n

            Don Quixote<\/strong><\/p>\n<\/div><\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"A large hero section with an example background image and a heading in the center.","wpop_viewport_width":1000},"category_slugs":["header"],"keyword_slugs":["core"],"pattern_content":"\n

            \n

            Don Quixote<\/strong><\/p>\n<\/div><\/div>\n"},{"id":26,"title":{"rendered":"Large header with a heading and a button"},"content":{"rendered":"\n

            \n
            \n
            \n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n\n\n\n

            Thou hast seen<\/strong>
            nothing yet<\/strong><\/p>\n\n\n\n

            \n
            Read now<\/a><\/div>\n<\/div>\n\n\n\n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"A large hero section with a bright gradient background, a big heading and a filled button.","wpop_viewport_width":1000},"category_slugs":["header"],"keyword_slugs":["core"],"pattern_content":"\n
            \n
            \n
            \n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n\n\n\n

            Thou hast seen<\/strong>
            nothing yet<\/strong><\/p>\n\n\n\n

            \n
            Read now<\/a><\/div>\n<\/div>\n\n\n\n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n"}] +[ + { + "id": 31, + "title": { "rendered": "Heading and paragraph" }, + "content": { + "rendered": "\n
            \n

            2.
            Which treats of the first sally the ingenious Don Quixote made from home

            \n\n\n\n

            These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.

            \n
            \n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "A heading preceded by a chapter number, and followed by a paragraph.", + "wpop_viewport_width": 1000 + }, + "category_slugs": [ "text" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n
            \n

            2.
            Which treats of the first sally the ingenious Don Quixote made from home

            \n\n\n\n

            These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.

            \n
            \n" + }, + { + "id": 25, + "title": { "rendered": "Large header with a heading" }, + "content": { + "rendered": "\n
            \n

            Don Quixote

            \n
            \n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "A large hero section with an example background image and a heading in the center.", + "wpop_viewport_width": 1000 + }, + "category_slugs": [ "header" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n
            \n

            Don Quixote

            \n
            \n" + }, + { + "id": 26, + "title": { "rendered": "Large header with a heading and a button" }, + "content": { + "rendered": "\n
            \n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "A large hero section with a bright gradient background, a big heading and a filled button.", + "wpop_viewport_width": 1000 + }, + "category_slugs": [ "header" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n\n" + } +] diff --git a/phpunit/fixtures/rest-api/pattern-directory/browse-category-2.json b/phpunit/fixtures/rest-api/pattern-directory/browse-category-2.json index bba88655ee4fb5..947da16bfddd40 100644 --- a/phpunit/fixtures/rest-api/pattern-directory/browse-category-2.json +++ b/phpunit/fixtures/rest-api/pattern-directory/browse-category-2.json @@ -1 +1,34 @@ -[{"id":15,"title":{"rendered":"Three buttons"},"content":{"rendered":"\n
            \n
            About Cervantes<\/a><\/div>\n\n\n\n
            Contact us<\/a><\/div>\n\n\n\n
            Books<\/a><\/div>\n<\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"Three filled buttons with rounded corners, side by side.","wpop_viewport_width":600},"category_slugs":["buttons"],"keyword_slugs":["core"],"pattern_content":"\n
            \n
            About Cervantes<\/a><\/div>\n\n\n\n
            Contact us<\/a><\/div>\n\n\n\n
            Books<\/a><\/div>\n<\/div>\n"},{"id":5,"title":{"rendered":"Two buttons"},"content":{"rendered":"\n
            \n
            Download now<\/a><\/div>\n\n\n\n
            About Cervantes<\/a><\/div>\n<\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"Two buttons, one filled and one outlined, side by side.","wpop_viewport_width":500},"category_slugs":["buttons"],"keyword_slugs":["core"],"pattern_content":"\n
            \n
            Download now<\/a><\/div>\n\n\n\n
            About Cervantes<\/a><\/div>\n<\/div>\n"}] +[ + { + "id": 15, + "title": { "rendered": "Three buttons" }, + "content": { + "rendered": "\n\n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "Three filled buttons with rounded corners, side by side.", + "wpop_viewport_width": 600 + }, + "category_slugs": [ "buttons" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n
            \n\n\n\n\n\n\n\n\n\n
            \n" + }, + { + "id": 5, + "title": { "rendered": "Two buttons" }, + "content": { + "rendered": "\n\n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "Two buttons, one filled and one outlined, side by side.", + "wpop_viewport_width": 500 + }, + "category_slugs": [ "buttons" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n\n" + } +] diff --git a/phpunit/fixtures/rest-api/pattern-directory/browse-keyword-11.json b/phpunit/fixtures/rest-api/pattern-directory/browse-keyword-11.json index 8706757c101a46..26131e33bb73e0 100644 --- a/phpunit/fixtures/rest-api/pattern-directory/browse-keyword-11.json +++ b/phpunit/fixtures/rest-api/pattern-directory/browse-keyword-11.json @@ -1 +1,50 @@ -[{"id":31,"title":{"rendered":"Heading and paragraph"},"content":{"rendered":"\n
            \n

            2<\/strong>.<\/span>
            Which treats of the first sally the ingenious Don Quixote made from home<\/h2>\n\n\n\n

            These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.<\/p>\n<\/div><\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"A heading preceded by a chapter number, and followed by a paragraph.","wpop_viewport_width":1000},"category_slugs":["text"],"keyword_slugs":["core"],"pattern_content":"\n

            \n

            2<\/strong>.<\/span>
            Which treats of the first sally the ingenious Don Quixote made from home<\/h2>\n\n\n\n

            These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.<\/p>\n<\/div><\/div>\n"},{"id":25,"title":{"rendered":"Large header with a heading"},"content":{"rendered":"\n

            \n

            Don Quixote<\/strong><\/p>\n<\/div><\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"A large hero section with an example background image and a heading in the center.","wpop_viewport_width":1000},"category_slugs":["header"],"keyword_slugs":["core"],"pattern_content":"\n

            \n

            Don Quixote<\/strong><\/p>\n<\/div><\/div>\n"},{"id":26,"title":{"rendered":"Large header with a heading and a button"},"content":{"rendered":"\n

            \n
            \n
            \n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n\n\n\n

            Thou hast seen<\/strong>
            nothing yet<\/strong><\/p>\n\n\n\n

            \n
            Read now<\/a><\/div>\n<\/div>\n\n\n\n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"A large hero section with a bright gradient background, a big heading and a filled button.","wpop_viewport_width":1000},"category_slugs":["header"],"keyword_slugs":["core"],"pattern_content":"\n
            \n
            \n
            \n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n\n\n\n

            Thou hast seen<\/strong>
            nothing yet<\/strong><\/p>\n\n\n\n

            \n
            Read now<\/a><\/div>\n<\/div>\n\n\n\n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n"}] +[ + { + "id": 31, + "title": { "rendered": "Heading and paragraph" }, + "content": { + "rendered": "\n
            \n

            2.
            Which treats of the first sally the ingenious Don Quixote made from home

            \n\n\n\n

            These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.

            \n
            \n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "A heading preceded by a chapter number, and followed by a paragraph.", + "wpop_viewport_width": 1000 + }, + "category_slugs": [ "text" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n
            \n

            2.
            Which treats of the first sally the ingenious Don Quixote made from home

            \n\n\n\n

            These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.

            \n
            \n" + }, + { + "id": 25, + "title": { "rendered": "Large header with a heading" }, + "content": { + "rendered": "\n
            \n

            Don Quixote

            \n
            \n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "A large hero section with an example background image and a heading in the center.", + "wpop_viewport_width": 1000 + }, + "category_slugs": [ "header" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n
            \n

            Don Quixote

            \n
            \n" + }, + { + "id": 26, + "title": { "rendered": "Large header with a heading and a button" }, + "content": { + "rendered": "\n
            \n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "A large hero section with a bright gradient background, a big heading and a filled button.", + "wpop_viewport_width": 1000 + }, + "category_slugs": [ "header" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n\n" + } +] diff --git a/phpunit/fixtures/rest-api/pattern-directory/search-button.json b/phpunit/fixtures/rest-api/pattern-directory/search-button.json index b0cad0f1bb5a13..b135e0ac5a958b 100644 --- a/phpunit/fixtures/rest-api/pattern-directory/search-button.json +++ b/phpunit/fixtures/rest-api/pattern-directory/search-button.json @@ -1 +1,66 @@ -[{"id":26,"title":{"rendered":"Large header with a heading and a button"},"content":{"rendered":"\n
            \n
            \n
            \n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n\n\n\n

            Thou hast seen<\/strong>
            nothing yet<\/strong><\/p>\n\n\n\n

            \n
            Read now<\/a><\/div>\n<\/div>\n\n\n\n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"A large hero section with a bright gradient background, a big heading and a filled button.","wpop_viewport_width":1000},"category_slugs":["header"],"keyword_slugs":["core"],"pattern_content":"\n
            \n
            \n
            \n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n\n\n\n

            Thou hast seen<\/strong>
            nothing yet<\/strong><\/p>\n\n\n\n

            \n
            Read now<\/a><\/div>\n<\/div>\n\n\n\n
            <\/div>\n<\/div>\n\n\n\n
            \n
            <\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n"},{"id":28,"title":{"rendered":"Three columns of text with buttons"},"content":{"rendered":"\n
            \n
            \n
            \n

            Which treats of the character and pursuits of the famous Don Quixote of La Mancha.<\/p>\n\n\n\n

            \n
            Chapter One<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n
            \n

            Which treats of the first sally the ingenious Don Quixote made from home.<\/p>\n\n\n\n

            \n
            Chapter Two<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n
            \n

            Wherein is related the droll way in which Don Quixote had himself dubbed a knight.<\/p>\n\n\n\n

            \n
            Chapter Three<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"Three small columns of text, each with an outlined button with rounded corners at the bottom.","wpop_viewport_width":1000},"category_slugs":["columns"],"keyword_slugs":["core"],"pattern_content":"\n
            \n
            \n
            \n

            Which treats of the character and pursuits of the famous Don Quixote of La Mancha.<\/p>\n\n\n\n

            \n
            Chapter One<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n
            \n

            Which treats of the first sally the ingenious Don Quixote made from home.<\/p>\n\n\n\n

            \n
            Chapter Two<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n
            \n

            Wherein is related the droll way in which Don Quixote had himself dubbed a knight.<\/p>\n\n\n\n

            \n
            Chapter Three<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n"},{"id":15,"title":{"rendered":"Three buttons"},"content":{"rendered":"\n
            \n
            About Cervantes<\/a><\/div>\n\n\n\n
            Contact us<\/a><\/div>\n\n\n\n
            Books<\/a><\/div>\n<\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"Three filled buttons with rounded corners, side by side.","wpop_viewport_width":600},"category_slugs":["buttons"],"keyword_slugs":["core"],"pattern_content":"\n
            \n
            About Cervantes<\/a><\/div>\n\n\n\n
            Contact us<\/a><\/div>\n\n\n\n
            Books<\/a><\/div>\n<\/div>\n"},{"id":5,"title":{"rendered":"Two buttons"},"content":{"rendered":"\n
            \n
            Download now<\/a><\/div>\n\n\n\n
            About Cervantes<\/a><\/div>\n<\/div>\n","protected":false},"meta":{"spay_email":"","wpop_description":"Two buttons, one filled and one outlined, side by side.","wpop_viewport_width":500},"category_slugs":["buttons"],"keyword_slugs":["core"],"pattern_content":"\n
            \n
            Download now<\/a><\/div>\n\n\n\n
            About Cervantes<\/a><\/div>\n<\/div>\n"}] +[ + { + "id": 26, + "title": { "rendered": "Large header with a heading and a button" }, + "content": { + "rendered": "\n\n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "A large hero section with a bright gradient background, a big heading and a filled button.", + "wpop_viewport_width": 1000 + }, + "category_slugs": [ "header" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n
            \n
            \n
            \n
            \n
            \n\n\n\n
            \n
            \n\n\n\n

            Thou hast seen
            nothing yet

            \n\n\n\n\n\n\n\n
            \n
            \n\n\n\n
            \n
            \n
            \n
            \n
            \n" + }, + { + "id": 28, + "title": { "rendered": "Three columns of text with buttons" }, + "content": { + "rendered": "\n
            \n
            \n
            \n

            Which treats of the character and pursuits of the famous Don Quixote of La Mancha.

            \n\n\n\n\n
            \n\n\n\n
            \n

            Which treats of the first sally the ingenious Don Quixote made from home.

            \n\n\n\n\n
            \n\n\n\n
            \n

            Wherein is related the droll way in which Don Quixote had himself dubbed a knight.

            \n\n\n\n\n
            \n
            \n
            \n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "Three small columns of text, each with an outlined button with rounded corners at the bottom.", + "wpop_viewport_width": 1000 + }, + "category_slugs": [ "columns" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n
            \n
            \n\n\n\n\n
            \n

            Which treats of the first sally the ingenious Don Quixote made from home.

            \n\n\n\n\n
            \n\n\n\n
            \n

            Wherein is related the droll way in which Don Quixote had himself dubbed a knight.

            \n\n\n\n\n
            \n
            \n
            \n" + }, + { + "id": 15, + "title": { "rendered": "Three buttons" }, + "content": { + "rendered": "\n
            \n\n\n\n\n\n\n\n\n\n
            \n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "Three filled buttons with rounded corners, side by side.", + "wpop_viewport_width": 600 + }, + "category_slugs": [ "buttons" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n
            \n" + }, + { + "id": 5, + "title": { "rendered": "Two buttons" }, + "content": { + "rendered": "\n\n", + "protected": false + }, + "meta": { + "spay_email": "", + "wpop_description": "Two buttons, one filled and one outlined, side by side.", + "wpop_viewport_width": 500 + }, + "category_slugs": [ "buttons" ], + "keyword_slugs": [ "core" ], + "pattern_content": "\n\n" + } +]