From 9a5ee494d023f67003c8bfaec2f960918f633b5a Mon Sep 17 00:00:00 2001 From: James Nylen Date: Fri, 30 Jun 2017 05:22:21 +0200 Subject: [PATCH] Improve consistency of block names (#1593) --- blocks/library/embed/index.js | 279 +++++++++++++++--- blocks/library/latest-posts/index.js | 18 +- blocks/library/latest-posts/style.scss | 4 +- blocks/test/fixtures/README.md | 20 +- blocks/test/fixtures/core-embed__animoto.html | 6 + ...danimoto.json => core-embed__animoto.json} | 2 +- .../fixtures/core-embed__animoto.parsed.json | 13 + .../core-embed__animoto.serialized.html | 7 + blocks/test/fixtures/core-embed__cloudup.html | 6 + ...dcloudup.json => core-embed__cloudup.json} | 2 +- .../fixtures/core-embed__cloudup.parsed.json | 13 + .../core-embed__cloudup.serialized.html | 7 + .../fixtures/core-embed__collegehumor.html | 6 + ...mor.json => core-embed__collegehumor.json} | 2 +- .../core-embed__collegehumor.parsed.json | 13 + .../core-embed__collegehumor.serialized.html | 7 + .../fixtures/core-embed__dailymotion.html | 6 + ...tion.json => core-embed__dailymotion.json} | 2 +- .../core-embed__dailymotion.parsed.json | 13 + .../core-embed__dailymotion.serialized.html | 7 + .../test/fixtures/core-embed__facebook.html | 6 + ...acebook.json => core-embed__facebook.json} | 2 +- .../fixtures/core-embed__facebook.parsed.json | 13 + .../core-embed__facebook.serialized.html | 7 + blocks/test/fixtures/core-embed__flickr.html | 6 + ...bedflickr.json => core-embed__flickr.json} | 2 +- .../fixtures/core-embed__flickr.parsed.json | 13 + .../core-embed__flickr.serialized.html | 7 + .../test/fixtures/core-embed__funnyordie.html | 6 + ...ordie.json => core-embed__funnyordie.json} | 2 +- .../core-embed__funnyordie.parsed.json | 13 + .../core-embed__funnyordie.serialized.html | 7 + blocks/test/fixtures/core-embed__hulu.html | 6 + ...e-embedhulu.json => core-embed__hulu.json} | 2 +- .../fixtures/core-embed__hulu.parsed.json | 13 + .../fixtures/core-embed__hulu.serialized.html | 7 + blocks/test/fixtures/core-embed__imgur.html | 6 + ...embedimgur.json => core-embed__imgur.json} | 2 +- .../fixtures/core-embed__imgur.parsed.json | 13 + .../core-embed__imgur.serialized.html | 7 + .../test/fixtures/core-embed__instagram.html | 6 + ...tagram.json => core-embed__instagram.json} | 2 +- .../core-embed__instagram.parsed.json | 13 + .../core-embed__instagram.serialized.html | 7 + blocks/test/fixtures/core-embed__issuu.html | 6 + ...embedissuu.json => core-embed__issuu.json} | 2 +- .../fixtures/core-embed__issuu.parsed.json | 13 + .../core-embed__issuu.serialized.html | 7 + .../fixtures/core-embed__kickstarter.html | 6 + ...rter.json => core-embed__kickstarter.json} | 2 +- .../core-embed__kickstarter.parsed.json | 13 + .../core-embed__kickstarter.serialized.html | 7 + .../test/fixtures/core-embed__meetup-com.html | 6 + .../test/fixtures/core-embed__meetup-com.json | 12 + .../core-embed__meetup-com.parsed.json | 13 + .../core-embed__meetup-com.serialized.html | 7 + .../test/fixtures/core-embed__mixcloud.html | 6 + ...ixcloud.json => core-embed__mixcloud.json} | 2 +- .../fixtures/core-embed__mixcloud.parsed.json | 13 + .../core-embed__mixcloud.serialized.html | 7 + .../fixtures/core-embed__photobucket.html | 6 + ...cket.json => core-embed__photobucket.json} | 2 +- .../core-embed__photobucket.parsed.json | 13 + .../core-embed__photobucket.serialized.html | 7 + .../test/fixtures/core-embed__polldaddy.html | 6 + ...ldaddy.json => core-embed__polldaddy.json} | 2 +- .../core-embed__polldaddy.parsed.json | 13 + .../core-embed__polldaddy.serialized.html | 7 + blocks/test/fixtures/core-embed__reddit.html | 6 + ...bedreddit.json => core-embed__reddit.json} | 2 +- .../fixtures/core-embed__reddit.parsed.json | 13 + .../core-embed__reddit.serialized.html | 7 + .../fixtures/core-embed__reverbnation.html | 6 + ...ion.json => core-embed__reverbnation.json} | 2 +- .../core-embed__reverbnation.parsed.json | 13 + .../core-embed__reverbnation.serialized.html | 7 + .../test/fixtures/core-embed__screencast.html | 6 + ...ncast.json => core-embed__screencast.json} | 2 +- .../core-embed__screencast.parsed.json | 13 + .../core-embed__screencast.serialized.html | 7 + blocks/test/fixtures/core-embed__scribd.html | 6 + ...bedscribd.json => core-embed__scribd.json} | 2 +- .../fixtures/core-embed__scribd.parsed.json | 13 + .../core-embed__scribd.serialized.html | 7 + .../test/fixtures/core-embed__slideshare.html | 6 + ...share.json => core-embed__slideshare.json} | 2 +- .../core-embed__slideshare.parsed.json | 13 + .../core-embed__slideshare.serialized.html | 7 + blocks/test/fixtures/core-embed__smugmug.html | 6 + ...dsmugmug.json => core-embed__smugmug.json} | 2 +- .../fixtures/core-embed__smugmug.parsed.json | 13 + .../core-embed__smugmug.serialized.html | 7 + .../test/fixtures/core-embed__soundcloud.html | 6 + ...cloud.json => core-embed__soundcloud.json} | 2 +- .../core-embed__soundcloud.parsed.json | 13 + .../core-embed__soundcloud.serialized.html | 7 + blocks/test/fixtures/core-embed__speaker.html | 6 + ...dspeaker.json => core-embed__speaker.json} | 2 +- .../fixtures/core-embed__speaker.parsed.json | 13 + .../core-embed__speaker.serialized.html | 7 + blocks/test/fixtures/core-embed__spotify.html | 6 + ...dspotify.json => core-embed__spotify.json} | 2 +- .../fixtures/core-embed__spotify.parsed.json | 13 + .../core-embed__spotify.serialized.html | 7 + blocks/test/fixtures/core-embed__ted.html | 6 + ...ore-embedted.json => core-embed__ted.json} | 2 +- .../test/fixtures/core-embed__ted.parsed.json | 13 + .../fixtures/core-embed__ted.serialized.html | 7 + blocks/test/fixtures/core-embed__tumblr.html | 6 + ...bedtumblr.json => core-embed__tumblr.json} | 2 +- .../fixtures/core-embed__tumblr.parsed.json | 13 + .../core-embed__tumblr.serialized.html | 7 + blocks/test/fixtures/core-embed__twitter.html | 6 + ...dtwitter.json => core-embed__twitter.json} | 2 +- .../fixtures/core-embed__twitter.parsed.json | 13 + .../core-embed__twitter.serialized.html | 7 + .../test/fixtures/core-embed__videopress.html | 6 + ...press.json => core-embed__videopress.json} | 2 +- .../core-embed__videopress.parsed.json | 13 + .../core-embed__videopress.serialized.html | 7 + blocks/test/fixtures/core-embed__vimeo.html | 6 + ...embedvimeo.json => core-embed__vimeo.json} | 2 +- .../fixtures/core-embed__vimeo.parsed.json | 13 + .../core-embed__vimeo.serialized.html | 7 + blocks/test/fixtures/core-embed__vine.html | 6 + ...e-embedvine.json => core-embed__vine.json} | 2 +- .../fixtures/core-embed__vine.parsed.json | 13 + .../fixtures/core-embed__vine.serialized.html | 7 + .../fixtures/core-embed__wordpress-tv.html | 6 + .../fixtures/core-embed__wordpress-tv.json | 12 + .../core-embed__wordpress-tv.parsed.json | 13 + .../core-embed__wordpress-tv.serialized.html | 7 + .../test/fixtures/core-embed__wordpress.html | 6 + ...dpress.json => core-embed__wordpress.json} | 2 +- .../core-embed__wordpress.parsed.json | 13 + .../core-embed__wordpress.serialized.html | 7 + blocks/test/fixtures/core-embed__youtube.html | 6 + ...dyoutube.json => core-embed__youtube.json} | 2 +- .../fixtures/core-embed__youtube.parsed.json | 13 + .../core-embed__youtube.serialized.html | 7 + blocks/test/fixtures/core-embedanimoto.html | 6 - .../fixtures/core-embedanimoto.parsed.json | 13 - .../core-embedanimoto.serialized.html | 7 - blocks/test/fixtures/core-embedcloudup.html | 6 - .../fixtures/core-embedcloudup.parsed.json | 13 - .../core-embedcloudup.serialized.html | 7 - .../test/fixtures/core-embedcollegehumor.html | 6 - .../core-embedcollegehumor.parsed.json | 13 - .../core-embedcollegehumor.serialized.html | 7 - .../test/fixtures/core-embeddailymotion.html | 6 - .../core-embeddailymotion.parsed.json | 13 - .../core-embeddailymotion.serialized.html | 7 - blocks/test/fixtures/core-embedfacebook.html | 6 - .../fixtures/core-embedfacebook.parsed.json | 13 - .../core-embedfacebook.serialized.html | 7 - blocks/test/fixtures/core-embedflickr.html | 6 - .../fixtures/core-embedflickr.parsed.json | 13 - .../fixtures/core-embedflickr.serialized.html | 7 - .../test/fixtures/core-embedfunnyordie.html | 6 - .../fixtures/core-embedfunnyordie.parsed.json | 13 - .../core-embedfunnyordie.serialized.html | 7 - blocks/test/fixtures/core-embedhulu.html | 6 - .../test/fixtures/core-embedhulu.parsed.json | 13 - .../fixtures/core-embedhulu.serialized.html | 7 - blocks/test/fixtures/core-embedimgur.html | 6 - .../test/fixtures/core-embedimgur.parsed.json | 13 - .../fixtures/core-embedimgur.serialized.html | 7 - blocks/test/fixtures/core-embedinstagram.html | 6 - .../fixtures/core-embedinstagram.parsed.json | 13 - .../core-embedinstagram.serialized.html | 7 - blocks/test/fixtures/core-embedissuu.html | 6 - .../test/fixtures/core-embedissuu.parsed.json | 13 - .../fixtures/core-embedissuu.serialized.html | 7 - .../test/fixtures/core-embedkickstarter.html | 6 - .../core-embedkickstarter.parsed.json | 13 - .../core-embedkickstarter.serialized.html | 7 - blocks/test/fixtures/core-embedmeetupcom.html | 6 - blocks/test/fixtures/core-embedmeetupcom.json | 12 - .../fixtures/core-embedmeetupcom.parsed.json | 13 - .../core-embedmeetupcom.serialized.html | 7 - blocks/test/fixtures/core-embedmixcloud.html | 6 - .../fixtures/core-embedmixcloud.parsed.json | 13 - .../core-embedmixcloud.serialized.html | 7 - .../test/fixtures/core-embedphotobucket.html | 6 - .../core-embedphotobucket.parsed.json | 13 - .../core-embedphotobucket.serialized.html | 7 - blocks/test/fixtures/core-embedpolldaddy.html | 6 - .../fixtures/core-embedpolldaddy.parsed.json | 13 - .../core-embedpolldaddy.serialized.html | 7 - blocks/test/fixtures/core-embedreddit.html | 6 - .../fixtures/core-embedreddit.parsed.json | 13 - .../fixtures/core-embedreddit.serialized.html | 7 - .../test/fixtures/core-embedreverbnation.html | 6 - .../core-embedreverbnation.parsed.json | 13 - .../core-embedreverbnation.serialized.html | 7 - .../test/fixtures/core-embedscreencast.html | 6 - .../fixtures/core-embedscreencast.parsed.json | 13 - .../core-embedscreencast.serialized.html | 7 - blocks/test/fixtures/core-embedscribd.html | 6 - .../fixtures/core-embedscribd.parsed.json | 13 - .../fixtures/core-embedscribd.serialized.html | 7 - .../test/fixtures/core-embedslideshare.html | 6 - .../fixtures/core-embedslideshare.parsed.json | 13 - .../core-embedslideshare.serialized.html | 7 - blocks/test/fixtures/core-embedsmugmug.html | 6 - .../fixtures/core-embedsmugmug.parsed.json | 13 - .../core-embedsmugmug.serialized.html | 7 - .../test/fixtures/core-embedsoundcloud.html | 6 - .../fixtures/core-embedsoundcloud.parsed.json | 13 - .../core-embedsoundcloud.serialized.html | 7 - blocks/test/fixtures/core-embedspeaker.html | 6 - .../fixtures/core-embedspeaker.parsed.json | 13 - .../core-embedspeaker.serialized.html | 7 - blocks/test/fixtures/core-embedspotify.html | 6 - .../fixtures/core-embedspotify.parsed.json | 13 - .../core-embedspotify.serialized.html | 7 - blocks/test/fixtures/core-embedted.html | 6 - .../test/fixtures/core-embedted.parsed.json | 13 - .../fixtures/core-embedted.serialized.html | 7 - blocks/test/fixtures/core-embedtumblr.html | 6 - .../fixtures/core-embedtumblr.parsed.json | 13 - .../fixtures/core-embedtumblr.serialized.html | 7 - blocks/test/fixtures/core-embedtwitter.html | 6 - .../fixtures/core-embedtwitter.parsed.json | 13 - .../core-embedtwitter.serialized.html | 7 - .../test/fixtures/core-embedvideopress.html | 6 - .../fixtures/core-embedvideopress.parsed.json | 13 - .../core-embedvideopress.serialized.html | 7 - blocks/test/fixtures/core-embedvimeo.html | 6 - .../test/fixtures/core-embedvimeo.parsed.json | 13 - .../fixtures/core-embedvimeo.serialized.html | 7 - blocks/test/fixtures/core-embedvine.html | 6 - .../test/fixtures/core-embedvine.parsed.json | 13 - .../fixtures/core-embedvine.serialized.html | 7 - blocks/test/fixtures/core-embedwordpress.html | 6 - .../fixtures/core-embedwordpress.parsed.json | 13 - .../core-embedwordpress.serialized.html | 7 - .../test/fixtures/core-embedwordpresstv.html | 6 - .../test/fixtures/core-embedwordpresstv.json | 12 - .../core-embedwordpresstv.parsed.json | 13 - .../core-embedwordpresstv.serialized.html | 7 - blocks/test/fixtures/core-embedyoutube.html | 6 - .../fixtures/core-embedyoutube.parsed.json | 13 - .../core-embedyoutube.serialized.html | 7 - blocks/test/fixtures/core-latestposts.html | 1 - .../fixtures/core-latestposts.serialized.html | 1 - ...-center.html => core__button__center.html} | 0 ...-center.json => core__button__center.json} | 0 ....json => core__button__center.parsed.json} | 0 ...l => core__button__center.serialized.html} | 0 .../{core-code.html => core__code.html} | 0 .../{core-code.json => core__code.json} | 0 ...ode.parsed.json => core__code.parsed.json} | 0 ...alized.html => core__code.serialized.html} | 0 ...over-image.html => core__cover-image.html} | 0 ...over-image.json => core__cover-image.json} | 0 ...sed.json => core__cover-image.parsed.json} | 0 ...html => core__cover-image.serialized.html} | 0 .../{core-embed.html => core__embed.html} | 0 .../{core-embed.json => core__embed.json} | 0 ...ed.parsed.json => core__embed.parsed.json} | 0 ...lized.html => core__embed.serialized.html} | 0 ...core-freeform.html => core__freeform.html} | 0 ...core-freeform.json => core__freeform.json} | 0 ...parsed.json => core__freeform.parsed.json} | 0 ...ed.html => core__freeform.serialized.html} | 0 .../{core-gallery.html => core__gallery.html} | 0 .../{core-gallery.json => core__gallery.json} | 0 ....parsed.json => core__gallery.parsed.json} | 0 ...zed.html => core__gallery.serialized.html} | 0 ...g-h2-em.html => core__heading__h2-em.html} | 0 ...g-h2-em.json => core__heading__h2-em.json} | 0 ....json => core__heading__h2-em.parsed.json} | 0 ...l => core__heading__h2-em.serialized.html} | 0 ...heading-h2.html => core__heading__h2.html} | 0 ...heading-h2.json => core__heading__h2.json} | 0 ...sed.json => core__heading__h2.parsed.json} | 0 ...html => core__heading__h2.serialized.html} | 0 .../{core-html.html => core__html.html} | 0 .../{core-html.json => core__html.json} | 0 ...tml.parsed.json => core__html.parsed.json} | 0 ...alized.html => core__html.serialized.html} | 0 .../{core-image.html => core__image.html} | 0 .../{core-image.json => core__image.json} | 0 ...ge.parsed.json => core__image.parsed.json} | 0 ...lized.html => core__image.serialized.html} | 0 ....html => core__image__center-caption.html} | 0 ....json => core__image__center-caption.json} | 0 ...> core__image__center-caption.parsed.json} | 0 ...re__image__center-caption.serialized.html} | 0 blocks/test/fixtures/core__latest-posts.html | 1 + ...testposts.json => core__latest-posts.json} | 4 +- ...ed.json => core__latest-posts.parsed.json} | 4 +- .../core__latest-posts.serialized.html | 1 + ...{core-list-ul.html => core__list__ul.html} | 0 ...{core-list-ul.json => core__list__ul.json} | 0 ...parsed.json => core__list__ul.parsed.json} | 0 ...ed.html => core__list__ul.serialized.html} | 0 ...formatted.html => core__preformatted.html} | 0 ...formatted.json => core__preformatted.json} | 0 ...ed.json => core__preformatted.parsed.json} | 0 ...tml => core__preformatted.serialized.html} | 0 ...re-pullquote.html => core__pullquote.html} | 0 ...re-pullquote.json => core__pullquote.json} | 0 ...arsed.json => core__pullquote.parsed.json} | 0 ...d.html => core__pullquote.serialized.html} | 0 ...style-1.html => core__quote__style-1.html} | 0 ...style-1.json => core__quote__style-1.json} | 0 ....json => core__quote__style-1.parsed.json} | 0 ...l => core__quote__style-1.serialized.html} | 0 ...style-2.html => core__quote__style-2.html} | 0 ...style-2.json => core__quote__style-2.json} | 0 ....json => core__quote__style-2.parsed.json} | 0 ...l => core__quote__style-2.serialized.html} | 0 ...re-separator.html => core__separator.html} | 0 ...re-separator.json => core__separator.json} | 0 ...arsed.json => core__separator.parsed.json} | 0 ...d.html => core__separator.serialized.html} | 0 .../{core-table.html => core__table.html} | 0 .../{core-table.json => core__table.json} | 0 ...le.parsed.json => core__table.parsed.json} | 0 ...lized.html => core__table.serialized.html} | 0 ...ight.html => core__text__align-right.html} | 0 ...ight.json => core__text__align-right.json} | 0 ...on => core__text__align-right.parsed.json} | 0 ...> core__text__align-right.serialized.html} | 0 blocks/test/full-content.js | 6 +- lib/blocks/latest-posts.php | 2 +- phpunit/class-registration-test.php | 2 +- 329 files changed, 1216 insertions(+), 1007 deletions(-) create mode 100644 blocks/test/fixtures/core-embed__animoto.html rename blocks/test/fixtures/{core-embedanimoto.json => core-embed__animoto.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__animoto.parsed.json create mode 100644 blocks/test/fixtures/core-embed__animoto.serialized.html create mode 100644 blocks/test/fixtures/core-embed__cloudup.html rename blocks/test/fixtures/{core-embedcloudup.json => core-embed__cloudup.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__cloudup.parsed.json create mode 100644 blocks/test/fixtures/core-embed__cloudup.serialized.html create mode 100644 blocks/test/fixtures/core-embed__collegehumor.html rename blocks/test/fixtures/{core-embedcollegehumor.json => core-embed__collegehumor.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__collegehumor.parsed.json create mode 100644 blocks/test/fixtures/core-embed__collegehumor.serialized.html create mode 100644 blocks/test/fixtures/core-embed__dailymotion.html rename blocks/test/fixtures/{core-embeddailymotion.json => core-embed__dailymotion.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__dailymotion.parsed.json create mode 100644 blocks/test/fixtures/core-embed__dailymotion.serialized.html create mode 100644 blocks/test/fixtures/core-embed__facebook.html rename blocks/test/fixtures/{core-embedfacebook.json => core-embed__facebook.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__facebook.parsed.json create mode 100644 blocks/test/fixtures/core-embed__facebook.serialized.html create mode 100644 blocks/test/fixtures/core-embed__flickr.html rename blocks/test/fixtures/{core-embedflickr.json => core-embed__flickr.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__flickr.parsed.json create mode 100644 blocks/test/fixtures/core-embed__flickr.serialized.html create mode 100644 blocks/test/fixtures/core-embed__funnyordie.html rename blocks/test/fixtures/{core-embedfunnyordie.json => core-embed__funnyordie.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__funnyordie.parsed.json create mode 100644 blocks/test/fixtures/core-embed__funnyordie.serialized.html create mode 100644 blocks/test/fixtures/core-embed__hulu.html rename blocks/test/fixtures/{core-embedhulu.json => core-embed__hulu.json} (85%) create mode 100644 blocks/test/fixtures/core-embed__hulu.parsed.json create mode 100644 blocks/test/fixtures/core-embed__hulu.serialized.html create mode 100644 blocks/test/fixtures/core-embed__imgur.html rename blocks/test/fixtures/{core-embedimgur.json => core-embed__imgur.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__imgur.parsed.json create mode 100644 blocks/test/fixtures/core-embed__imgur.serialized.html create mode 100644 blocks/test/fixtures/core-embed__instagram.html rename blocks/test/fixtures/{core-embedinstagram.json => core-embed__instagram.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__instagram.parsed.json create mode 100644 blocks/test/fixtures/core-embed__instagram.serialized.html create mode 100644 blocks/test/fixtures/core-embed__issuu.html rename blocks/test/fixtures/{core-embedissuu.json => core-embed__issuu.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__issuu.parsed.json create mode 100644 blocks/test/fixtures/core-embed__issuu.serialized.html create mode 100644 blocks/test/fixtures/core-embed__kickstarter.html rename blocks/test/fixtures/{core-embedkickstarter.json => core-embed__kickstarter.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__kickstarter.parsed.json create mode 100644 blocks/test/fixtures/core-embed__kickstarter.serialized.html create mode 100644 blocks/test/fixtures/core-embed__meetup-com.html create mode 100644 blocks/test/fixtures/core-embed__meetup-com.json create mode 100644 blocks/test/fixtures/core-embed__meetup-com.parsed.json create mode 100644 blocks/test/fixtures/core-embed__meetup-com.serialized.html create mode 100644 blocks/test/fixtures/core-embed__mixcloud.html rename blocks/test/fixtures/{core-embedmixcloud.json => core-embed__mixcloud.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__mixcloud.parsed.json create mode 100644 blocks/test/fixtures/core-embed__mixcloud.serialized.html create mode 100644 blocks/test/fixtures/core-embed__photobucket.html rename blocks/test/fixtures/{core-embedphotobucket.json => core-embed__photobucket.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__photobucket.parsed.json create mode 100644 blocks/test/fixtures/core-embed__photobucket.serialized.html create mode 100644 blocks/test/fixtures/core-embed__polldaddy.html rename blocks/test/fixtures/{core-embedpolldaddy.json => core-embed__polldaddy.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__polldaddy.parsed.json create mode 100644 blocks/test/fixtures/core-embed__polldaddy.serialized.html create mode 100644 blocks/test/fixtures/core-embed__reddit.html rename blocks/test/fixtures/{core-embedreddit.json => core-embed__reddit.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__reddit.parsed.json create mode 100644 blocks/test/fixtures/core-embed__reddit.serialized.html create mode 100644 blocks/test/fixtures/core-embed__reverbnation.html rename blocks/test/fixtures/{core-embedreverbnation.json => core-embed__reverbnation.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__reverbnation.parsed.json create mode 100644 blocks/test/fixtures/core-embed__reverbnation.serialized.html create mode 100644 blocks/test/fixtures/core-embed__screencast.html rename blocks/test/fixtures/{core-embedscreencast.json => core-embed__screencast.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__screencast.parsed.json create mode 100644 blocks/test/fixtures/core-embed__screencast.serialized.html create mode 100644 blocks/test/fixtures/core-embed__scribd.html rename blocks/test/fixtures/{core-embedscribd.json => core-embed__scribd.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__scribd.parsed.json create mode 100644 blocks/test/fixtures/core-embed__scribd.serialized.html create mode 100644 blocks/test/fixtures/core-embed__slideshare.html rename blocks/test/fixtures/{core-embedslideshare.json => core-embed__slideshare.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__slideshare.parsed.json create mode 100644 blocks/test/fixtures/core-embed__slideshare.serialized.html create mode 100644 blocks/test/fixtures/core-embed__smugmug.html rename blocks/test/fixtures/{core-embedsmugmug.json => core-embed__smugmug.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__smugmug.parsed.json create mode 100644 blocks/test/fixtures/core-embed__smugmug.serialized.html create mode 100644 blocks/test/fixtures/core-embed__soundcloud.html rename blocks/test/fixtures/{core-embedsoundcloud.json => core-embed__soundcloud.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__soundcloud.parsed.json create mode 100644 blocks/test/fixtures/core-embed__soundcloud.serialized.html create mode 100644 blocks/test/fixtures/core-embed__speaker.html rename blocks/test/fixtures/{core-embedspeaker.json => core-embed__speaker.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__speaker.parsed.json create mode 100644 blocks/test/fixtures/core-embed__speaker.serialized.html create mode 100644 blocks/test/fixtures/core-embed__spotify.html rename blocks/test/fixtures/{core-embedspotify.json => core-embed__spotify.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__spotify.parsed.json create mode 100644 blocks/test/fixtures/core-embed__spotify.serialized.html create mode 100644 blocks/test/fixtures/core-embed__ted.html rename blocks/test/fixtures/{core-embedted.json => core-embed__ted.json} (85%) create mode 100644 blocks/test/fixtures/core-embed__ted.parsed.json create mode 100644 blocks/test/fixtures/core-embed__ted.serialized.html create mode 100644 blocks/test/fixtures/core-embed__tumblr.html rename blocks/test/fixtures/{core-embedtumblr.json => core-embed__tumblr.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__tumblr.parsed.json create mode 100644 blocks/test/fixtures/core-embed__tumblr.serialized.html create mode 100644 blocks/test/fixtures/core-embed__twitter.html rename blocks/test/fixtures/{core-embedtwitter.json => core-embed__twitter.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__twitter.parsed.json create mode 100644 blocks/test/fixtures/core-embed__twitter.serialized.html create mode 100644 blocks/test/fixtures/core-embed__videopress.html rename blocks/test/fixtures/{core-embedvideopress.json => core-embed__videopress.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__videopress.parsed.json create mode 100644 blocks/test/fixtures/core-embed__videopress.serialized.html create mode 100644 blocks/test/fixtures/core-embed__vimeo.html rename blocks/test/fixtures/{core-embedvimeo.json => core-embed__vimeo.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__vimeo.parsed.json create mode 100644 blocks/test/fixtures/core-embed__vimeo.serialized.html create mode 100644 blocks/test/fixtures/core-embed__vine.html rename blocks/test/fixtures/{core-embedvine.json => core-embed__vine.json} (85%) create mode 100644 blocks/test/fixtures/core-embed__vine.parsed.json create mode 100644 blocks/test/fixtures/core-embed__vine.serialized.html create mode 100644 blocks/test/fixtures/core-embed__wordpress-tv.html create mode 100644 blocks/test/fixtures/core-embed__wordpress-tv.json create mode 100644 blocks/test/fixtures/core-embed__wordpress-tv.parsed.json create mode 100644 blocks/test/fixtures/core-embed__wordpress-tv.serialized.html create mode 100644 blocks/test/fixtures/core-embed__wordpress.html rename blocks/test/fixtures/{core-embedwordpress.json => core-embed__wordpress.json} (83%) create mode 100644 blocks/test/fixtures/core-embed__wordpress.parsed.json create mode 100644 blocks/test/fixtures/core-embed__wordpress.serialized.html create mode 100644 blocks/test/fixtures/core-embed__youtube.html rename blocks/test/fixtures/{core-embedyoutube.json => core-embed__youtube.json} (84%) create mode 100644 blocks/test/fixtures/core-embed__youtube.parsed.json create mode 100644 blocks/test/fixtures/core-embed__youtube.serialized.html delete mode 100644 blocks/test/fixtures/core-embedanimoto.html delete mode 100644 blocks/test/fixtures/core-embedanimoto.parsed.json delete mode 100644 blocks/test/fixtures/core-embedanimoto.serialized.html delete mode 100644 blocks/test/fixtures/core-embedcloudup.html delete mode 100644 blocks/test/fixtures/core-embedcloudup.parsed.json delete mode 100644 blocks/test/fixtures/core-embedcloudup.serialized.html delete mode 100644 blocks/test/fixtures/core-embedcollegehumor.html delete mode 100644 blocks/test/fixtures/core-embedcollegehumor.parsed.json delete mode 100644 blocks/test/fixtures/core-embedcollegehumor.serialized.html delete mode 100644 blocks/test/fixtures/core-embeddailymotion.html delete mode 100644 blocks/test/fixtures/core-embeddailymotion.parsed.json delete mode 100644 blocks/test/fixtures/core-embeddailymotion.serialized.html delete mode 100644 blocks/test/fixtures/core-embedfacebook.html delete mode 100644 blocks/test/fixtures/core-embedfacebook.parsed.json delete mode 100644 blocks/test/fixtures/core-embedfacebook.serialized.html delete mode 100644 blocks/test/fixtures/core-embedflickr.html delete mode 100644 blocks/test/fixtures/core-embedflickr.parsed.json delete mode 100644 blocks/test/fixtures/core-embedflickr.serialized.html delete mode 100644 blocks/test/fixtures/core-embedfunnyordie.html delete mode 100644 blocks/test/fixtures/core-embedfunnyordie.parsed.json delete mode 100644 blocks/test/fixtures/core-embedfunnyordie.serialized.html delete mode 100644 blocks/test/fixtures/core-embedhulu.html delete mode 100644 blocks/test/fixtures/core-embedhulu.parsed.json delete mode 100644 blocks/test/fixtures/core-embedhulu.serialized.html delete mode 100644 blocks/test/fixtures/core-embedimgur.html delete mode 100644 blocks/test/fixtures/core-embedimgur.parsed.json delete mode 100644 blocks/test/fixtures/core-embedimgur.serialized.html delete mode 100644 blocks/test/fixtures/core-embedinstagram.html delete mode 100644 blocks/test/fixtures/core-embedinstagram.parsed.json delete mode 100644 blocks/test/fixtures/core-embedinstagram.serialized.html delete mode 100644 blocks/test/fixtures/core-embedissuu.html delete mode 100644 blocks/test/fixtures/core-embedissuu.parsed.json delete mode 100644 blocks/test/fixtures/core-embedissuu.serialized.html delete mode 100644 blocks/test/fixtures/core-embedkickstarter.html delete mode 100644 blocks/test/fixtures/core-embedkickstarter.parsed.json delete mode 100644 blocks/test/fixtures/core-embedkickstarter.serialized.html delete mode 100644 blocks/test/fixtures/core-embedmeetupcom.html delete mode 100644 blocks/test/fixtures/core-embedmeetupcom.json delete mode 100644 blocks/test/fixtures/core-embedmeetupcom.parsed.json delete mode 100644 blocks/test/fixtures/core-embedmeetupcom.serialized.html delete mode 100644 blocks/test/fixtures/core-embedmixcloud.html delete mode 100644 blocks/test/fixtures/core-embedmixcloud.parsed.json delete mode 100644 blocks/test/fixtures/core-embedmixcloud.serialized.html delete mode 100644 blocks/test/fixtures/core-embedphotobucket.html delete mode 100644 blocks/test/fixtures/core-embedphotobucket.parsed.json delete mode 100644 blocks/test/fixtures/core-embedphotobucket.serialized.html delete mode 100644 blocks/test/fixtures/core-embedpolldaddy.html delete mode 100644 blocks/test/fixtures/core-embedpolldaddy.parsed.json delete mode 100644 blocks/test/fixtures/core-embedpolldaddy.serialized.html delete mode 100644 blocks/test/fixtures/core-embedreddit.html delete mode 100644 blocks/test/fixtures/core-embedreddit.parsed.json delete mode 100644 blocks/test/fixtures/core-embedreddit.serialized.html delete mode 100644 blocks/test/fixtures/core-embedreverbnation.html delete mode 100644 blocks/test/fixtures/core-embedreverbnation.parsed.json delete mode 100644 blocks/test/fixtures/core-embedreverbnation.serialized.html delete mode 100644 blocks/test/fixtures/core-embedscreencast.html delete mode 100644 blocks/test/fixtures/core-embedscreencast.parsed.json delete mode 100644 blocks/test/fixtures/core-embedscreencast.serialized.html delete mode 100644 blocks/test/fixtures/core-embedscribd.html delete mode 100644 blocks/test/fixtures/core-embedscribd.parsed.json delete mode 100644 blocks/test/fixtures/core-embedscribd.serialized.html delete mode 100644 blocks/test/fixtures/core-embedslideshare.html delete mode 100644 blocks/test/fixtures/core-embedslideshare.parsed.json delete mode 100644 blocks/test/fixtures/core-embedslideshare.serialized.html delete mode 100644 blocks/test/fixtures/core-embedsmugmug.html delete mode 100644 blocks/test/fixtures/core-embedsmugmug.parsed.json delete mode 100644 blocks/test/fixtures/core-embedsmugmug.serialized.html delete mode 100644 blocks/test/fixtures/core-embedsoundcloud.html delete mode 100644 blocks/test/fixtures/core-embedsoundcloud.parsed.json delete mode 100644 blocks/test/fixtures/core-embedsoundcloud.serialized.html delete mode 100644 blocks/test/fixtures/core-embedspeaker.html delete mode 100644 blocks/test/fixtures/core-embedspeaker.parsed.json delete mode 100644 blocks/test/fixtures/core-embedspeaker.serialized.html delete mode 100644 blocks/test/fixtures/core-embedspotify.html delete mode 100644 blocks/test/fixtures/core-embedspotify.parsed.json delete mode 100644 blocks/test/fixtures/core-embedspotify.serialized.html delete mode 100644 blocks/test/fixtures/core-embedted.html delete mode 100644 blocks/test/fixtures/core-embedted.parsed.json delete mode 100644 blocks/test/fixtures/core-embedted.serialized.html delete mode 100644 blocks/test/fixtures/core-embedtumblr.html delete mode 100644 blocks/test/fixtures/core-embedtumblr.parsed.json delete mode 100644 blocks/test/fixtures/core-embedtumblr.serialized.html delete mode 100644 blocks/test/fixtures/core-embedtwitter.html delete mode 100644 blocks/test/fixtures/core-embedtwitter.parsed.json delete mode 100644 blocks/test/fixtures/core-embedtwitter.serialized.html delete mode 100644 blocks/test/fixtures/core-embedvideopress.html delete mode 100644 blocks/test/fixtures/core-embedvideopress.parsed.json delete mode 100644 blocks/test/fixtures/core-embedvideopress.serialized.html delete mode 100644 blocks/test/fixtures/core-embedvimeo.html delete mode 100644 blocks/test/fixtures/core-embedvimeo.parsed.json delete mode 100644 blocks/test/fixtures/core-embedvimeo.serialized.html delete mode 100644 blocks/test/fixtures/core-embedvine.html delete mode 100644 blocks/test/fixtures/core-embedvine.parsed.json delete mode 100644 blocks/test/fixtures/core-embedvine.serialized.html delete mode 100644 blocks/test/fixtures/core-embedwordpress.html delete mode 100644 blocks/test/fixtures/core-embedwordpress.parsed.json delete mode 100644 blocks/test/fixtures/core-embedwordpress.serialized.html delete mode 100644 blocks/test/fixtures/core-embedwordpresstv.html delete mode 100644 blocks/test/fixtures/core-embedwordpresstv.json delete mode 100644 blocks/test/fixtures/core-embedwordpresstv.parsed.json delete mode 100644 blocks/test/fixtures/core-embedwordpresstv.serialized.html delete mode 100644 blocks/test/fixtures/core-embedyoutube.html delete mode 100644 blocks/test/fixtures/core-embedyoutube.parsed.json delete mode 100644 blocks/test/fixtures/core-embedyoutube.serialized.html delete mode 100644 blocks/test/fixtures/core-latestposts.html delete mode 100644 blocks/test/fixtures/core-latestposts.serialized.html rename blocks/test/fixtures/{core-button-center.html => core__button__center.html} (100%) rename blocks/test/fixtures/{core-button-center.json => core__button__center.json} (100%) rename blocks/test/fixtures/{core-button-center.parsed.json => core__button__center.parsed.json} (100%) rename blocks/test/fixtures/{core-button-center.serialized.html => core__button__center.serialized.html} (100%) rename blocks/test/fixtures/{core-code.html => core__code.html} (100%) rename blocks/test/fixtures/{core-code.json => core__code.json} (100%) rename blocks/test/fixtures/{core-code.parsed.json => core__code.parsed.json} (100%) rename blocks/test/fixtures/{core-code.serialized.html => core__code.serialized.html} (100%) rename blocks/test/fixtures/{core-cover-image.html => core__cover-image.html} (100%) rename blocks/test/fixtures/{core-cover-image.json => core__cover-image.json} (100%) rename blocks/test/fixtures/{core-cover-image.parsed.json => core__cover-image.parsed.json} (100%) rename blocks/test/fixtures/{core-cover-image.serialized.html => core__cover-image.serialized.html} (100%) rename blocks/test/fixtures/{core-embed.html => core__embed.html} (100%) rename blocks/test/fixtures/{core-embed.json => core__embed.json} (100%) rename blocks/test/fixtures/{core-embed.parsed.json => core__embed.parsed.json} (100%) rename blocks/test/fixtures/{core-embed.serialized.html => core__embed.serialized.html} (100%) rename blocks/test/fixtures/{core-freeform.html => core__freeform.html} (100%) rename blocks/test/fixtures/{core-freeform.json => core__freeform.json} (100%) rename blocks/test/fixtures/{core-freeform.parsed.json => core__freeform.parsed.json} (100%) rename blocks/test/fixtures/{core-freeform.serialized.html => core__freeform.serialized.html} (100%) rename blocks/test/fixtures/{core-gallery.html => core__gallery.html} (100%) rename blocks/test/fixtures/{core-gallery.json => core__gallery.json} (100%) rename blocks/test/fixtures/{core-gallery.parsed.json => core__gallery.parsed.json} (100%) rename blocks/test/fixtures/{core-gallery.serialized.html => core__gallery.serialized.html} (100%) rename blocks/test/fixtures/{core-heading-h2-em.html => core__heading__h2-em.html} (100%) rename blocks/test/fixtures/{core-heading-h2-em.json => core__heading__h2-em.json} (100%) rename blocks/test/fixtures/{core-heading-h2-em.parsed.json => core__heading__h2-em.parsed.json} (100%) rename blocks/test/fixtures/{core-heading-h2-em.serialized.html => core__heading__h2-em.serialized.html} (100%) rename blocks/test/fixtures/{core-heading-h2.html => core__heading__h2.html} (100%) rename blocks/test/fixtures/{core-heading-h2.json => core__heading__h2.json} (100%) rename blocks/test/fixtures/{core-heading-h2.parsed.json => core__heading__h2.parsed.json} (100%) rename blocks/test/fixtures/{core-heading-h2.serialized.html => core__heading__h2.serialized.html} (100%) rename blocks/test/fixtures/{core-html.html => core__html.html} (100%) rename blocks/test/fixtures/{core-html.json => core__html.json} (100%) rename blocks/test/fixtures/{core-html.parsed.json => core__html.parsed.json} (100%) rename blocks/test/fixtures/{core-html.serialized.html => core__html.serialized.html} (100%) rename blocks/test/fixtures/{core-image.html => core__image.html} (100%) rename blocks/test/fixtures/{core-image.json => core__image.json} (100%) rename blocks/test/fixtures/{core-image.parsed.json => core__image.parsed.json} (100%) rename blocks/test/fixtures/{core-image.serialized.html => core__image.serialized.html} (100%) rename blocks/test/fixtures/{core-image-center-caption.html => core__image__center-caption.html} (100%) rename blocks/test/fixtures/{core-image-center-caption.json => core__image__center-caption.json} (100%) rename blocks/test/fixtures/{core-image-center-caption.parsed.json => core__image__center-caption.parsed.json} (100%) rename blocks/test/fixtures/{core-image-center-caption.serialized.html => core__image__center-caption.serialized.html} (100%) create mode 100644 blocks/test/fixtures/core__latest-posts.html rename blocks/test/fixtures/{core-latestposts.json => core__latest-posts.json} (62%) rename blocks/test/fixtures/{core-latestposts.parsed.json => core__latest-posts.parsed.json} (70%) create mode 100644 blocks/test/fixtures/core__latest-posts.serialized.html rename blocks/test/fixtures/{core-list-ul.html => core__list__ul.html} (100%) rename blocks/test/fixtures/{core-list-ul.json => core__list__ul.json} (100%) rename blocks/test/fixtures/{core-list-ul.parsed.json => core__list__ul.parsed.json} (100%) rename blocks/test/fixtures/{core-list-ul.serialized.html => core__list__ul.serialized.html} (100%) rename blocks/test/fixtures/{core-preformatted.html => core__preformatted.html} (100%) rename blocks/test/fixtures/{core-preformatted.json => core__preformatted.json} (100%) rename blocks/test/fixtures/{core-preformatted.parsed.json => core__preformatted.parsed.json} (100%) rename blocks/test/fixtures/{core-preformatted.serialized.html => core__preformatted.serialized.html} (100%) rename blocks/test/fixtures/{core-pullquote.html => core__pullquote.html} (100%) rename blocks/test/fixtures/{core-pullquote.json => core__pullquote.json} (100%) rename blocks/test/fixtures/{core-pullquote.parsed.json => core__pullquote.parsed.json} (100%) rename blocks/test/fixtures/{core-pullquote.serialized.html => core__pullquote.serialized.html} (100%) rename blocks/test/fixtures/{core-quote-style-1.html => core__quote__style-1.html} (100%) rename blocks/test/fixtures/{core-quote-style-1.json => core__quote__style-1.json} (100%) rename blocks/test/fixtures/{core-quote-style-1.parsed.json => core__quote__style-1.parsed.json} (100%) rename blocks/test/fixtures/{core-quote-style-1.serialized.html => core__quote__style-1.serialized.html} (100%) rename blocks/test/fixtures/{core-quote-style-2.html => core__quote__style-2.html} (100%) rename blocks/test/fixtures/{core-quote-style-2.json => core__quote__style-2.json} (100%) rename blocks/test/fixtures/{core-quote-style-2.parsed.json => core__quote__style-2.parsed.json} (100%) rename blocks/test/fixtures/{core-quote-style-2.serialized.html => core__quote__style-2.serialized.html} (100%) rename blocks/test/fixtures/{core-separator.html => core__separator.html} (100%) rename blocks/test/fixtures/{core-separator.json => core__separator.json} (100%) rename blocks/test/fixtures/{core-separator.parsed.json => core__separator.parsed.json} (100%) rename blocks/test/fixtures/{core-separator.serialized.html => core__separator.serialized.html} (100%) rename blocks/test/fixtures/{core-table.html => core__table.html} (100%) rename blocks/test/fixtures/{core-table.json => core__table.json} (100%) rename blocks/test/fixtures/{core-table.parsed.json => core__table.parsed.json} (100%) rename blocks/test/fixtures/{core-table.serialized.html => core__table.serialized.html} (100%) rename blocks/test/fixtures/{core-text-align-right.html => core__text__align-right.html} (100%) rename blocks/test/fixtures/{core-text-align-right.json => core__text__align-right.json} (100%) rename blocks/test/fixtures/{core-text-align-right.parsed.json => core__text__align-right.parsed.json} (100%) rename blocks/test/fixtures/{core-text-align-right.serialized.html => core__text__align-right.serialized.html} (100%) diff --git a/blocks/library/embed/index.js b/blocks/library/embed/index.js index dbf9cce8e4215..a346781c68353 100644 --- a/blocks/library/embed/index.js +++ b/blocks/library/embed/index.js @@ -211,38 +211,247 @@ function getEmbedBlockSettings( { title, icon, category = 'embed' } ) { }; } -registerBlockType( 'core/embed', getEmbedBlockSettings( { title: 'Embed', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedanimoto', getEmbedBlockSettings( { title: 'Animoto', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedcloudup', getEmbedBlockSettings( { title: 'Cloudup', icon: 'cloud' } ) ); -registerBlockType( 'core/embedcollegehumor', getEmbedBlockSettings( { title: 'CollegeHumor', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embeddailymotion', getEmbedBlockSettings( { title: 'Dailymotion', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedfacebook', getEmbedBlockSettings( { title: 'Facebook', icon: 'facebook' } ) ); -registerBlockType( 'core/embedflickr', getEmbedBlockSettings( { title: 'Flickr', icon: 'format-image' } ) ); -registerBlockType( 'core/embedfunnyordie', getEmbedBlockSettings( { title: 'Funny or Die', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedhulu', getEmbedBlockSettings( { title: 'Hulu', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedimgur', getEmbedBlockSettings( { title: 'Imgur', icon: 'format-image' } ) ); -registerBlockType( 'core/embedinstagram', getEmbedBlockSettings( { title: 'Instagram', icon: 'camera' } ) ); -registerBlockType( 'core/embedissuu', getEmbedBlockSettings( { title: 'Issuu', icon: 'media-default' } ) ); -registerBlockType( 'core/embedkickstarter', getEmbedBlockSettings( { title: 'Kickstarter', icon: 'lightbulb' } ) ); -registerBlockType( 'core/embedmeetupcom', getEmbedBlockSettings( { title: 'Meetup.com', icon: 'location-alt' } ) ); -registerBlockType( 'core/embedmixcloud', getEmbedBlockSettings( { title: 'Mixcloud', icon: 'format-audio' } ) ); -registerBlockType( 'core/embedphotobucket', getEmbedBlockSettings( { title: 'Photobucket', icon: 'camera' } ) ); -registerBlockType( 'core/embedpolldaddy', getEmbedBlockSettings( { title: 'Polldaddy', icon: 'yes' } ) ); -registerBlockType( 'core/embedreddit', getEmbedBlockSettings( { title: 'Reddit', icon: 'share' } ) ); -registerBlockType( 'core/embedreverbnation', getEmbedBlockSettings( { title: 'ReverbNation', icon: 'format-audio' } ) ); -registerBlockType( 'core/embedscreencast', getEmbedBlockSettings( { title: 'Screencast', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedscribd', getEmbedBlockSettings( { title: 'Scribd', icon: 'book-alt' } ) ); -registerBlockType( 'core/embedslideshare', getEmbedBlockSettings( { title: 'Slideshare', icon: 'slides' } ) ); -registerBlockType( 'core/embedsmugmug', getEmbedBlockSettings( { title: 'SmugMug', icon: 'camera' } ) ); -registerBlockType( 'core/embedsoundcloud', getEmbedBlockSettings( { title: 'SoundCloud', icon: 'format-audio' } ) ); -registerBlockType( 'core/embedspeaker', getEmbedBlockSettings( { title: 'Speaker', icon: 'format-audio' } ) ); -registerBlockType( 'core/embedspotify', getEmbedBlockSettings( { title: 'Spotify', icon: 'format-audio' } ) ); -registerBlockType( 'core/embedted', getEmbedBlockSettings( { title: 'TED', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedtumblr', getEmbedBlockSettings( { title: 'Tumblr', icon: 'share' } ) ); -registerBlockType( 'core/embedtwitter', getEmbedBlockSettings( { title: 'Twitter', icon: 'twitter' } ) ); -registerBlockType( 'core/embedvideopress', getEmbedBlockSettings( { title: 'VideoPress', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedvimeo', getEmbedBlockSettings( { title: 'Vimeo', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedvine', getEmbedBlockSettings( { title: 'Vine', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedwordpress', getEmbedBlockSettings( { title: 'WordPress', icon: 'wordpress' } ) ); -registerBlockType( 'core/embedwordpresstv', getEmbedBlockSettings( { title: 'WordPress.tv', icon: 'video-alt3' } ) ); -registerBlockType( 'core/embedyoutube', getEmbedBlockSettings( { title: 'YouTube', icon: 'video-alt3' } ) ); +registerBlockType( + 'core/embed', + getEmbedBlockSettings( { + title: 'Embed', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/animoto', + getEmbedBlockSettings( { + title: 'Animoto', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/cloudup', + getEmbedBlockSettings( { + title: 'Cloudup', + icon: 'cloud', + } ) +); +registerBlockType( + 'core-embed/collegehumor', + getEmbedBlockSettings( { + title: 'CollegeHumor', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/dailymotion', + getEmbedBlockSettings( { + title: 'Dailymotion', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/facebook', + getEmbedBlockSettings( { + title: 'Facebook', + icon: 'facebook', + } ) +); +registerBlockType( + 'core-embed/flickr', + getEmbedBlockSettings( { + title: 'Flickr', + icon: 'format-image', + } ) +); +registerBlockType( + 'core-embed/funnyordie', + getEmbedBlockSettings( { + title: 'Funny or Die', + icon: 'video-alt3', + } ) ); +registerBlockType( + 'core-embed/hulu', + getEmbedBlockSettings( { + title: 'Hulu', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/imgur', + getEmbedBlockSettings( { + title: 'Imgur', + icon: 'format-image', + } ) +); +registerBlockType( + 'core-embed/instagram', + getEmbedBlockSettings( { + title: 'Instagram', + icon: 'camera', + } ) +); +registerBlockType( + 'core-embed/issuu', + getEmbedBlockSettings( { + title: 'Issuu', + icon: 'media-default', + } ) +); +registerBlockType( + 'core-embed/kickstarter', + getEmbedBlockSettings( { + title: 'Kickstarter', + icon: 'lightbulb', + } ) +); +registerBlockType( + 'core-embed/meetup-com', + getEmbedBlockSettings( { + title: 'Meetup.com', + icon: 'location-alt', + } ) +); +registerBlockType( + 'core-embed/mixcloud', + getEmbedBlockSettings( { + title: 'Mixcloud', + icon: 'format-audio', + } ) +); +registerBlockType( + 'core-embed/photobucket', + getEmbedBlockSettings( { + title: 'Photobucket', + icon: 'camera', + } ) +); +registerBlockType( + 'core-embed/polldaddy', + getEmbedBlockSettings( { + title: 'Polldaddy', + icon: 'yes', + } ) +); +registerBlockType( + 'core-embed/reddit', + getEmbedBlockSettings( { + title: 'Reddit', + icon: 'share', + } ) +); +registerBlockType( + 'core-embed/reverbnation', + getEmbedBlockSettings( { + title: 'ReverbNation', + icon: 'format-audio', + } ) +); +registerBlockType( + 'core-embed/screencast', + getEmbedBlockSettings( { + title: 'Screencast', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/scribd', + getEmbedBlockSettings( { + title: 'Scribd', + icon: 'book-alt', + } ) +); +registerBlockType( + 'core-embed/slideshare', + getEmbedBlockSettings( { + title: 'Slideshare', + icon: 'slides', + } ) +); +registerBlockType( + 'core-embed/smugmug', + getEmbedBlockSettings( { + title: 'SmugMug', + icon: 'camera', + } ) +); +registerBlockType( + 'core-embed/soundcloud', + getEmbedBlockSettings( { + title: 'SoundCloud', + icon: 'format-audio', + } ) +); +registerBlockType( + 'core-embed/speaker', + getEmbedBlockSettings( { + title: 'Speaker', + icon: 'format-audio', + } ) +); +registerBlockType( + 'core-embed/spotify', + getEmbedBlockSettings( { + title: 'Spotify', + icon: 'format-audio', + } ) +); +registerBlockType( + 'core-embed/ted', + getEmbedBlockSettings( { + title: 'TED', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/tumblr', + getEmbedBlockSettings( { + title: 'Tumblr', + icon: 'share', + } ) +); +registerBlockType( + 'core-embed/twitter', + getEmbedBlockSettings( { + title: 'Twitter', + icon: 'twitter', + } ) +); +registerBlockType( + 'core-embed/videopress', + getEmbedBlockSettings( { + title: 'VideoPress', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/vimeo', + getEmbedBlockSettings( { + title: 'Vimeo', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/vine', + getEmbedBlockSettings( { + title: 'Vine', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/wordpress', + getEmbedBlockSettings( { + title: 'WordPress', + icon: 'wordpress', + } ) +); +registerBlockType( + 'core-embed/wordpress-tv', + getEmbedBlockSettings( { + title: 'WordPress.tv', + icon: 'video-alt3', + } ) +); +registerBlockType( + 'core-embed/youtube', + getEmbedBlockSettings( { + title: 'YouTube', + icon: 'video-alt3', + } ) +); diff --git a/blocks/library/latest-posts/index.js b/blocks/library/latest-posts/index.js index 96a395087acbf..81cfa3cb93689 100644 --- a/blocks/library/latest-posts/index.js +++ b/blocks/library/latest-posts/index.js @@ -19,7 +19,7 @@ import ToggleControl from '../../inspector-controls/toggle-control'; const MIN_POSTS = 1; const MAX_POSTS = 100; -registerBlockType( 'core/latestposts', { +registerBlockType( 'core/latest-posts', { title: __( 'Latest Posts' ), icon: 'list-view', @@ -27,7 +27,7 @@ registerBlockType( 'core/latestposts', { category: 'widgets', defaultAttributes: { - poststoshow: 5, + postsToShow: 5, displayPostDate: false, }, @@ -36,13 +36,13 @@ registerBlockType( 'core/latestposts', { super( ...arguments ); this.changePostsToShow = this.changePostsToShow.bind( this ); - const { poststoshow } = this.props.attributes; + const { postsToShow } = this.props.attributes; this.state = { latestPosts: [], }; - this.latestPostsRequest = getLatestPosts( poststoshow ); + this.latestPostsRequest = getLatestPosts( postsToShow ); this.latestPostsRequest .then( latestPosts => this.setState( { latestPosts } ) ); @@ -58,8 +58,8 @@ registerBlockType( 'core/latestposts', { } componentWillReceiveProps( nextProps ) { - const { poststoshow: postToShowCurrent } = this.props.attributes; - const { poststoshow: postToShowNext } = nextProps.attributes; + const { postsToShow: postToShowCurrent } = this.props.attributes; + const { postsToShow: postToShowNext } = nextProps.attributes; const { setAttributes } = this.props; if ( postToShowCurrent === postToShowNext ) { @@ -72,14 +72,14 @@ registerBlockType( 'core/latestposts', { this.latestPostsRequest .then( latestPosts => this.setState( { latestPosts } ) ); - setAttributes( { poststoshow: postToShowNext } ); + setAttributes( { postsToShow: postToShowNext } ); } } changePostsToShow( postsToShow ) { const { setAttributes } = this.props; - setAttributes( { poststoshow: parseInt( postsToShow, 10 ) || 0 } ); + setAttributes( { postsToShow: parseInt( postsToShow, 10 ) || 0 } ); } render() { @@ -111,7 +111,7 @@ registerBlockType( 'core/latestposts', { type="number" min={ MIN_POSTS } max={ MAX_POSTS } - value={ this.props.attributes.poststoshow } + value={ this.props.attributes.postsToShow } onChange={ ( value ) => this.changePostsToShow( value ) } /> diff --git a/blocks/library/latest-posts/style.scss b/blocks/library/latest-posts/style.scss index 08ff5aab784e0..7cbf6482deb9c 100644 --- a/blocks/library/latest-posts/style.scss +++ b/blocks/library/latest-posts/style.scss @@ -1,8 +1,8 @@ -div[data-type="core/latestposts"] .wp-block-latestposts { +div[data-type="core/latest-posts"] .wp-block-latest-posts { padding-left: 2.5em; } -.wp-block-latestposts__post-date { +.wp-block-latest-posts__post-date { display: block; color: $dark-gray-100; font-size: $default-font-size; diff --git a/blocks/test/fixtures/README.md b/blocks/test/fixtures/README.md index 5321b7f4a037d..9be327c967bcf 100644 --- a/blocks/test/fixtures/README.md +++ b/blocks/test/fixtures/README.md @@ -3,7 +3,7 @@ This directory contains sets of fixture files that are used to test the parsing and serialization logic. -Each test is made up of three fixture files: +Each test is made up of four fixture files: 1. `fixture-name.html`: The initial post content. 2. `fixture-name.parsed.json`: The **expected** output of the PEG parser for @@ -19,15 +19,15 @@ Each test is made up of three fixture files: Every block is required to have at least one such set of fixture files to test the parsing and serialization of that block. These fixtures must be named like -`core-blockname{-*,}.{html,json,serialized.html}`. For example, for the -`core/image` block, the following three fixture files must exist: +`core__blockname{__*,}.{html,json,serialized.html}`. For example, for the +`core/image` block, the following four fixture files must exist: -1. `core-image.html` (or `core-image-specific-test-name.html`). Must contain a - `` block. -2. `core-image.parsed.json` (or `core-image-specific-test-name.parsed.json`). -3. `core-image.json` (or `core-image-specific-test-name.json`). -4. `core-image.serialized.html` (or - `core-image-specific-test-name.serialized.html`). +1. `core__image.html` (or `core__image__specific-test-name.html`). Must + contain a `` block. +2. `core__image.parsed.json` (or `core__image__specific-test-name.parsed.json`). +3. `core__image.json` (or `core__image__specific-test-name.json`). +4. `core__image.serialized.html` (or + `core__image__specific-test-name.serialized.html`). Ideally all important attributes and features of the block should be tested this way. New contributions in the form of additional test cases are always @@ -35,7 +35,7 @@ welcome - this is a great way for us to identify bugs and prevent them from recurring in the future. When adding a new test, it's only necessary to create file (1) above, then -there is a command you can run to generate (2) and (3): +there is a command you can run to generate (2) through (4): ```sh GENERATE_MISSING_FIXTURES=y npm run test-unit -- --grep 'full post content fixture' diff --git a/blocks/test/fixtures/core-embed__animoto.html b/blocks/test/fixtures/core-embed__animoto.html new file mode 100644 index 0000000000000..b805520078110 --- /dev/null +++ b/blocks/test/fixtures/core-embed__animoto.html @@ -0,0 +1,6 @@ + +
+ https://animoto.com/ +
Embedded content from animoto
+
+ diff --git a/blocks/test/fixtures/core-embedanimoto.json b/blocks/test/fixtures/core-embed__animoto.json similarity index 84% rename from blocks/test/fixtures/core-embedanimoto.json rename to blocks/test/fixtures/core-embed__animoto.json index 4f2cbc392247d..28c7c26cd2cc2 100644 --- a/blocks/test/fixtures/core-embedanimoto.json +++ b/blocks/test/fixtures/core-embed__animoto.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedanimoto", + "name": "core-embed/animoto", "attributes": { "url": "https://animoto.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__animoto.parsed.json b/blocks/test/fixtures/core-embed__animoto.parsed.json new file mode 100644 index 0000000000000..8650b4f32fbe1 --- /dev/null +++ b/blocks/test/fixtures/core-embed__animoto.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/animoto", + "attrs": { + "url": "https://animoto.com/" + }, + "rawContent": "\n
\n https://animoto.com/\n
Embedded content from animoto
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__animoto.serialized.html b/blocks/test/fixtures/core-embed__animoto.serialized.html new file mode 100644 index 0000000000000..579267fe3b30e --- /dev/null +++ b/blocks/test/fixtures/core-embed__animoto.serialized.html @@ -0,0 +1,7 @@ + +
+ https://animoto.com/ +
Embedded content from animoto
+
+ + diff --git a/blocks/test/fixtures/core-embed__cloudup.html b/blocks/test/fixtures/core-embed__cloudup.html new file mode 100644 index 0000000000000..4737f84d4cf72 --- /dev/null +++ b/blocks/test/fixtures/core-embed__cloudup.html @@ -0,0 +1,6 @@ + +
+ https://cloudup.com/ +
Embedded content from cloudup
+
+ diff --git a/blocks/test/fixtures/core-embedcloudup.json b/blocks/test/fixtures/core-embed__cloudup.json similarity index 84% rename from blocks/test/fixtures/core-embedcloudup.json rename to blocks/test/fixtures/core-embed__cloudup.json index 6bda5b3051eef..22a55a4d296f9 100644 --- a/blocks/test/fixtures/core-embedcloudup.json +++ b/blocks/test/fixtures/core-embed__cloudup.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedcloudup", + "name": "core-embed/cloudup", "attributes": { "url": "https://cloudup.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__cloudup.parsed.json b/blocks/test/fixtures/core-embed__cloudup.parsed.json new file mode 100644 index 0000000000000..eee1502a9e820 --- /dev/null +++ b/blocks/test/fixtures/core-embed__cloudup.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/cloudup", + "attrs": { + "url": "https://cloudup.com/" + }, + "rawContent": "\n
\n https://cloudup.com/\n
Embedded content from cloudup
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__cloudup.serialized.html b/blocks/test/fixtures/core-embed__cloudup.serialized.html new file mode 100644 index 0000000000000..5f953aa46c1f4 --- /dev/null +++ b/blocks/test/fixtures/core-embed__cloudup.serialized.html @@ -0,0 +1,7 @@ + +
+ https://cloudup.com/ +
Embedded content from cloudup
+
+ + diff --git a/blocks/test/fixtures/core-embed__collegehumor.html b/blocks/test/fixtures/core-embed__collegehumor.html new file mode 100644 index 0000000000000..770c066489649 --- /dev/null +++ b/blocks/test/fixtures/core-embed__collegehumor.html @@ -0,0 +1,6 @@ + +
+ https://collegehumor.com/ +
Embedded content from collegehumor
+
+ diff --git a/blocks/test/fixtures/core-embedcollegehumor.json b/blocks/test/fixtures/core-embed__collegehumor.json similarity index 83% rename from blocks/test/fixtures/core-embedcollegehumor.json rename to blocks/test/fixtures/core-embed__collegehumor.json index aa9183ead7748..47cff93865c5f 100644 --- a/blocks/test/fixtures/core-embedcollegehumor.json +++ b/blocks/test/fixtures/core-embed__collegehumor.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedcollegehumor", + "name": "core-embed/collegehumor", "attributes": { "url": "https://collegehumor.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__collegehumor.parsed.json b/blocks/test/fixtures/core-embed__collegehumor.parsed.json new file mode 100644 index 0000000000000..c0170701eae6b --- /dev/null +++ b/blocks/test/fixtures/core-embed__collegehumor.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/collegehumor", + "attrs": { + "url": "https://collegehumor.com/" + }, + "rawContent": "\n
\n https://collegehumor.com/\n
Embedded content from collegehumor
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__collegehumor.serialized.html b/blocks/test/fixtures/core-embed__collegehumor.serialized.html new file mode 100644 index 0000000000000..8234fe93591a3 --- /dev/null +++ b/blocks/test/fixtures/core-embed__collegehumor.serialized.html @@ -0,0 +1,7 @@ + +
+ https://collegehumor.com/ +
Embedded content from collegehumor
+
+ + diff --git a/blocks/test/fixtures/core-embed__dailymotion.html b/blocks/test/fixtures/core-embed__dailymotion.html new file mode 100644 index 0000000000000..e1fde0199be09 --- /dev/null +++ b/blocks/test/fixtures/core-embed__dailymotion.html @@ -0,0 +1,6 @@ + +
+ https://dailymotion.com/ +
Embedded content from dailymotion
+
+ diff --git a/blocks/test/fixtures/core-embeddailymotion.json b/blocks/test/fixtures/core-embed__dailymotion.json similarity index 83% rename from blocks/test/fixtures/core-embeddailymotion.json rename to blocks/test/fixtures/core-embed__dailymotion.json index 44f0b737a7678..4ad16679bf20e 100644 --- a/blocks/test/fixtures/core-embeddailymotion.json +++ b/blocks/test/fixtures/core-embed__dailymotion.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embeddailymotion", + "name": "core-embed/dailymotion", "attributes": { "url": "https://dailymotion.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__dailymotion.parsed.json b/blocks/test/fixtures/core-embed__dailymotion.parsed.json new file mode 100644 index 0000000000000..d144c58f2b5d1 --- /dev/null +++ b/blocks/test/fixtures/core-embed__dailymotion.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/dailymotion", + "attrs": { + "url": "https://dailymotion.com/" + }, + "rawContent": "\n
\n https://dailymotion.com/\n
Embedded content from dailymotion
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__dailymotion.serialized.html b/blocks/test/fixtures/core-embed__dailymotion.serialized.html new file mode 100644 index 0000000000000..442c7348cc1e3 --- /dev/null +++ b/blocks/test/fixtures/core-embed__dailymotion.serialized.html @@ -0,0 +1,7 @@ + +
+ https://dailymotion.com/ +
Embedded content from dailymotion
+
+ + diff --git a/blocks/test/fixtures/core-embed__facebook.html b/blocks/test/fixtures/core-embed__facebook.html new file mode 100644 index 0000000000000..237516d4065f0 --- /dev/null +++ b/blocks/test/fixtures/core-embed__facebook.html @@ -0,0 +1,6 @@ + +
+ https://facebook.com/ +
Embedded content from facebook
+
+ diff --git a/blocks/test/fixtures/core-embedfacebook.json b/blocks/test/fixtures/core-embed__facebook.json similarity index 84% rename from blocks/test/fixtures/core-embedfacebook.json rename to blocks/test/fixtures/core-embed__facebook.json index 365f7043c6c80..07e08896c62b4 100644 --- a/blocks/test/fixtures/core-embedfacebook.json +++ b/blocks/test/fixtures/core-embed__facebook.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedfacebook", + "name": "core-embed/facebook", "attributes": { "url": "https://facebook.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__facebook.parsed.json b/blocks/test/fixtures/core-embed__facebook.parsed.json new file mode 100644 index 0000000000000..75927b1856bb2 --- /dev/null +++ b/blocks/test/fixtures/core-embed__facebook.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/facebook", + "attrs": { + "url": "https://facebook.com/" + }, + "rawContent": "\n
\n https://facebook.com/\n
Embedded content from facebook
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__facebook.serialized.html b/blocks/test/fixtures/core-embed__facebook.serialized.html new file mode 100644 index 0000000000000..75b045a5d87e1 --- /dev/null +++ b/blocks/test/fixtures/core-embed__facebook.serialized.html @@ -0,0 +1,7 @@ + +
+ https://facebook.com/ +
Embedded content from facebook
+
+ + diff --git a/blocks/test/fixtures/core-embed__flickr.html b/blocks/test/fixtures/core-embed__flickr.html new file mode 100644 index 0000000000000..b39f132e964bf --- /dev/null +++ b/blocks/test/fixtures/core-embed__flickr.html @@ -0,0 +1,6 @@ + +
+ https://flickr.com/ +
Embedded content from flickr
+
+ diff --git a/blocks/test/fixtures/core-embedflickr.json b/blocks/test/fixtures/core-embed__flickr.json similarity index 84% rename from blocks/test/fixtures/core-embedflickr.json rename to blocks/test/fixtures/core-embed__flickr.json index c4294719f27c1..35c28ec6b70e2 100644 --- a/blocks/test/fixtures/core-embedflickr.json +++ b/blocks/test/fixtures/core-embed__flickr.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedflickr", + "name": "core-embed/flickr", "attributes": { "url": "https://flickr.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__flickr.parsed.json b/blocks/test/fixtures/core-embed__flickr.parsed.json new file mode 100644 index 0000000000000..3a36dce37fdd2 --- /dev/null +++ b/blocks/test/fixtures/core-embed__flickr.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/flickr", + "attrs": { + "url": "https://flickr.com/" + }, + "rawContent": "\n
\n https://flickr.com/\n
Embedded content from flickr
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__flickr.serialized.html b/blocks/test/fixtures/core-embed__flickr.serialized.html new file mode 100644 index 0000000000000..ba77735d14d3e --- /dev/null +++ b/blocks/test/fixtures/core-embed__flickr.serialized.html @@ -0,0 +1,7 @@ + +
+ https://flickr.com/ +
Embedded content from flickr
+
+ + diff --git a/blocks/test/fixtures/core-embed__funnyordie.html b/blocks/test/fixtures/core-embed__funnyordie.html new file mode 100644 index 0000000000000..5adf140841135 --- /dev/null +++ b/blocks/test/fixtures/core-embed__funnyordie.html @@ -0,0 +1,6 @@ + +
+ https://funnyordie.com/ +
Embedded content from funnyordie
+
+ diff --git a/blocks/test/fixtures/core-embedfunnyordie.json b/blocks/test/fixtures/core-embed__funnyordie.json similarity index 83% rename from blocks/test/fixtures/core-embedfunnyordie.json rename to blocks/test/fixtures/core-embed__funnyordie.json index a4787f0a9350a..575ed6342f43b 100644 --- a/blocks/test/fixtures/core-embedfunnyordie.json +++ b/blocks/test/fixtures/core-embed__funnyordie.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedfunnyordie", + "name": "core-embed/funnyordie", "attributes": { "url": "https://funnyordie.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__funnyordie.parsed.json b/blocks/test/fixtures/core-embed__funnyordie.parsed.json new file mode 100644 index 0000000000000..8926a60838937 --- /dev/null +++ b/blocks/test/fixtures/core-embed__funnyordie.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/funnyordie", + "attrs": { + "url": "https://funnyordie.com/" + }, + "rawContent": "\n
\n https://funnyordie.com/\n
Embedded content from funnyordie
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__funnyordie.serialized.html b/blocks/test/fixtures/core-embed__funnyordie.serialized.html new file mode 100644 index 0000000000000..608b9901f0d35 --- /dev/null +++ b/blocks/test/fixtures/core-embed__funnyordie.serialized.html @@ -0,0 +1,7 @@ + +
+ https://funnyordie.com/ +
Embedded content from funnyordie
+
+ + diff --git a/blocks/test/fixtures/core-embed__hulu.html b/blocks/test/fixtures/core-embed__hulu.html new file mode 100644 index 0000000000000..44a96f4ec070f --- /dev/null +++ b/blocks/test/fixtures/core-embed__hulu.html @@ -0,0 +1,6 @@ + +
+ https://hulu.com/ +
Embedded content from hulu
+
+ diff --git a/blocks/test/fixtures/core-embedhulu.json b/blocks/test/fixtures/core-embed__hulu.json similarity index 85% rename from blocks/test/fixtures/core-embedhulu.json rename to blocks/test/fixtures/core-embed__hulu.json index 7cbe2cd792d5f..35baceb73b1c0 100644 --- a/blocks/test/fixtures/core-embedhulu.json +++ b/blocks/test/fixtures/core-embed__hulu.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedhulu", + "name": "core-embed/hulu", "attributes": { "url": "https://hulu.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__hulu.parsed.json b/blocks/test/fixtures/core-embed__hulu.parsed.json new file mode 100644 index 0000000000000..ed9ca2f221cda --- /dev/null +++ b/blocks/test/fixtures/core-embed__hulu.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/hulu", + "attrs": { + "url": "https://hulu.com/" + }, + "rawContent": "\n
\n https://hulu.com/\n
Embedded content from hulu
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__hulu.serialized.html b/blocks/test/fixtures/core-embed__hulu.serialized.html new file mode 100644 index 0000000000000..dda59ed600328 --- /dev/null +++ b/blocks/test/fixtures/core-embed__hulu.serialized.html @@ -0,0 +1,7 @@ + +
+ https://hulu.com/ +
Embedded content from hulu
+
+ + diff --git a/blocks/test/fixtures/core-embed__imgur.html b/blocks/test/fixtures/core-embed__imgur.html new file mode 100644 index 0000000000000..41cf134f957d2 --- /dev/null +++ b/blocks/test/fixtures/core-embed__imgur.html @@ -0,0 +1,6 @@ + +
+ https://imgur.com/ +
Embedded content from imgur
+
+ diff --git a/blocks/test/fixtures/core-embedimgur.json b/blocks/test/fixtures/core-embed__imgur.json similarity index 84% rename from blocks/test/fixtures/core-embedimgur.json rename to blocks/test/fixtures/core-embed__imgur.json index e0a7537ddcbc4..ea3b38321bec0 100644 --- a/blocks/test/fixtures/core-embedimgur.json +++ b/blocks/test/fixtures/core-embed__imgur.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedimgur", + "name": "core-embed/imgur", "attributes": { "url": "https://imgur.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__imgur.parsed.json b/blocks/test/fixtures/core-embed__imgur.parsed.json new file mode 100644 index 0000000000000..347f7030ce9da --- /dev/null +++ b/blocks/test/fixtures/core-embed__imgur.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/imgur", + "attrs": { + "url": "https://imgur.com/" + }, + "rawContent": "\n
\n https://imgur.com/\n
Embedded content from imgur
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__imgur.serialized.html b/blocks/test/fixtures/core-embed__imgur.serialized.html new file mode 100644 index 0000000000000..ad14cbe6c84c4 --- /dev/null +++ b/blocks/test/fixtures/core-embed__imgur.serialized.html @@ -0,0 +1,7 @@ + +
+ https://imgur.com/ +
Embedded content from imgur
+
+ + diff --git a/blocks/test/fixtures/core-embed__instagram.html b/blocks/test/fixtures/core-embed__instagram.html new file mode 100644 index 0000000000000..3cf13efbc3e9c --- /dev/null +++ b/blocks/test/fixtures/core-embed__instagram.html @@ -0,0 +1,6 @@ + +
+ https://instagram.com/ +
Embedded content from instagram
+
+ diff --git a/blocks/test/fixtures/core-embedinstagram.json b/blocks/test/fixtures/core-embed__instagram.json similarity index 83% rename from blocks/test/fixtures/core-embedinstagram.json rename to blocks/test/fixtures/core-embed__instagram.json index a2d7ea8e095e5..b47836c1c0daa 100644 --- a/blocks/test/fixtures/core-embedinstagram.json +++ b/blocks/test/fixtures/core-embed__instagram.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedinstagram", + "name": "core-embed/instagram", "attributes": { "url": "https://instagram.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__instagram.parsed.json b/blocks/test/fixtures/core-embed__instagram.parsed.json new file mode 100644 index 0000000000000..a2bce58ca6c55 --- /dev/null +++ b/blocks/test/fixtures/core-embed__instagram.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/instagram", + "attrs": { + "url": "https://instagram.com/" + }, + "rawContent": "\n
\n https://instagram.com/\n
Embedded content from instagram
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__instagram.serialized.html b/blocks/test/fixtures/core-embed__instagram.serialized.html new file mode 100644 index 0000000000000..358a54d0fbd2a --- /dev/null +++ b/blocks/test/fixtures/core-embed__instagram.serialized.html @@ -0,0 +1,7 @@ + +
+ https://instagram.com/ +
Embedded content from instagram
+
+ + diff --git a/blocks/test/fixtures/core-embed__issuu.html b/blocks/test/fixtures/core-embed__issuu.html new file mode 100644 index 0000000000000..41f8a3e556edc --- /dev/null +++ b/blocks/test/fixtures/core-embed__issuu.html @@ -0,0 +1,6 @@ + +
+ https://issuu.com/ +
Embedded content from issuu
+
+ diff --git a/blocks/test/fixtures/core-embedissuu.json b/blocks/test/fixtures/core-embed__issuu.json similarity index 84% rename from blocks/test/fixtures/core-embedissuu.json rename to blocks/test/fixtures/core-embed__issuu.json index f1513bd35f5b0..868cd489e5c38 100644 --- a/blocks/test/fixtures/core-embedissuu.json +++ b/blocks/test/fixtures/core-embed__issuu.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedissuu", + "name": "core-embed/issuu", "attributes": { "url": "https://issuu.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__issuu.parsed.json b/blocks/test/fixtures/core-embed__issuu.parsed.json new file mode 100644 index 0000000000000..8295d85605975 --- /dev/null +++ b/blocks/test/fixtures/core-embed__issuu.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/issuu", + "attrs": { + "url": "https://issuu.com/" + }, + "rawContent": "\n
\n https://issuu.com/\n
Embedded content from issuu
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__issuu.serialized.html b/blocks/test/fixtures/core-embed__issuu.serialized.html new file mode 100644 index 0000000000000..e97013bd9c875 --- /dev/null +++ b/blocks/test/fixtures/core-embed__issuu.serialized.html @@ -0,0 +1,7 @@ + +
+ https://issuu.com/ +
Embedded content from issuu
+
+ + diff --git a/blocks/test/fixtures/core-embed__kickstarter.html b/blocks/test/fixtures/core-embed__kickstarter.html new file mode 100644 index 0000000000000..3032298f35bfd --- /dev/null +++ b/blocks/test/fixtures/core-embed__kickstarter.html @@ -0,0 +1,6 @@ + +
+ https://kickstarter.com/ +
Embedded content from kickstarter
+
+ diff --git a/blocks/test/fixtures/core-embedkickstarter.json b/blocks/test/fixtures/core-embed__kickstarter.json similarity index 83% rename from blocks/test/fixtures/core-embedkickstarter.json rename to blocks/test/fixtures/core-embed__kickstarter.json index cc0a212d539e7..e917cfa1e3385 100644 --- a/blocks/test/fixtures/core-embedkickstarter.json +++ b/blocks/test/fixtures/core-embed__kickstarter.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedkickstarter", + "name": "core-embed/kickstarter", "attributes": { "url": "https://kickstarter.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__kickstarter.parsed.json b/blocks/test/fixtures/core-embed__kickstarter.parsed.json new file mode 100644 index 0000000000000..ec5e4da18a7b4 --- /dev/null +++ b/blocks/test/fixtures/core-embed__kickstarter.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/kickstarter", + "attrs": { + "url": "https://kickstarter.com/" + }, + "rawContent": "\n
\n https://kickstarter.com/\n
Embedded content from kickstarter
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__kickstarter.serialized.html b/blocks/test/fixtures/core-embed__kickstarter.serialized.html new file mode 100644 index 0000000000000..b35e710436b46 --- /dev/null +++ b/blocks/test/fixtures/core-embed__kickstarter.serialized.html @@ -0,0 +1,7 @@ + +
+ https://kickstarter.com/ +
Embedded content from kickstarter
+
+ + diff --git a/blocks/test/fixtures/core-embed__meetup-com.html b/blocks/test/fixtures/core-embed__meetup-com.html new file mode 100644 index 0000000000000..221881f0bf8ae --- /dev/null +++ b/blocks/test/fixtures/core-embed__meetup-com.html @@ -0,0 +1,6 @@ + +
+ https://meetup.com/ +
Embedded content from meetup-com
+
+ diff --git a/blocks/test/fixtures/core-embed__meetup-com.json b/blocks/test/fixtures/core-embed__meetup-com.json new file mode 100644 index 0000000000000..f29968f908286 --- /dev/null +++ b/blocks/test/fixtures/core-embed__meetup-com.json @@ -0,0 +1,12 @@ +[ + { + "uid": "_uid_0", + "name": "core-embed/meetup-com", + "attributes": { + "url": "https://meetup.com/", + "caption": [ + "Embedded content from meetup-com" + ] + } + } +] diff --git a/blocks/test/fixtures/core-embed__meetup-com.parsed.json b/blocks/test/fixtures/core-embed__meetup-com.parsed.json new file mode 100644 index 0000000000000..55e12e8a55f31 --- /dev/null +++ b/blocks/test/fixtures/core-embed__meetup-com.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/meetup-com", + "attrs": { + "url": "https://meetup.com/" + }, + "rawContent": "\n
\n https://meetup.com/\n
Embedded content from meetup-com
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__meetup-com.serialized.html b/blocks/test/fixtures/core-embed__meetup-com.serialized.html new file mode 100644 index 0000000000000..c2bb49382b4ff --- /dev/null +++ b/blocks/test/fixtures/core-embed__meetup-com.serialized.html @@ -0,0 +1,7 @@ + +
+ https://meetup.com/ +
Embedded content from meetup-com
+
+ + diff --git a/blocks/test/fixtures/core-embed__mixcloud.html b/blocks/test/fixtures/core-embed__mixcloud.html new file mode 100644 index 0000000000000..f88ce4620ea62 --- /dev/null +++ b/blocks/test/fixtures/core-embed__mixcloud.html @@ -0,0 +1,6 @@ + +
+ https://mixcloud.com/ +
Embedded content from mixcloud
+
+ diff --git a/blocks/test/fixtures/core-embedmixcloud.json b/blocks/test/fixtures/core-embed__mixcloud.json similarity index 84% rename from blocks/test/fixtures/core-embedmixcloud.json rename to blocks/test/fixtures/core-embed__mixcloud.json index f59153c7e00ea..1594c158acbe6 100644 --- a/blocks/test/fixtures/core-embedmixcloud.json +++ b/blocks/test/fixtures/core-embed__mixcloud.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedmixcloud", + "name": "core-embed/mixcloud", "attributes": { "url": "https://mixcloud.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__mixcloud.parsed.json b/blocks/test/fixtures/core-embed__mixcloud.parsed.json new file mode 100644 index 0000000000000..9ae1b7ce80d37 --- /dev/null +++ b/blocks/test/fixtures/core-embed__mixcloud.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/mixcloud", + "attrs": { + "url": "https://mixcloud.com/" + }, + "rawContent": "\n
\n https://mixcloud.com/\n
Embedded content from mixcloud
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__mixcloud.serialized.html b/blocks/test/fixtures/core-embed__mixcloud.serialized.html new file mode 100644 index 0000000000000..e6a58ae7662ff --- /dev/null +++ b/blocks/test/fixtures/core-embed__mixcloud.serialized.html @@ -0,0 +1,7 @@ + +
+ https://mixcloud.com/ +
Embedded content from mixcloud
+
+ + diff --git a/blocks/test/fixtures/core-embed__photobucket.html b/blocks/test/fixtures/core-embed__photobucket.html new file mode 100644 index 0000000000000..045edc2b90b09 --- /dev/null +++ b/blocks/test/fixtures/core-embed__photobucket.html @@ -0,0 +1,6 @@ + +
+ https://photobucket.com/ +
Embedded content from photobucket
+
+ diff --git a/blocks/test/fixtures/core-embedphotobucket.json b/blocks/test/fixtures/core-embed__photobucket.json similarity index 83% rename from blocks/test/fixtures/core-embedphotobucket.json rename to blocks/test/fixtures/core-embed__photobucket.json index 36514c153de13..f8c2148cbcc77 100644 --- a/blocks/test/fixtures/core-embedphotobucket.json +++ b/blocks/test/fixtures/core-embed__photobucket.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedphotobucket", + "name": "core-embed/photobucket", "attributes": { "url": "https://photobucket.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__photobucket.parsed.json b/blocks/test/fixtures/core-embed__photobucket.parsed.json new file mode 100644 index 0000000000000..d555f9091b568 --- /dev/null +++ b/blocks/test/fixtures/core-embed__photobucket.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/photobucket", + "attrs": { + "url": "https://photobucket.com/" + }, + "rawContent": "\n
\n https://photobucket.com/\n
Embedded content from photobucket
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__photobucket.serialized.html b/blocks/test/fixtures/core-embed__photobucket.serialized.html new file mode 100644 index 0000000000000..dac6bfdfd0e04 --- /dev/null +++ b/blocks/test/fixtures/core-embed__photobucket.serialized.html @@ -0,0 +1,7 @@ + +
+ https://photobucket.com/ +
Embedded content from photobucket
+
+ + diff --git a/blocks/test/fixtures/core-embed__polldaddy.html b/blocks/test/fixtures/core-embed__polldaddy.html new file mode 100644 index 0000000000000..eaf97d43c9c0b --- /dev/null +++ b/blocks/test/fixtures/core-embed__polldaddy.html @@ -0,0 +1,6 @@ + +
+ https://polldaddy.com/ +
Embedded content from polldaddy
+
+ diff --git a/blocks/test/fixtures/core-embedpolldaddy.json b/blocks/test/fixtures/core-embed__polldaddy.json similarity index 83% rename from blocks/test/fixtures/core-embedpolldaddy.json rename to blocks/test/fixtures/core-embed__polldaddy.json index 018a0e1c5ea4e..05e4cbeaf045c 100644 --- a/blocks/test/fixtures/core-embedpolldaddy.json +++ b/blocks/test/fixtures/core-embed__polldaddy.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedpolldaddy", + "name": "core-embed/polldaddy", "attributes": { "url": "https://polldaddy.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__polldaddy.parsed.json b/blocks/test/fixtures/core-embed__polldaddy.parsed.json new file mode 100644 index 0000000000000..6629a355f0e9b --- /dev/null +++ b/blocks/test/fixtures/core-embed__polldaddy.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/polldaddy", + "attrs": { + "url": "https://polldaddy.com/" + }, + "rawContent": "\n
\n https://polldaddy.com/\n
Embedded content from polldaddy
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__polldaddy.serialized.html b/blocks/test/fixtures/core-embed__polldaddy.serialized.html new file mode 100644 index 0000000000000..d124765b91db0 --- /dev/null +++ b/blocks/test/fixtures/core-embed__polldaddy.serialized.html @@ -0,0 +1,7 @@ + +
+ https://polldaddy.com/ +
Embedded content from polldaddy
+
+ + diff --git a/blocks/test/fixtures/core-embed__reddit.html b/blocks/test/fixtures/core-embed__reddit.html new file mode 100644 index 0000000000000..dbdf756fe06c8 --- /dev/null +++ b/blocks/test/fixtures/core-embed__reddit.html @@ -0,0 +1,6 @@ + +
+ https://reddit.com/ +
Embedded content from reddit
+
+ diff --git a/blocks/test/fixtures/core-embedreddit.json b/blocks/test/fixtures/core-embed__reddit.json similarity index 84% rename from blocks/test/fixtures/core-embedreddit.json rename to blocks/test/fixtures/core-embed__reddit.json index 011034075516e..a04125b76926b 100644 --- a/blocks/test/fixtures/core-embedreddit.json +++ b/blocks/test/fixtures/core-embed__reddit.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedreddit", + "name": "core-embed/reddit", "attributes": { "url": "https://reddit.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__reddit.parsed.json b/blocks/test/fixtures/core-embed__reddit.parsed.json new file mode 100644 index 0000000000000..71d7fd1d48cbb --- /dev/null +++ b/blocks/test/fixtures/core-embed__reddit.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/reddit", + "attrs": { + "url": "https://reddit.com/" + }, + "rawContent": "\n
\n https://reddit.com/\n
Embedded content from reddit
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__reddit.serialized.html b/blocks/test/fixtures/core-embed__reddit.serialized.html new file mode 100644 index 0000000000000..545afe9419afe --- /dev/null +++ b/blocks/test/fixtures/core-embed__reddit.serialized.html @@ -0,0 +1,7 @@ + +
+ https://reddit.com/ +
Embedded content from reddit
+
+ + diff --git a/blocks/test/fixtures/core-embed__reverbnation.html b/blocks/test/fixtures/core-embed__reverbnation.html new file mode 100644 index 0000000000000..5015f02812540 --- /dev/null +++ b/blocks/test/fixtures/core-embed__reverbnation.html @@ -0,0 +1,6 @@ + +
+ https://reverbnation.com/ +
Embedded content from reverbnation
+
+ diff --git a/blocks/test/fixtures/core-embedreverbnation.json b/blocks/test/fixtures/core-embed__reverbnation.json similarity index 83% rename from blocks/test/fixtures/core-embedreverbnation.json rename to blocks/test/fixtures/core-embed__reverbnation.json index 44d1f94f2c59c..de0f5c62ef564 100644 --- a/blocks/test/fixtures/core-embedreverbnation.json +++ b/blocks/test/fixtures/core-embed__reverbnation.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedreverbnation", + "name": "core-embed/reverbnation", "attributes": { "url": "https://reverbnation.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__reverbnation.parsed.json b/blocks/test/fixtures/core-embed__reverbnation.parsed.json new file mode 100644 index 0000000000000..b06041940dccf --- /dev/null +++ b/blocks/test/fixtures/core-embed__reverbnation.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/reverbnation", + "attrs": { + "url": "https://reverbnation.com/" + }, + "rawContent": "\n
\n https://reverbnation.com/\n
Embedded content from reverbnation
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__reverbnation.serialized.html b/blocks/test/fixtures/core-embed__reverbnation.serialized.html new file mode 100644 index 0000000000000..d61d5d5b27089 --- /dev/null +++ b/blocks/test/fixtures/core-embed__reverbnation.serialized.html @@ -0,0 +1,7 @@ + +
+ https://reverbnation.com/ +
Embedded content from reverbnation
+
+ + diff --git a/blocks/test/fixtures/core-embed__screencast.html b/blocks/test/fixtures/core-embed__screencast.html new file mode 100644 index 0000000000000..69a132e33f867 --- /dev/null +++ b/blocks/test/fixtures/core-embed__screencast.html @@ -0,0 +1,6 @@ + +
+ https://screencast.com/ +
Embedded content from screencast
+
+ diff --git a/blocks/test/fixtures/core-embedscreencast.json b/blocks/test/fixtures/core-embed__screencast.json similarity index 83% rename from blocks/test/fixtures/core-embedscreencast.json rename to blocks/test/fixtures/core-embed__screencast.json index 6dec7a9a1a532..a34839a87c243 100644 --- a/blocks/test/fixtures/core-embedscreencast.json +++ b/blocks/test/fixtures/core-embed__screencast.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedscreencast", + "name": "core-embed/screencast", "attributes": { "url": "https://screencast.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__screencast.parsed.json b/blocks/test/fixtures/core-embed__screencast.parsed.json new file mode 100644 index 0000000000000..b32db11536657 --- /dev/null +++ b/blocks/test/fixtures/core-embed__screencast.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/screencast", + "attrs": { + "url": "https://screencast.com/" + }, + "rawContent": "\n
\n https://screencast.com/\n
Embedded content from screencast
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__screencast.serialized.html b/blocks/test/fixtures/core-embed__screencast.serialized.html new file mode 100644 index 0000000000000..9be1814e0ffdc --- /dev/null +++ b/blocks/test/fixtures/core-embed__screencast.serialized.html @@ -0,0 +1,7 @@ + +
+ https://screencast.com/ +
Embedded content from screencast
+
+ + diff --git a/blocks/test/fixtures/core-embed__scribd.html b/blocks/test/fixtures/core-embed__scribd.html new file mode 100644 index 0000000000000..5d960344af60d --- /dev/null +++ b/blocks/test/fixtures/core-embed__scribd.html @@ -0,0 +1,6 @@ + +
+ https://scribd.com/ +
Embedded content from scribd
+
+ diff --git a/blocks/test/fixtures/core-embedscribd.json b/blocks/test/fixtures/core-embed__scribd.json similarity index 84% rename from blocks/test/fixtures/core-embedscribd.json rename to blocks/test/fixtures/core-embed__scribd.json index 5efcbdf619f5b..81789fe717be3 100644 --- a/blocks/test/fixtures/core-embedscribd.json +++ b/blocks/test/fixtures/core-embed__scribd.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedscribd", + "name": "core-embed/scribd", "attributes": { "url": "https://scribd.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__scribd.parsed.json b/blocks/test/fixtures/core-embed__scribd.parsed.json new file mode 100644 index 0000000000000..50922c445263c --- /dev/null +++ b/blocks/test/fixtures/core-embed__scribd.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/scribd", + "attrs": { + "url": "https://scribd.com/" + }, + "rawContent": "\n
\n https://scribd.com/\n
Embedded content from scribd
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__scribd.serialized.html b/blocks/test/fixtures/core-embed__scribd.serialized.html new file mode 100644 index 0000000000000..bdddf5f3c6542 --- /dev/null +++ b/blocks/test/fixtures/core-embed__scribd.serialized.html @@ -0,0 +1,7 @@ + +
+ https://scribd.com/ +
Embedded content from scribd
+
+ + diff --git a/blocks/test/fixtures/core-embed__slideshare.html b/blocks/test/fixtures/core-embed__slideshare.html new file mode 100644 index 0000000000000..53435e5bafef6 --- /dev/null +++ b/blocks/test/fixtures/core-embed__slideshare.html @@ -0,0 +1,6 @@ + +
+ https://slideshare.com/ +
Embedded content from slideshare
+
+ diff --git a/blocks/test/fixtures/core-embedslideshare.json b/blocks/test/fixtures/core-embed__slideshare.json similarity index 83% rename from blocks/test/fixtures/core-embedslideshare.json rename to blocks/test/fixtures/core-embed__slideshare.json index 9010eb8206755..db0f30df975a9 100644 --- a/blocks/test/fixtures/core-embedslideshare.json +++ b/blocks/test/fixtures/core-embed__slideshare.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedslideshare", + "name": "core-embed/slideshare", "attributes": { "url": "https://slideshare.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__slideshare.parsed.json b/blocks/test/fixtures/core-embed__slideshare.parsed.json new file mode 100644 index 0000000000000..523505936a96d --- /dev/null +++ b/blocks/test/fixtures/core-embed__slideshare.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/slideshare", + "attrs": { + "url": "https://slideshare.com/" + }, + "rawContent": "\n
\n https://slideshare.com/\n
Embedded content from slideshare
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__slideshare.serialized.html b/blocks/test/fixtures/core-embed__slideshare.serialized.html new file mode 100644 index 0000000000000..7e8bd7559e87a --- /dev/null +++ b/blocks/test/fixtures/core-embed__slideshare.serialized.html @@ -0,0 +1,7 @@ + +
+ https://slideshare.com/ +
Embedded content from slideshare
+
+ + diff --git a/blocks/test/fixtures/core-embed__smugmug.html b/blocks/test/fixtures/core-embed__smugmug.html new file mode 100644 index 0000000000000..2c340e414b660 --- /dev/null +++ b/blocks/test/fixtures/core-embed__smugmug.html @@ -0,0 +1,6 @@ + +
+ https://smugmug.com/ +
Embedded content from smugmug
+
+ diff --git a/blocks/test/fixtures/core-embedsmugmug.json b/blocks/test/fixtures/core-embed__smugmug.json similarity index 84% rename from blocks/test/fixtures/core-embedsmugmug.json rename to blocks/test/fixtures/core-embed__smugmug.json index cecab2e26b8e5..5b705c05e5c7d 100644 --- a/blocks/test/fixtures/core-embedsmugmug.json +++ b/blocks/test/fixtures/core-embed__smugmug.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedsmugmug", + "name": "core-embed/smugmug", "attributes": { "url": "https://smugmug.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__smugmug.parsed.json b/blocks/test/fixtures/core-embed__smugmug.parsed.json new file mode 100644 index 0000000000000..4dba20d68362a --- /dev/null +++ b/blocks/test/fixtures/core-embed__smugmug.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/smugmug", + "attrs": { + "url": "https://smugmug.com/" + }, + "rawContent": "\n
\n https://smugmug.com/\n
Embedded content from smugmug
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__smugmug.serialized.html b/blocks/test/fixtures/core-embed__smugmug.serialized.html new file mode 100644 index 0000000000000..dd32192fa56e6 --- /dev/null +++ b/blocks/test/fixtures/core-embed__smugmug.serialized.html @@ -0,0 +1,7 @@ + +
+ https://smugmug.com/ +
Embedded content from smugmug
+
+ + diff --git a/blocks/test/fixtures/core-embed__soundcloud.html b/blocks/test/fixtures/core-embed__soundcloud.html new file mode 100644 index 0000000000000..9bc65d3b98839 --- /dev/null +++ b/blocks/test/fixtures/core-embed__soundcloud.html @@ -0,0 +1,6 @@ + +
+ https://soundcloud.com/ +
Embedded content from soundcloud
+
+ diff --git a/blocks/test/fixtures/core-embedsoundcloud.json b/blocks/test/fixtures/core-embed__soundcloud.json similarity index 83% rename from blocks/test/fixtures/core-embedsoundcloud.json rename to blocks/test/fixtures/core-embed__soundcloud.json index 637ecec8577f8..210360add6681 100644 --- a/blocks/test/fixtures/core-embedsoundcloud.json +++ b/blocks/test/fixtures/core-embed__soundcloud.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedsoundcloud", + "name": "core-embed/soundcloud", "attributes": { "url": "https://soundcloud.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__soundcloud.parsed.json b/blocks/test/fixtures/core-embed__soundcloud.parsed.json new file mode 100644 index 0000000000000..97553adfaba9f --- /dev/null +++ b/blocks/test/fixtures/core-embed__soundcloud.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/soundcloud", + "attrs": { + "url": "https://soundcloud.com/" + }, + "rawContent": "\n
\n https://soundcloud.com/\n
Embedded content from soundcloud
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__soundcloud.serialized.html b/blocks/test/fixtures/core-embed__soundcloud.serialized.html new file mode 100644 index 0000000000000..61cb25dc74c49 --- /dev/null +++ b/blocks/test/fixtures/core-embed__soundcloud.serialized.html @@ -0,0 +1,7 @@ + +
+ https://soundcloud.com/ +
Embedded content from soundcloud
+
+ + diff --git a/blocks/test/fixtures/core-embed__speaker.html b/blocks/test/fixtures/core-embed__speaker.html new file mode 100644 index 0000000000000..c458601cf0ec5 --- /dev/null +++ b/blocks/test/fixtures/core-embed__speaker.html @@ -0,0 +1,6 @@ + +
+ https://speaker.com/ +
Embedded content from speaker
+
+ diff --git a/blocks/test/fixtures/core-embedspeaker.json b/blocks/test/fixtures/core-embed__speaker.json similarity index 84% rename from blocks/test/fixtures/core-embedspeaker.json rename to blocks/test/fixtures/core-embed__speaker.json index 0f0c54b3f0f77..7fea3ba89edbd 100644 --- a/blocks/test/fixtures/core-embedspeaker.json +++ b/blocks/test/fixtures/core-embed__speaker.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedspeaker", + "name": "core-embed/speaker", "attributes": { "url": "https://speaker.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__speaker.parsed.json b/blocks/test/fixtures/core-embed__speaker.parsed.json new file mode 100644 index 0000000000000..127334955b576 --- /dev/null +++ b/blocks/test/fixtures/core-embed__speaker.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/speaker", + "attrs": { + "url": "https://speaker.com/" + }, + "rawContent": "\n
\n https://speaker.com/\n
Embedded content from speaker
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__speaker.serialized.html b/blocks/test/fixtures/core-embed__speaker.serialized.html new file mode 100644 index 0000000000000..c193768710e72 --- /dev/null +++ b/blocks/test/fixtures/core-embed__speaker.serialized.html @@ -0,0 +1,7 @@ + +
+ https://speaker.com/ +
Embedded content from speaker
+
+ + diff --git a/blocks/test/fixtures/core-embed__spotify.html b/blocks/test/fixtures/core-embed__spotify.html new file mode 100644 index 0000000000000..a4713c74edf9e --- /dev/null +++ b/blocks/test/fixtures/core-embed__spotify.html @@ -0,0 +1,6 @@ + +
+ https://spotify.com/ +
Embedded content from spotify
+
+ diff --git a/blocks/test/fixtures/core-embedspotify.json b/blocks/test/fixtures/core-embed__spotify.json similarity index 84% rename from blocks/test/fixtures/core-embedspotify.json rename to blocks/test/fixtures/core-embed__spotify.json index 2e712f86c1ec4..2e1076dbb0c5f 100644 --- a/blocks/test/fixtures/core-embedspotify.json +++ b/blocks/test/fixtures/core-embed__spotify.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedspotify", + "name": "core-embed/spotify", "attributes": { "url": "https://spotify.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__spotify.parsed.json b/blocks/test/fixtures/core-embed__spotify.parsed.json new file mode 100644 index 0000000000000..0c3167f1dc130 --- /dev/null +++ b/blocks/test/fixtures/core-embed__spotify.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/spotify", + "attrs": { + "url": "https://spotify.com/" + }, + "rawContent": "\n
\n https://spotify.com/\n
Embedded content from spotify
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__spotify.serialized.html b/blocks/test/fixtures/core-embed__spotify.serialized.html new file mode 100644 index 0000000000000..96b1a511ad1f1 --- /dev/null +++ b/blocks/test/fixtures/core-embed__spotify.serialized.html @@ -0,0 +1,7 @@ + +
+ https://spotify.com/ +
Embedded content from spotify
+
+ + diff --git a/blocks/test/fixtures/core-embed__ted.html b/blocks/test/fixtures/core-embed__ted.html new file mode 100644 index 0000000000000..ed6b0ef0ca02a --- /dev/null +++ b/blocks/test/fixtures/core-embed__ted.html @@ -0,0 +1,6 @@ + +
+ https://ted.com/ +
Embedded content from ted
+
+ diff --git a/blocks/test/fixtures/core-embedted.json b/blocks/test/fixtures/core-embed__ted.json similarity index 85% rename from blocks/test/fixtures/core-embedted.json rename to blocks/test/fixtures/core-embed__ted.json index 13c190858f8c7..5011154882c69 100644 --- a/blocks/test/fixtures/core-embedted.json +++ b/blocks/test/fixtures/core-embed__ted.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedted", + "name": "core-embed/ted", "attributes": { "url": "https://ted.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__ted.parsed.json b/blocks/test/fixtures/core-embed__ted.parsed.json new file mode 100644 index 0000000000000..6ee770cf1a083 --- /dev/null +++ b/blocks/test/fixtures/core-embed__ted.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/ted", + "attrs": { + "url": "https://ted.com/" + }, + "rawContent": "\n
\n https://ted.com/\n
Embedded content from ted
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__ted.serialized.html b/blocks/test/fixtures/core-embed__ted.serialized.html new file mode 100644 index 0000000000000..24e3939e19c33 --- /dev/null +++ b/blocks/test/fixtures/core-embed__ted.serialized.html @@ -0,0 +1,7 @@ + +
+ https://ted.com/ +
Embedded content from ted
+
+ + diff --git a/blocks/test/fixtures/core-embed__tumblr.html b/blocks/test/fixtures/core-embed__tumblr.html new file mode 100644 index 0000000000000..6d323c0287889 --- /dev/null +++ b/blocks/test/fixtures/core-embed__tumblr.html @@ -0,0 +1,6 @@ + +
+ https://tumblr.com/ +
Embedded content from tumblr
+
+ diff --git a/blocks/test/fixtures/core-embedtumblr.json b/blocks/test/fixtures/core-embed__tumblr.json similarity index 84% rename from blocks/test/fixtures/core-embedtumblr.json rename to blocks/test/fixtures/core-embed__tumblr.json index 17e23cd9a8d0c..ba37f49055801 100644 --- a/blocks/test/fixtures/core-embedtumblr.json +++ b/blocks/test/fixtures/core-embed__tumblr.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedtumblr", + "name": "core-embed/tumblr", "attributes": { "url": "https://tumblr.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__tumblr.parsed.json b/blocks/test/fixtures/core-embed__tumblr.parsed.json new file mode 100644 index 0000000000000..dfed848f337c5 --- /dev/null +++ b/blocks/test/fixtures/core-embed__tumblr.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/tumblr", + "attrs": { + "url": "https://tumblr.com/" + }, + "rawContent": "\n
\n https://tumblr.com/\n
Embedded content from tumblr
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__tumblr.serialized.html b/blocks/test/fixtures/core-embed__tumblr.serialized.html new file mode 100644 index 0000000000000..64d2e470c49d5 --- /dev/null +++ b/blocks/test/fixtures/core-embed__tumblr.serialized.html @@ -0,0 +1,7 @@ + +
+ https://tumblr.com/ +
Embedded content from tumblr
+
+ + diff --git a/blocks/test/fixtures/core-embed__twitter.html b/blocks/test/fixtures/core-embed__twitter.html new file mode 100644 index 0000000000000..0c4dea12a0e81 --- /dev/null +++ b/blocks/test/fixtures/core-embed__twitter.html @@ -0,0 +1,6 @@ + +
+ https://twitter.com/automattic +
We are Automattic
+
+ diff --git a/blocks/test/fixtures/core-embedtwitter.json b/blocks/test/fixtures/core-embed__twitter.json similarity index 84% rename from blocks/test/fixtures/core-embedtwitter.json rename to blocks/test/fixtures/core-embed__twitter.json index b9d463c77dceb..ff35783fbeeaa 100644 --- a/blocks/test/fixtures/core-embedtwitter.json +++ b/blocks/test/fixtures/core-embed__twitter.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedtwitter", + "name": "core-embed/twitter", "attributes": { "url": "https://twitter.com/automattic", "caption": [ diff --git a/blocks/test/fixtures/core-embed__twitter.parsed.json b/blocks/test/fixtures/core-embed__twitter.parsed.json new file mode 100644 index 0000000000000..d6d343f46de5e --- /dev/null +++ b/blocks/test/fixtures/core-embed__twitter.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/twitter", + "attrs": { + "url": "https://twitter.com/automattic" + }, + "rawContent": "\n
\n https://twitter.com/automattic\n
We are Automattic
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__twitter.serialized.html b/blocks/test/fixtures/core-embed__twitter.serialized.html new file mode 100644 index 0000000000000..817d3f66df3b6 --- /dev/null +++ b/blocks/test/fixtures/core-embed__twitter.serialized.html @@ -0,0 +1,7 @@ + +
+ https://twitter.com/automattic +
We are Automattic
+
+ + diff --git a/blocks/test/fixtures/core-embed__videopress.html b/blocks/test/fixtures/core-embed__videopress.html new file mode 100644 index 0000000000000..30caf20e70225 --- /dev/null +++ b/blocks/test/fixtures/core-embed__videopress.html @@ -0,0 +1,6 @@ + +
+ https://videopress.com/ +
Embedded content from videopress
+
+ diff --git a/blocks/test/fixtures/core-embedvideopress.json b/blocks/test/fixtures/core-embed__videopress.json similarity index 83% rename from blocks/test/fixtures/core-embedvideopress.json rename to blocks/test/fixtures/core-embed__videopress.json index 8b8f35ff484b5..65e9458e95d87 100644 --- a/blocks/test/fixtures/core-embedvideopress.json +++ b/blocks/test/fixtures/core-embed__videopress.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedvideopress", + "name": "core-embed/videopress", "attributes": { "url": "https://videopress.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__videopress.parsed.json b/blocks/test/fixtures/core-embed__videopress.parsed.json new file mode 100644 index 0000000000000..5076dc3437aa9 --- /dev/null +++ b/blocks/test/fixtures/core-embed__videopress.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/videopress", + "attrs": { + "url": "https://videopress.com/" + }, + "rawContent": "\n
\n https://videopress.com/\n
Embedded content from videopress
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__videopress.serialized.html b/blocks/test/fixtures/core-embed__videopress.serialized.html new file mode 100644 index 0000000000000..756ab1521df77 --- /dev/null +++ b/blocks/test/fixtures/core-embed__videopress.serialized.html @@ -0,0 +1,7 @@ + +
+ https://videopress.com/ +
Embedded content from videopress
+
+ + diff --git a/blocks/test/fixtures/core-embed__vimeo.html b/blocks/test/fixtures/core-embed__vimeo.html new file mode 100644 index 0000000000000..4f0bbfceb9eaf --- /dev/null +++ b/blocks/test/fixtures/core-embed__vimeo.html @@ -0,0 +1,6 @@ + +
+ https://vimeo.com/ +
Embedded content from vimeo
+
+ diff --git a/blocks/test/fixtures/core-embedvimeo.json b/blocks/test/fixtures/core-embed__vimeo.json similarity index 84% rename from blocks/test/fixtures/core-embedvimeo.json rename to blocks/test/fixtures/core-embed__vimeo.json index 828eea64c814d..a1f215beed6a8 100644 --- a/blocks/test/fixtures/core-embedvimeo.json +++ b/blocks/test/fixtures/core-embed__vimeo.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedvimeo", + "name": "core-embed/vimeo", "attributes": { "url": "https://vimeo.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__vimeo.parsed.json b/blocks/test/fixtures/core-embed__vimeo.parsed.json new file mode 100644 index 0000000000000..b25b1ce8b02a7 --- /dev/null +++ b/blocks/test/fixtures/core-embed__vimeo.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/vimeo", + "attrs": { + "url": "https://vimeo.com/" + }, + "rawContent": "\n
\n https://vimeo.com/\n
Embedded content from vimeo
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__vimeo.serialized.html b/blocks/test/fixtures/core-embed__vimeo.serialized.html new file mode 100644 index 0000000000000..b0914dba97721 --- /dev/null +++ b/blocks/test/fixtures/core-embed__vimeo.serialized.html @@ -0,0 +1,7 @@ + +
+ https://vimeo.com/ +
Embedded content from vimeo
+
+ + diff --git a/blocks/test/fixtures/core-embed__vine.html b/blocks/test/fixtures/core-embed__vine.html new file mode 100644 index 0000000000000..3d412392ea304 --- /dev/null +++ b/blocks/test/fixtures/core-embed__vine.html @@ -0,0 +1,6 @@ + +
+ https://vine.com/ +
Embedded content from vine
+
+ diff --git a/blocks/test/fixtures/core-embedvine.json b/blocks/test/fixtures/core-embed__vine.json similarity index 85% rename from blocks/test/fixtures/core-embedvine.json rename to blocks/test/fixtures/core-embed__vine.json index e62878c5dc38a..af44e8956044c 100644 --- a/blocks/test/fixtures/core-embedvine.json +++ b/blocks/test/fixtures/core-embed__vine.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedvine", + "name": "core-embed/vine", "attributes": { "url": "https://vine.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__vine.parsed.json b/blocks/test/fixtures/core-embed__vine.parsed.json new file mode 100644 index 0000000000000..a52b9b4109006 --- /dev/null +++ b/blocks/test/fixtures/core-embed__vine.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/vine", + "attrs": { + "url": "https://vine.com/" + }, + "rawContent": "\n
\n https://vine.com/\n
Embedded content from vine
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__vine.serialized.html b/blocks/test/fixtures/core-embed__vine.serialized.html new file mode 100644 index 0000000000000..52983e6eab6ff --- /dev/null +++ b/blocks/test/fixtures/core-embed__vine.serialized.html @@ -0,0 +1,7 @@ + +
+ https://vine.com/ +
Embedded content from vine
+
+ + diff --git a/blocks/test/fixtures/core-embed__wordpress-tv.html b/blocks/test/fixtures/core-embed__wordpress-tv.html new file mode 100644 index 0000000000000..c978ca92539bf --- /dev/null +++ b/blocks/test/fixtures/core-embed__wordpress-tv.html @@ -0,0 +1,6 @@ + +
+ https://wordpress.tv/ +
Embedded content from wordpress-tv
+
+ diff --git a/blocks/test/fixtures/core-embed__wordpress-tv.json b/blocks/test/fixtures/core-embed__wordpress-tv.json new file mode 100644 index 0000000000000..8bf8d711faad0 --- /dev/null +++ b/blocks/test/fixtures/core-embed__wordpress-tv.json @@ -0,0 +1,12 @@ +[ + { + "uid": "_uid_0", + "name": "core-embed/wordpress-tv", + "attributes": { + "url": "https://wordpress.tv/", + "caption": [ + "Embedded content from wordpress-tv" + ] + } + } +] diff --git a/blocks/test/fixtures/core-embed__wordpress-tv.parsed.json b/blocks/test/fixtures/core-embed__wordpress-tv.parsed.json new file mode 100644 index 0000000000000..1f4427486cee9 --- /dev/null +++ b/blocks/test/fixtures/core-embed__wordpress-tv.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/wordpress-tv", + "attrs": { + "url": "https://wordpress.tv/" + }, + "rawContent": "\n
\n https://wordpress.tv/\n
Embedded content from wordpress-tv
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__wordpress-tv.serialized.html b/blocks/test/fixtures/core-embed__wordpress-tv.serialized.html new file mode 100644 index 0000000000000..bad4644955123 --- /dev/null +++ b/blocks/test/fixtures/core-embed__wordpress-tv.serialized.html @@ -0,0 +1,7 @@ + +
+ https://wordpress.tv/ +
Embedded content from wordpress-tv
+
+ + diff --git a/blocks/test/fixtures/core-embed__wordpress.html b/blocks/test/fixtures/core-embed__wordpress.html new file mode 100644 index 0000000000000..ebe2b6df83f72 --- /dev/null +++ b/blocks/test/fixtures/core-embed__wordpress.html @@ -0,0 +1,6 @@ + +
+ https://wordpress.com/ +
Embedded content from WordPress
+
+ diff --git a/blocks/test/fixtures/core-embedwordpress.json b/blocks/test/fixtures/core-embed__wordpress.json similarity index 83% rename from blocks/test/fixtures/core-embedwordpress.json rename to blocks/test/fixtures/core-embed__wordpress.json index 49ce85cd12934..eb24c5f14258d 100644 --- a/blocks/test/fixtures/core-embedwordpress.json +++ b/blocks/test/fixtures/core-embed__wordpress.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedwordpress", + "name": "core-embed/wordpress", "attributes": { "url": "https://wordpress.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__wordpress.parsed.json b/blocks/test/fixtures/core-embed__wordpress.parsed.json new file mode 100644 index 0000000000000..283eb9495ab54 --- /dev/null +++ b/blocks/test/fixtures/core-embed__wordpress.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/wordpress", + "attrs": { + "url": "https://wordpress.com/" + }, + "rawContent": "\n
\n https://wordpress.com/\n
Embedded content from WordPress
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__wordpress.serialized.html b/blocks/test/fixtures/core-embed__wordpress.serialized.html new file mode 100644 index 0000000000000..220298c994279 --- /dev/null +++ b/blocks/test/fixtures/core-embed__wordpress.serialized.html @@ -0,0 +1,7 @@ + +
+ https://wordpress.com/ +
Embedded content from WordPress
+
+ + diff --git a/blocks/test/fixtures/core-embed__youtube.html b/blocks/test/fixtures/core-embed__youtube.html new file mode 100644 index 0000000000000..f69ae07a8f720 --- /dev/null +++ b/blocks/test/fixtures/core-embed__youtube.html @@ -0,0 +1,6 @@ + +
+ https://youtube.com/ +
Embedded content from youtube
+
+ diff --git a/blocks/test/fixtures/core-embedyoutube.json b/blocks/test/fixtures/core-embed__youtube.json similarity index 84% rename from blocks/test/fixtures/core-embedyoutube.json rename to blocks/test/fixtures/core-embed__youtube.json index 7beb5a715dfef..e03983346dcee 100644 --- a/blocks/test/fixtures/core-embedyoutube.json +++ b/blocks/test/fixtures/core-embed__youtube.json @@ -1,7 +1,7 @@ [ { "uid": "_uid_0", - "name": "core/embedyoutube", + "name": "core-embed/youtube", "attributes": { "url": "https://youtube.com/", "caption": [ diff --git a/blocks/test/fixtures/core-embed__youtube.parsed.json b/blocks/test/fixtures/core-embed__youtube.parsed.json new file mode 100644 index 0000000000000..6438051183d90 --- /dev/null +++ b/blocks/test/fixtures/core-embed__youtube.parsed.json @@ -0,0 +1,13 @@ +[ + { + "blockName": "core-embed/youtube", + "attrs": { + "url": "https://youtube.com/" + }, + "rawContent": "\n
\n https://youtube.com/\n
Embedded content from youtube
\n
\n" + }, + { + "attrs": {}, + "rawContent": "\n" + } +] diff --git a/blocks/test/fixtures/core-embed__youtube.serialized.html b/blocks/test/fixtures/core-embed__youtube.serialized.html new file mode 100644 index 0000000000000..4fa028c1d6d27 --- /dev/null +++ b/blocks/test/fixtures/core-embed__youtube.serialized.html @@ -0,0 +1,7 @@ + +
+ https://youtube.com/ +
Embedded content from youtube
+
+ + diff --git a/blocks/test/fixtures/core-embedanimoto.html b/blocks/test/fixtures/core-embedanimoto.html deleted file mode 100644 index 3111d81890954..0000000000000 --- a/blocks/test/fixtures/core-embedanimoto.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://animoto.com/ -
Embedded content from animoto
-
- diff --git a/blocks/test/fixtures/core-embedanimoto.parsed.json b/blocks/test/fixtures/core-embedanimoto.parsed.json deleted file mode 100644 index 44b9baad3d40d..0000000000000 --- a/blocks/test/fixtures/core-embedanimoto.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedanimoto", - "attrs": { - "url": "https://animoto.com/" - }, - "rawContent": "\n
\n https://animoto.com/\n
Embedded content from animoto
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedanimoto.serialized.html b/blocks/test/fixtures/core-embedanimoto.serialized.html deleted file mode 100644 index 01c8d3160d1a1..0000000000000 --- a/blocks/test/fixtures/core-embedanimoto.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://animoto.com/ -
Embedded content from animoto
-
- - diff --git a/blocks/test/fixtures/core-embedcloudup.html b/blocks/test/fixtures/core-embedcloudup.html deleted file mode 100644 index fd72ad7e26780..0000000000000 --- a/blocks/test/fixtures/core-embedcloudup.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://cloudup.com/ -
Embedded content from cloudup
-
- diff --git a/blocks/test/fixtures/core-embedcloudup.parsed.json b/blocks/test/fixtures/core-embedcloudup.parsed.json deleted file mode 100644 index 7454c9510d5b3..0000000000000 --- a/blocks/test/fixtures/core-embedcloudup.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedcloudup", - "attrs": { - "url": "https://cloudup.com/" - }, - "rawContent": "\n
\n https://cloudup.com/\n
Embedded content from cloudup
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedcloudup.serialized.html b/blocks/test/fixtures/core-embedcloudup.serialized.html deleted file mode 100644 index 83830d1894215..0000000000000 --- a/blocks/test/fixtures/core-embedcloudup.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://cloudup.com/ -
Embedded content from cloudup
-
- - diff --git a/blocks/test/fixtures/core-embedcollegehumor.html b/blocks/test/fixtures/core-embedcollegehumor.html deleted file mode 100644 index e56c23f7b5284..0000000000000 --- a/blocks/test/fixtures/core-embedcollegehumor.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://collegehumor.com/ -
Embedded content from collegehumor
-
- diff --git a/blocks/test/fixtures/core-embedcollegehumor.parsed.json b/blocks/test/fixtures/core-embedcollegehumor.parsed.json deleted file mode 100644 index fe0823b1b4950..0000000000000 --- a/blocks/test/fixtures/core-embedcollegehumor.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedcollegehumor", - "attrs": { - "url": "https://collegehumor.com/" - }, - "rawContent": "\n
\n https://collegehumor.com/\n
Embedded content from collegehumor
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedcollegehumor.serialized.html b/blocks/test/fixtures/core-embedcollegehumor.serialized.html deleted file mode 100644 index 62d92ef7837a5..0000000000000 --- a/blocks/test/fixtures/core-embedcollegehumor.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://collegehumor.com/ -
Embedded content from collegehumor
-
- - diff --git a/blocks/test/fixtures/core-embeddailymotion.html b/blocks/test/fixtures/core-embeddailymotion.html deleted file mode 100644 index 5e3c8f8fad825..0000000000000 --- a/blocks/test/fixtures/core-embeddailymotion.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://dailymotion.com/ -
Embedded content from dailymotion
-
- diff --git a/blocks/test/fixtures/core-embeddailymotion.parsed.json b/blocks/test/fixtures/core-embeddailymotion.parsed.json deleted file mode 100644 index 23f1346941de4..0000000000000 --- a/blocks/test/fixtures/core-embeddailymotion.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embeddailymotion", - "attrs": { - "url": "https://dailymotion.com/" - }, - "rawContent": "\n
\n https://dailymotion.com/\n
Embedded content from dailymotion
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embeddailymotion.serialized.html b/blocks/test/fixtures/core-embeddailymotion.serialized.html deleted file mode 100644 index cbeb1dfb4110e..0000000000000 --- a/blocks/test/fixtures/core-embeddailymotion.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://dailymotion.com/ -
Embedded content from dailymotion
-
- - diff --git a/blocks/test/fixtures/core-embedfacebook.html b/blocks/test/fixtures/core-embedfacebook.html deleted file mode 100644 index 755ad9515c33f..0000000000000 --- a/blocks/test/fixtures/core-embedfacebook.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://facebook.com/ -
Embedded content from facebook
-
- diff --git a/blocks/test/fixtures/core-embedfacebook.parsed.json b/blocks/test/fixtures/core-embedfacebook.parsed.json deleted file mode 100644 index ea29a1cd1c28f..0000000000000 --- a/blocks/test/fixtures/core-embedfacebook.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedfacebook", - "attrs": { - "url": "https://facebook.com/" - }, - "rawContent": "\n
\n https://facebook.com/\n
Embedded content from facebook
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedfacebook.serialized.html b/blocks/test/fixtures/core-embedfacebook.serialized.html deleted file mode 100644 index 7f4b9108430de..0000000000000 --- a/blocks/test/fixtures/core-embedfacebook.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://facebook.com/ -
Embedded content from facebook
-
- - diff --git a/blocks/test/fixtures/core-embedflickr.html b/blocks/test/fixtures/core-embedflickr.html deleted file mode 100644 index 6baf70e456c96..0000000000000 --- a/blocks/test/fixtures/core-embedflickr.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://flickr.com/ -
Embedded content from flickr
-
- diff --git a/blocks/test/fixtures/core-embedflickr.parsed.json b/blocks/test/fixtures/core-embedflickr.parsed.json deleted file mode 100644 index 8bd79af05b2c6..0000000000000 --- a/blocks/test/fixtures/core-embedflickr.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedflickr", - "attrs": { - "url": "https://flickr.com/" - }, - "rawContent": "\n
\n https://flickr.com/\n
Embedded content from flickr
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedflickr.serialized.html b/blocks/test/fixtures/core-embedflickr.serialized.html deleted file mode 100644 index 150a5b6076bb6..0000000000000 --- a/blocks/test/fixtures/core-embedflickr.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://flickr.com/ -
Embedded content from flickr
-
- - diff --git a/blocks/test/fixtures/core-embedfunnyordie.html b/blocks/test/fixtures/core-embedfunnyordie.html deleted file mode 100644 index 237fccc1695d8..0000000000000 --- a/blocks/test/fixtures/core-embedfunnyordie.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://funnyordie.com/ -
Embedded content from funnyordie
-
- diff --git a/blocks/test/fixtures/core-embedfunnyordie.parsed.json b/blocks/test/fixtures/core-embedfunnyordie.parsed.json deleted file mode 100644 index e3d487cc5e189..0000000000000 --- a/blocks/test/fixtures/core-embedfunnyordie.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedfunnyordie", - "attrs": { - "url": "https://funnyordie.com/" - }, - "rawContent": "\n
\n https://funnyordie.com/\n
Embedded content from funnyordie
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedfunnyordie.serialized.html b/blocks/test/fixtures/core-embedfunnyordie.serialized.html deleted file mode 100644 index cd9c07a0c7085..0000000000000 --- a/blocks/test/fixtures/core-embedfunnyordie.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://funnyordie.com/ -
Embedded content from funnyordie
-
- - diff --git a/blocks/test/fixtures/core-embedhulu.html b/blocks/test/fixtures/core-embedhulu.html deleted file mode 100644 index 7e5b4102f47a2..0000000000000 --- a/blocks/test/fixtures/core-embedhulu.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://hulu.com/ -
Embedded content from hulu
-
- diff --git a/blocks/test/fixtures/core-embedhulu.parsed.json b/blocks/test/fixtures/core-embedhulu.parsed.json deleted file mode 100644 index 77d9a1d429f7a..0000000000000 --- a/blocks/test/fixtures/core-embedhulu.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedhulu", - "attrs": { - "url": "https://hulu.com/" - }, - "rawContent": "\n
\n https://hulu.com/\n
Embedded content from hulu
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedhulu.serialized.html b/blocks/test/fixtures/core-embedhulu.serialized.html deleted file mode 100644 index ea740445e6bd3..0000000000000 --- a/blocks/test/fixtures/core-embedhulu.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://hulu.com/ -
Embedded content from hulu
-
- - diff --git a/blocks/test/fixtures/core-embedimgur.html b/blocks/test/fixtures/core-embedimgur.html deleted file mode 100644 index f3e4aec959bf5..0000000000000 --- a/blocks/test/fixtures/core-embedimgur.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://imgur.com/ -
Embedded content from imgur
-
- diff --git a/blocks/test/fixtures/core-embedimgur.parsed.json b/blocks/test/fixtures/core-embedimgur.parsed.json deleted file mode 100644 index 50a3c2e800971..0000000000000 --- a/blocks/test/fixtures/core-embedimgur.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedimgur", - "attrs": { - "url": "https://imgur.com/" - }, - "rawContent": "\n
\n https://imgur.com/\n
Embedded content from imgur
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedimgur.serialized.html b/blocks/test/fixtures/core-embedimgur.serialized.html deleted file mode 100644 index 37bee72a657b6..0000000000000 --- a/blocks/test/fixtures/core-embedimgur.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://imgur.com/ -
Embedded content from imgur
-
- - diff --git a/blocks/test/fixtures/core-embedinstagram.html b/blocks/test/fixtures/core-embedinstagram.html deleted file mode 100644 index b96e2f40d38e0..0000000000000 --- a/blocks/test/fixtures/core-embedinstagram.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://instagram.com/ -
Embedded content from instagram
-
- diff --git a/blocks/test/fixtures/core-embedinstagram.parsed.json b/blocks/test/fixtures/core-embedinstagram.parsed.json deleted file mode 100644 index b01513853fc61..0000000000000 --- a/blocks/test/fixtures/core-embedinstagram.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedinstagram", - "attrs": { - "url": "https://instagram.com/" - }, - "rawContent": "\n
\n https://instagram.com/\n
Embedded content from instagram
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedinstagram.serialized.html b/blocks/test/fixtures/core-embedinstagram.serialized.html deleted file mode 100644 index d34dd7d437f4b..0000000000000 --- a/blocks/test/fixtures/core-embedinstagram.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://instagram.com/ -
Embedded content from instagram
-
- - diff --git a/blocks/test/fixtures/core-embedissuu.html b/blocks/test/fixtures/core-embedissuu.html deleted file mode 100644 index 441c64b0014d0..0000000000000 --- a/blocks/test/fixtures/core-embedissuu.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://issuu.com/ -
Embedded content from issuu
-
- diff --git a/blocks/test/fixtures/core-embedissuu.parsed.json b/blocks/test/fixtures/core-embedissuu.parsed.json deleted file mode 100644 index f7bd209d42dd4..0000000000000 --- a/blocks/test/fixtures/core-embedissuu.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedissuu", - "attrs": { - "url": "https://issuu.com/" - }, - "rawContent": "\n
\n https://issuu.com/\n
Embedded content from issuu
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedissuu.serialized.html b/blocks/test/fixtures/core-embedissuu.serialized.html deleted file mode 100644 index 73773d9f37d11..0000000000000 --- a/blocks/test/fixtures/core-embedissuu.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://issuu.com/ -
Embedded content from issuu
-
- - diff --git a/blocks/test/fixtures/core-embedkickstarter.html b/blocks/test/fixtures/core-embedkickstarter.html deleted file mode 100644 index 8022654804aaf..0000000000000 --- a/blocks/test/fixtures/core-embedkickstarter.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://kickstarter.com/ -
Embedded content from kickstarter
-
- diff --git a/blocks/test/fixtures/core-embedkickstarter.parsed.json b/blocks/test/fixtures/core-embedkickstarter.parsed.json deleted file mode 100644 index 28b0b92b52064..0000000000000 --- a/blocks/test/fixtures/core-embedkickstarter.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedkickstarter", - "attrs": { - "url": "https://kickstarter.com/" - }, - "rawContent": "\n
\n https://kickstarter.com/\n
Embedded content from kickstarter
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedkickstarter.serialized.html b/blocks/test/fixtures/core-embedkickstarter.serialized.html deleted file mode 100644 index c4a43eca917ef..0000000000000 --- a/blocks/test/fixtures/core-embedkickstarter.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://kickstarter.com/ -
Embedded content from kickstarter
-
- - diff --git a/blocks/test/fixtures/core-embedmeetupcom.html b/blocks/test/fixtures/core-embedmeetupcom.html deleted file mode 100644 index 5e548aa2fdb1e..0000000000000 --- a/blocks/test/fixtures/core-embedmeetupcom.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://meetupcom.com/ -
Embedded content from meetupcom
-
- diff --git a/blocks/test/fixtures/core-embedmeetupcom.json b/blocks/test/fixtures/core-embedmeetupcom.json deleted file mode 100644 index 5fb470dcd8b6d..0000000000000 --- a/blocks/test/fixtures/core-embedmeetupcom.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "uid": "_uid_0", - "name": "core/embedmeetupcom", - "attributes": { - "url": "https://meetupcom.com/", - "caption": [ - "Embedded content from meetupcom" - ] - } - } -] diff --git a/blocks/test/fixtures/core-embedmeetupcom.parsed.json b/blocks/test/fixtures/core-embedmeetupcom.parsed.json deleted file mode 100644 index bbb3425390085..0000000000000 --- a/blocks/test/fixtures/core-embedmeetupcom.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedmeetupcom", - "attrs": { - "url": "https://meetupcom.com/" - }, - "rawContent": "\n
\n https://meetupcom.com/\n
Embedded content from meetupcom
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedmeetupcom.serialized.html b/blocks/test/fixtures/core-embedmeetupcom.serialized.html deleted file mode 100644 index 386773c04be31..0000000000000 --- a/blocks/test/fixtures/core-embedmeetupcom.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://meetupcom.com/ -
Embedded content from meetupcom
-
- - diff --git a/blocks/test/fixtures/core-embedmixcloud.html b/blocks/test/fixtures/core-embedmixcloud.html deleted file mode 100644 index 011968f5d006f..0000000000000 --- a/blocks/test/fixtures/core-embedmixcloud.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://mixcloud.com/ -
Embedded content from mixcloud
-
- diff --git a/blocks/test/fixtures/core-embedmixcloud.parsed.json b/blocks/test/fixtures/core-embedmixcloud.parsed.json deleted file mode 100644 index ad662365ce612..0000000000000 --- a/blocks/test/fixtures/core-embedmixcloud.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedmixcloud", - "attrs": { - "url": "https://mixcloud.com/" - }, - "rawContent": "\n
\n https://mixcloud.com/\n
Embedded content from mixcloud
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedmixcloud.serialized.html b/blocks/test/fixtures/core-embedmixcloud.serialized.html deleted file mode 100644 index 473f87063c34d..0000000000000 --- a/blocks/test/fixtures/core-embedmixcloud.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://mixcloud.com/ -
Embedded content from mixcloud
-
- - diff --git a/blocks/test/fixtures/core-embedphotobucket.html b/blocks/test/fixtures/core-embedphotobucket.html deleted file mode 100644 index 06073131df800..0000000000000 --- a/blocks/test/fixtures/core-embedphotobucket.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://photobucket.com/ -
Embedded content from photobucket
-
- diff --git a/blocks/test/fixtures/core-embedphotobucket.parsed.json b/blocks/test/fixtures/core-embedphotobucket.parsed.json deleted file mode 100644 index cebb753a39041..0000000000000 --- a/blocks/test/fixtures/core-embedphotobucket.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedphotobucket", - "attrs": { - "url": "https://photobucket.com/" - }, - "rawContent": "\n
\n https://photobucket.com/\n
Embedded content from photobucket
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedphotobucket.serialized.html b/blocks/test/fixtures/core-embedphotobucket.serialized.html deleted file mode 100644 index 83952f757c0ac..0000000000000 --- a/blocks/test/fixtures/core-embedphotobucket.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://photobucket.com/ -
Embedded content from photobucket
-
- - diff --git a/blocks/test/fixtures/core-embedpolldaddy.html b/blocks/test/fixtures/core-embedpolldaddy.html deleted file mode 100644 index 3eb9d430def1e..0000000000000 --- a/blocks/test/fixtures/core-embedpolldaddy.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://polldaddy.com/ -
Embedded content from polldaddy
-
- diff --git a/blocks/test/fixtures/core-embedpolldaddy.parsed.json b/blocks/test/fixtures/core-embedpolldaddy.parsed.json deleted file mode 100644 index c3458df58e2f7..0000000000000 --- a/blocks/test/fixtures/core-embedpolldaddy.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedpolldaddy", - "attrs": { - "url": "https://polldaddy.com/" - }, - "rawContent": "\n
\n https://polldaddy.com/\n
Embedded content from polldaddy
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedpolldaddy.serialized.html b/blocks/test/fixtures/core-embedpolldaddy.serialized.html deleted file mode 100644 index 247a11d38b7bf..0000000000000 --- a/blocks/test/fixtures/core-embedpolldaddy.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://polldaddy.com/ -
Embedded content from polldaddy
-
- - diff --git a/blocks/test/fixtures/core-embedreddit.html b/blocks/test/fixtures/core-embedreddit.html deleted file mode 100644 index c695b466068b3..0000000000000 --- a/blocks/test/fixtures/core-embedreddit.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://reddit.com/ -
Embedded content from reddit
-
- diff --git a/blocks/test/fixtures/core-embedreddit.parsed.json b/blocks/test/fixtures/core-embedreddit.parsed.json deleted file mode 100644 index 52ea635e03ee3..0000000000000 --- a/blocks/test/fixtures/core-embedreddit.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedreddit", - "attrs": { - "url": "https://reddit.com/" - }, - "rawContent": "\n
\n https://reddit.com/\n
Embedded content from reddit
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedreddit.serialized.html b/blocks/test/fixtures/core-embedreddit.serialized.html deleted file mode 100644 index e2b7afab51cde..0000000000000 --- a/blocks/test/fixtures/core-embedreddit.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://reddit.com/ -
Embedded content from reddit
-
- - diff --git a/blocks/test/fixtures/core-embedreverbnation.html b/blocks/test/fixtures/core-embedreverbnation.html deleted file mode 100644 index 8b6449c962570..0000000000000 --- a/blocks/test/fixtures/core-embedreverbnation.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://reverbnation.com/ -
Embedded content from reverbnation
-
- diff --git a/blocks/test/fixtures/core-embedreverbnation.parsed.json b/blocks/test/fixtures/core-embedreverbnation.parsed.json deleted file mode 100644 index 76fad52e4d8f3..0000000000000 --- a/blocks/test/fixtures/core-embedreverbnation.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedreverbnation", - "attrs": { - "url": "https://reverbnation.com/" - }, - "rawContent": "\n
\n https://reverbnation.com/\n
Embedded content from reverbnation
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedreverbnation.serialized.html b/blocks/test/fixtures/core-embedreverbnation.serialized.html deleted file mode 100644 index 665ba853c3663..0000000000000 --- a/blocks/test/fixtures/core-embedreverbnation.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://reverbnation.com/ -
Embedded content from reverbnation
-
- - diff --git a/blocks/test/fixtures/core-embedscreencast.html b/blocks/test/fixtures/core-embedscreencast.html deleted file mode 100644 index db2c60cbf38d3..0000000000000 --- a/blocks/test/fixtures/core-embedscreencast.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://screencast.com/ -
Embedded content from screencast
-
- diff --git a/blocks/test/fixtures/core-embedscreencast.parsed.json b/blocks/test/fixtures/core-embedscreencast.parsed.json deleted file mode 100644 index 51369759381f6..0000000000000 --- a/blocks/test/fixtures/core-embedscreencast.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedscreencast", - "attrs": { - "url": "https://screencast.com/" - }, - "rawContent": "\n
\n https://screencast.com/\n
Embedded content from screencast
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedscreencast.serialized.html b/blocks/test/fixtures/core-embedscreencast.serialized.html deleted file mode 100644 index 85874f3e4249d..0000000000000 --- a/blocks/test/fixtures/core-embedscreencast.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://screencast.com/ -
Embedded content from screencast
-
- - diff --git a/blocks/test/fixtures/core-embedscribd.html b/blocks/test/fixtures/core-embedscribd.html deleted file mode 100644 index bb489bbac4ebd..0000000000000 --- a/blocks/test/fixtures/core-embedscribd.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://scribd.com/ -
Embedded content from scribd
-
- diff --git a/blocks/test/fixtures/core-embedscribd.parsed.json b/blocks/test/fixtures/core-embedscribd.parsed.json deleted file mode 100644 index 320c2c7e503e2..0000000000000 --- a/blocks/test/fixtures/core-embedscribd.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedscribd", - "attrs": { - "url": "https://scribd.com/" - }, - "rawContent": "\n
\n https://scribd.com/\n
Embedded content from scribd
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedscribd.serialized.html b/blocks/test/fixtures/core-embedscribd.serialized.html deleted file mode 100644 index 70b03f30976aa..0000000000000 --- a/blocks/test/fixtures/core-embedscribd.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://scribd.com/ -
Embedded content from scribd
-
- - diff --git a/blocks/test/fixtures/core-embedslideshare.html b/blocks/test/fixtures/core-embedslideshare.html deleted file mode 100644 index 052867067f159..0000000000000 --- a/blocks/test/fixtures/core-embedslideshare.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://slideshare.com/ -
Embedded content from slideshare
-
- diff --git a/blocks/test/fixtures/core-embedslideshare.parsed.json b/blocks/test/fixtures/core-embedslideshare.parsed.json deleted file mode 100644 index ce0bce0a3f958..0000000000000 --- a/blocks/test/fixtures/core-embedslideshare.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedslideshare", - "attrs": { - "url": "https://slideshare.com/" - }, - "rawContent": "\n
\n https://slideshare.com/\n
Embedded content from slideshare
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedslideshare.serialized.html b/blocks/test/fixtures/core-embedslideshare.serialized.html deleted file mode 100644 index 75345b2aff91f..0000000000000 --- a/blocks/test/fixtures/core-embedslideshare.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://slideshare.com/ -
Embedded content from slideshare
-
- - diff --git a/blocks/test/fixtures/core-embedsmugmug.html b/blocks/test/fixtures/core-embedsmugmug.html deleted file mode 100644 index ee827f8df7e69..0000000000000 --- a/blocks/test/fixtures/core-embedsmugmug.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://smugmug.com/ -
Embedded content from smugmug
-
- diff --git a/blocks/test/fixtures/core-embedsmugmug.parsed.json b/blocks/test/fixtures/core-embedsmugmug.parsed.json deleted file mode 100644 index 21cac8cb4fe0a..0000000000000 --- a/blocks/test/fixtures/core-embedsmugmug.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedsmugmug", - "attrs": { - "url": "https://smugmug.com/" - }, - "rawContent": "\n
\n https://smugmug.com/\n
Embedded content from smugmug
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedsmugmug.serialized.html b/blocks/test/fixtures/core-embedsmugmug.serialized.html deleted file mode 100644 index 81d6ca50015ee..0000000000000 --- a/blocks/test/fixtures/core-embedsmugmug.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://smugmug.com/ -
Embedded content from smugmug
-
- - diff --git a/blocks/test/fixtures/core-embedsoundcloud.html b/blocks/test/fixtures/core-embedsoundcloud.html deleted file mode 100644 index df7792c403234..0000000000000 --- a/blocks/test/fixtures/core-embedsoundcloud.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://soundcloud.com/ -
Embedded content from soundcloud
-
- diff --git a/blocks/test/fixtures/core-embedsoundcloud.parsed.json b/blocks/test/fixtures/core-embedsoundcloud.parsed.json deleted file mode 100644 index db37defc1515b..0000000000000 --- a/blocks/test/fixtures/core-embedsoundcloud.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedsoundcloud", - "attrs": { - "url": "https://soundcloud.com/" - }, - "rawContent": "\n
\n https://soundcloud.com/\n
Embedded content from soundcloud
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedsoundcloud.serialized.html b/blocks/test/fixtures/core-embedsoundcloud.serialized.html deleted file mode 100644 index 66bbedfc03472..0000000000000 --- a/blocks/test/fixtures/core-embedsoundcloud.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://soundcloud.com/ -
Embedded content from soundcloud
-
- - diff --git a/blocks/test/fixtures/core-embedspeaker.html b/blocks/test/fixtures/core-embedspeaker.html deleted file mode 100644 index c15466c82c68f..0000000000000 --- a/blocks/test/fixtures/core-embedspeaker.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://speaker.com/ -
Embedded content from speaker
-
- diff --git a/blocks/test/fixtures/core-embedspeaker.parsed.json b/blocks/test/fixtures/core-embedspeaker.parsed.json deleted file mode 100644 index c13de136b978d..0000000000000 --- a/blocks/test/fixtures/core-embedspeaker.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedspeaker", - "attrs": { - "url": "https://speaker.com/" - }, - "rawContent": "\n
\n https://speaker.com/\n
Embedded content from speaker
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedspeaker.serialized.html b/blocks/test/fixtures/core-embedspeaker.serialized.html deleted file mode 100644 index a32e631e7ed8b..0000000000000 --- a/blocks/test/fixtures/core-embedspeaker.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://speaker.com/ -
Embedded content from speaker
-
- - diff --git a/blocks/test/fixtures/core-embedspotify.html b/blocks/test/fixtures/core-embedspotify.html deleted file mode 100644 index db003220c9fd7..0000000000000 --- a/blocks/test/fixtures/core-embedspotify.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://spotify.com/ -
Embedded content from spotify
-
- diff --git a/blocks/test/fixtures/core-embedspotify.parsed.json b/blocks/test/fixtures/core-embedspotify.parsed.json deleted file mode 100644 index 36bf2b6053d08..0000000000000 --- a/blocks/test/fixtures/core-embedspotify.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedspotify", - "attrs": { - "url": "https://spotify.com/" - }, - "rawContent": "\n
\n https://spotify.com/\n
Embedded content from spotify
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedspotify.serialized.html b/blocks/test/fixtures/core-embedspotify.serialized.html deleted file mode 100644 index 204b3282e6e46..0000000000000 --- a/blocks/test/fixtures/core-embedspotify.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://spotify.com/ -
Embedded content from spotify
-
- - diff --git a/blocks/test/fixtures/core-embedted.html b/blocks/test/fixtures/core-embedted.html deleted file mode 100644 index 177c0acb2218e..0000000000000 --- a/blocks/test/fixtures/core-embedted.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://ted.com/ -
Embedded content from ted
-
- diff --git a/blocks/test/fixtures/core-embedted.parsed.json b/blocks/test/fixtures/core-embedted.parsed.json deleted file mode 100644 index 17900eb25b1fc..0000000000000 --- a/blocks/test/fixtures/core-embedted.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedted", - "attrs": { - "url": "https://ted.com/" - }, - "rawContent": "\n
\n https://ted.com/\n
Embedded content from ted
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedted.serialized.html b/blocks/test/fixtures/core-embedted.serialized.html deleted file mode 100644 index a452735ab3c55..0000000000000 --- a/blocks/test/fixtures/core-embedted.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://ted.com/ -
Embedded content from ted
-
- - diff --git a/blocks/test/fixtures/core-embedtumblr.html b/blocks/test/fixtures/core-embedtumblr.html deleted file mode 100644 index 46efd955b80d6..0000000000000 --- a/blocks/test/fixtures/core-embedtumblr.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://tumblr.com/ -
Embedded content from tumblr
-
- diff --git a/blocks/test/fixtures/core-embedtumblr.parsed.json b/blocks/test/fixtures/core-embedtumblr.parsed.json deleted file mode 100644 index 3bf297e741fa6..0000000000000 --- a/blocks/test/fixtures/core-embedtumblr.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedtumblr", - "attrs": { - "url": "https://tumblr.com/" - }, - "rawContent": "\n
\n https://tumblr.com/\n
Embedded content from tumblr
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedtumblr.serialized.html b/blocks/test/fixtures/core-embedtumblr.serialized.html deleted file mode 100644 index 6ecae0d560186..0000000000000 --- a/blocks/test/fixtures/core-embedtumblr.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://tumblr.com/ -
Embedded content from tumblr
-
- - diff --git a/blocks/test/fixtures/core-embedtwitter.html b/blocks/test/fixtures/core-embedtwitter.html deleted file mode 100644 index 0a4c534dfdd20..0000000000000 --- a/blocks/test/fixtures/core-embedtwitter.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://twitter.com/automattic -
We are Automattic
-
- diff --git a/blocks/test/fixtures/core-embedtwitter.parsed.json b/blocks/test/fixtures/core-embedtwitter.parsed.json deleted file mode 100644 index 0efad073a2118..0000000000000 --- a/blocks/test/fixtures/core-embedtwitter.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedtwitter", - "attrs": { - "url": "https://twitter.com/automattic" - }, - "rawContent": "\n
\n https://twitter.com/automattic\n
We are Automattic
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedtwitter.serialized.html b/blocks/test/fixtures/core-embedtwitter.serialized.html deleted file mode 100644 index 0098e1b73e3cc..0000000000000 --- a/blocks/test/fixtures/core-embedtwitter.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://twitter.com/automattic -
We are Automattic
-
- - diff --git a/blocks/test/fixtures/core-embedvideopress.html b/blocks/test/fixtures/core-embedvideopress.html deleted file mode 100644 index 039db729a41cf..0000000000000 --- a/blocks/test/fixtures/core-embedvideopress.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://videopress.com/ -
Embedded content from videopress
-
- diff --git a/blocks/test/fixtures/core-embedvideopress.parsed.json b/blocks/test/fixtures/core-embedvideopress.parsed.json deleted file mode 100644 index 4a4415cd827c4..0000000000000 --- a/blocks/test/fixtures/core-embedvideopress.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedvideopress", - "attrs": { - "url": "https://videopress.com/" - }, - "rawContent": "\n
\n https://videopress.com/\n
Embedded content from videopress
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedvideopress.serialized.html b/blocks/test/fixtures/core-embedvideopress.serialized.html deleted file mode 100644 index 361af03b490b2..0000000000000 --- a/blocks/test/fixtures/core-embedvideopress.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://videopress.com/ -
Embedded content from videopress
-
- - diff --git a/blocks/test/fixtures/core-embedvimeo.html b/blocks/test/fixtures/core-embedvimeo.html deleted file mode 100644 index 687468c1d4c11..0000000000000 --- a/blocks/test/fixtures/core-embedvimeo.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://vimeo.com/ -
Embedded content from vimeo
-
- diff --git a/blocks/test/fixtures/core-embedvimeo.parsed.json b/blocks/test/fixtures/core-embedvimeo.parsed.json deleted file mode 100644 index 03ce8fe094889..0000000000000 --- a/blocks/test/fixtures/core-embedvimeo.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedvimeo", - "attrs": { - "url": "https://vimeo.com/" - }, - "rawContent": "\n
\n https://vimeo.com/\n
Embedded content from vimeo
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedvimeo.serialized.html b/blocks/test/fixtures/core-embedvimeo.serialized.html deleted file mode 100644 index f8b9bc9cc66a1..0000000000000 --- a/blocks/test/fixtures/core-embedvimeo.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://vimeo.com/ -
Embedded content from vimeo
-
- - diff --git a/blocks/test/fixtures/core-embedvine.html b/blocks/test/fixtures/core-embedvine.html deleted file mode 100644 index 59d20024e685f..0000000000000 --- a/blocks/test/fixtures/core-embedvine.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://vine.com/ -
Embedded content from vine
-
- diff --git a/blocks/test/fixtures/core-embedvine.parsed.json b/blocks/test/fixtures/core-embedvine.parsed.json deleted file mode 100644 index fdc9ce13c8f6d..0000000000000 --- a/blocks/test/fixtures/core-embedvine.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedvine", - "attrs": { - "url": "https://vine.com/" - }, - "rawContent": "\n
\n https://vine.com/\n
Embedded content from vine
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedvine.serialized.html b/blocks/test/fixtures/core-embedvine.serialized.html deleted file mode 100644 index e7ce7573bf859..0000000000000 --- a/blocks/test/fixtures/core-embedvine.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://vine.com/ -
Embedded content from vine
-
- - diff --git a/blocks/test/fixtures/core-embedwordpress.html b/blocks/test/fixtures/core-embedwordpress.html deleted file mode 100644 index 88e9adefb9b5e..0000000000000 --- a/blocks/test/fixtures/core-embedwordpress.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://wordpress.com/ -
Embedded content from WordPress
-
- diff --git a/blocks/test/fixtures/core-embedwordpress.parsed.json b/blocks/test/fixtures/core-embedwordpress.parsed.json deleted file mode 100644 index 8db36fb91bc1f..0000000000000 --- a/blocks/test/fixtures/core-embedwordpress.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedwordpress", - "attrs": { - "url": "https://wordpress.com/" - }, - "rawContent": "\n
\n https://wordpress.com/\n
Embedded content from WordPress
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedwordpress.serialized.html b/blocks/test/fixtures/core-embedwordpress.serialized.html deleted file mode 100644 index 167541caa4c97..0000000000000 --- a/blocks/test/fixtures/core-embedwordpress.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://wordpress.com/ -
Embedded content from WordPress
-
- - diff --git a/blocks/test/fixtures/core-embedwordpresstv.html b/blocks/test/fixtures/core-embedwordpresstv.html deleted file mode 100644 index 631e0cda5187c..0000000000000 --- a/blocks/test/fixtures/core-embedwordpresstv.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://wordpresstv.com/ -
Embedded content from wordpresstv
-
- diff --git a/blocks/test/fixtures/core-embedwordpresstv.json b/blocks/test/fixtures/core-embedwordpresstv.json deleted file mode 100644 index 43e137a66bdeb..0000000000000 --- a/blocks/test/fixtures/core-embedwordpresstv.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "uid": "_uid_0", - "name": "core/embedwordpresstv", - "attributes": { - "url": "https://wordpresstv.com/", - "caption": [ - "Embedded content from wordpresstv" - ] - } - } -] diff --git a/blocks/test/fixtures/core-embedwordpresstv.parsed.json b/blocks/test/fixtures/core-embedwordpresstv.parsed.json deleted file mode 100644 index 44b786c2feae7..0000000000000 --- a/blocks/test/fixtures/core-embedwordpresstv.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedwordpresstv", - "attrs": { - "url": "https://wordpresstv.com/" - }, - "rawContent": "\n
\n https://wordpresstv.com/\n
Embedded content from wordpresstv
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedwordpresstv.serialized.html b/blocks/test/fixtures/core-embedwordpresstv.serialized.html deleted file mode 100644 index c66c564684eb5..0000000000000 --- a/blocks/test/fixtures/core-embedwordpresstv.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://wordpresstv.com/ -
Embedded content from wordpresstv
-
- - diff --git a/blocks/test/fixtures/core-embedyoutube.html b/blocks/test/fixtures/core-embedyoutube.html deleted file mode 100644 index 4f7bb7872e151..0000000000000 --- a/blocks/test/fixtures/core-embedyoutube.html +++ /dev/null @@ -1,6 +0,0 @@ - -
- https://youtube.com/ -
Embedded content from youtube
-
- diff --git a/blocks/test/fixtures/core-embedyoutube.parsed.json b/blocks/test/fixtures/core-embedyoutube.parsed.json deleted file mode 100644 index 7a4e757510222..0000000000000 --- a/blocks/test/fixtures/core-embedyoutube.parsed.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "blockName": "core/embedyoutube", - "attrs": { - "url": "https://youtube.com/" - }, - "rawContent": "\n
\n https://youtube.com/\n
Embedded content from youtube
\n
\n" - }, - { - "attrs": {}, - "rawContent": "\n" - } -] diff --git a/blocks/test/fixtures/core-embedyoutube.serialized.html b/blocks/test/fixtures/core-embedyoutube.serialized.html deleted file mode 100644 index f17d51bd132b2..0000000000000 --- a/blocks/test/fixtures/core-embedyoutube.serialized.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- https://youtube.com/ -
Embedded content from youtube
-
- - diff --git a/blocks/test/fixtures/core-latestposts.html b/blocks/test/fixtures/core-latestposts.html deleted file mode 100644 index 44972fd76efc7..0000000000000 --- a/blocks/test/fixtures/core-latestposts.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/blocks/test/fixtures/core-latestposts.serialized.html b/blocks/test/fixtures/core-latestposts.serialized.html deleted file mode 100644 index 44972fd76efc7..0000000000000 --- a/blocks/test/fixtures/core-latestposts.serialized.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/blocks/test/fixtures/core-button-center.html b/blocks/test/fixtures/core__button__center.html similarity index 100% rename from blocks/test/fixtures/core-button-center.html rename to blocks/test/fixtures/core__button__center.html diff --git a/blocks/test/fixtures/core-button-center.json b/blocks/test/fixtures/core__button__center.json similarity index 100% rename from blocks/test/fixtures/core-button-center.json rename to blocks/test/fixtures/core__button__center.json diff --git a/blocks/test/fixtures/core-button-center.parsed.json b/blocks/test/fixtures/core__button__center.parsed.json similarity index 100% rename from blocks/test/fixtures/core-button-center.parsed.json rename to blocks/test/fixtures/core__button__center.parsed.json diff --git a/blocks/test/fixtures/core-button-center.serialized.html b/blocks/test/fixtures/core__button__center.serialized.html similarity index 100% rename from blocks/test/fixtures/core-button-center.serialized.html rename to blocks/test/fixtures/core__button__center.serialized.html diff --git a/blocks/test/fixtures/core-code.html b/blocks/test/fixtures/core__code.html similarity index 100% rename from blocks/test/fixtures/core-code.html rename to blocks/test/fixtures/core__code.html diff --git a/blocks/test/fixtures/core-code.json b/blocks/test/fixtures/core__code.json similarity index 100% rename from blocks/test/fixtures/core-code.json rename to blocks/test/fixtures/core__code.json diff --git a/blocks/test/fixtures/core-code.parsed.json b/blocks/test/fixtures/core__code.parsed.json similarity index 100% rename from blocks/test/fixtures/core-code.parsed.json rename to blocks/test/fixtures/core__code.parsed.json diff --git a/blocks/test/fixtures/core-code.serialized.html b/blocks/test/fixtures/core__code.serialized.html similarity index 100% rename from blocks/test/fixtures/core-code.serialized.html rename to blocks/test/fixtures/core__code.serialized.html diff --git a/blocks/test/fixtures/core-cover-image.html b/blocks/test/fixtures/core__cover-image.html similarity index 100% rename from blocks/test/fixtures/core-cover-image.html rename to blocks/test/fixtures/core__cover-image.html diff --git a/blocks/test/fixtures/core-cover-image.json b/blocks/test/fixtures/core__cover-image.json similarity index 100% rename from blocks/test/fixtures/core-cover-image.json rename to blocks/test/fixtures/core__cover-image.json diff --git a/blocks/test/fixtures/core-cover-image.parsed.json b/blocks/test/fixtures/core__cover-image.parsed.json similarity index 100% rename from blocks/test/fixtures/core-cover-image.parsed.json rename to blocks/test/fixtures/core__cover-image.parsed.json diff --git a/blocks/test/fixtures/core-cover-image.serialized.html b/blocks/test/fixtures/core__cover-image.serialized.html similarity index 100% rename from blocks/test/fixtures/core-cover-image.serialized.html rename to blocks/test/fixtures/core__cover-image.serialized.html diff --git a/blocks/test/fixtures/core-embed.html b/blocks/test/fixtures/core__embed.html similarity index 100% rename from blocks/test/fixtures/core-embed.html rename to blocks/test/fixtures/core__embed.html diff --git a/blocks/test/fixtures/core-embed.json b/blocks/test/fixtures/core__embed.json similarity index 100% rename from blocks/test/fixtures/core-embed.json rename to blocks/test/fixtures/core__embed.json diff --git a/blocks/test/fixtures/core-embed.parsed.json b/blocks/test/fixtures/core__embed.parsed.json similarity index 100% rename from blocks/test/fixtures/core-embed.parsed.json rename to blocks/test/fixtures/core__embed.parsed.json diff --git a/blocks/test/fixtures/core-embed.serialized.html b/blocks/test/fixtures/core__embed.serialized.html similarity index 100% rename from blocks/test/fixtures/core-embed.serialized.html rename to blocks/test/fixtures/core__embed.serialized.html diff --git a/blocks/test/fixtures/core-freeform.html b/blocks/test/fixtures/core__freeform.html similarity index 100% rename from blocks/test/fixtures/core-freeform.html rename to blocks/test/fixtures/core__freeform.html diff --git a/blocks/test/fixtures/core-freeform.json b/blocks/test/fixtures/core__freeform.json similarity index 100% rename from blocks/test/fixtures/core-freeform.json rename to blocks/test/fixtures/core__freeform.json diff --git a/blocks/test/fixtures/core-freeform.parsed.json b/blocks/test/fixtures/core__freeform.parsed.json similarity index 100% rename from blocks/test/fixtures/core-freeform.parsed.json rename to blocks/test/fixtures/core__freeform.parsed.json diff --git a/blocks/test/fixtures/core-freeform.serialized.html b/blocks/test/fixtures/core__freeform.serialized.html similarity index 100% rename from blocks/test/fixtures/core-freeform.serialized.html rename to blocks/test/fixtures/core__freeform.serialized.html diff --git a/blocks/test/fixtures/core-gallery.html b/blocks/test/fixtures/core__gallery.html similarity index 100% rename from blocks/test/fixtures/core-gallery.html rename to blocks/test/fixtures/core__gallery.html diff --git a/blocks/test/fixtures/core-gallery.json b/blocks/test/fixtures/core__gallery.json similarity index 100% rename from blocks/test/fixtures/core-gallery.json rename to blocks/test/fixtures/core__gallery.json diff --git a/blocks/test/fixtures/core-gallery.parsed.json b/blocks/test/fixtures/core__gallery.parsed.json similarity index 100% rename from blocks/test/fixtures/core-gallery.parsed.json rename to blocks/test/fixtures/core__gallery.parsed.json diff --git a/blocks/test/fixtures/core-gallery.serialized.html b/blocks/test/fixtures/core__gallery.serialized.html similarity index 100% rename from blocks/test/fixtures/core-gallery.serialized.html rename to blocks/test/fixtures/core__gallery.serialized.html diff --git a/blocks/test/fixtures/core-heading-h2-em.html b/blocks/test/fixtures/core__heading__h2-em.html similarity index 100% rename from blocks/test/fixtures/core-heading-h2-em.html rename to blocks/test/fixtures/core__heading__h2-em.html diff --git a/blocks/test/fixtures/core-heading-h2-em.json b/blocks/test/fixtures/core__heading__h2-em.json similarity index 100% rename from blocks/test/fixtures/core-heading-h2-em.json rename to blocks/test/fixtures/core__heading__h2-em.json diff --git a/blocks/test/fixtures/core-heading-h2-em.parsed.json b/blocks/test/fixtures/core__heading__h2-em.parsed.json similarity index 100% rename from blocks/test/fixtures/core-heading-h2-em.parsed.json rename to blocks/test/fixtures/core__heading__h2-em.parsed.json diff --git a/blocks/test/fixtures/core-heading-h2-em.serialized.html b/blocks/test/fixtures/core__heading__h2-em.serialized.html similarity index 100% rename from blocks/test/fixtures/core-heading-h2-em.serialized.html rename to blocks/test/fixtures/core__heading__h2-em.serialized.html diff --git a/blocks/test/fixtures/core-heading-h2.html b/blocks/test/fixtures/core__heading__h2.html similarity index 100% rename from blocks/test/fixtures/core-heading-h2.html rename to blocks/test/fixtures/core__heading__h2.html diff --git a/blocks/test/fixtures/core-heading-h2.json b/blocks/test/fixtures/core__heading__h2.json similarity index 100% rename from blocks/test/fixtures/core-heading-h2.json rename to blocks/test/fixtures/core__heading__h2.json diff --git a/blocks/test/fixtures/core-heading-h2.parsed.json b/blocks/test/fixtures/core__heading__h2.parsed.json similarity index 100% rename from blocks/test/fixtures/core-heading-h2.parsed.json rename to blocks/test/fixtures/core__heading__h2.parsed.json diff --git a/blocks/test/fixtures/core-heading-h2.serialized.html b/blocks/test/fixtures/core__heading__h2.serialized.html similarity index 100% rename from blocks/test/fixtures/core-heading-h2.serialized.html rename to blocks/test/fixtures/core__heading__h2.serialized.html diff --git a/blocks/test/fixtures/core-html.html b/blocks/test/fixtures/core__html.html similarity index 100% rename from blocks/test/fixtures/core-html.html rename to blocks/test/fixtures/core__html.html diff --git a/blocks/test/fixtures/core-html.json b/blocks/test/fixtures/core__html.json similarity index 100% rename from blocks/test/fixtures/core-html.json rename to blocks/test/fixtures/core__html.json diff --git a/blocks/test/fixtures/core-html.parsed.json b/blocks/test/fixtures/core__html.parsed.json similarity index 100% rename from blocks/test/fixtures/core-html.parsed.json rename to blocks/test/fixtures/core__html.parsed.json diff --git a/blocks/test/fixtures/core-html.serialized.html b/blocks/test/fixtures/core__html.serialized.html similarity index 100% rename from blocks/test/fixtures/core-html.serialized.html rename to blocks/test/fixtures/core__html.serialized.html diff --git a/blocks/test/fixtures/core-image.html b/blocks/test/fixtures/core__image.html similarity index 100% rename from blocks/test/fixtures/core-image.html rename to blocks/test/fixtures/core__image.html diff --git a/blocks/test/fixtures/core-image.json b/blocks/test/fixtures/core__image.json similarity index 100% rename from blocks/test/fixtures/core-image.json rename to blocks/test/fixtures/core__image.json diff --git a/blocks/test/fixtures/core-image.parsed.json b/blocks/test/fixtures/core__image.parsed.json similarity index 100% rename from blocks/test/fixtures/core-image.parsed.json rename to blocks/test/fixtures/core__image.parsed.json diff --git a/blocks/test/fixtures/core-image.serialized.html b/blocks/test/fixtures/core__image.serialized.html similarity index 100% rename from blocks/test/fixtures/core-image.serialized.html rename to blocks/test/fixtures/core__image.serialized.html diff --git a/blocks/test/fixtures/core-image-center-caption.html b/blocks/test/fixtures/core__image__center-caption.html similarity index 100% rename from blocks/test/fixtures/core-image-center-caption.html rename to blocks/test/fixtures/core__image__center-caption.html diff --git a/blocks/test/fixtures/core-image-center-caption.json b/blocks/test/fixtures/core__image__center-caption.json similarity index 100% rename from blocks/test/fixtures/core-image-center-caption.json rename to blocks/test/fixtures/core__image__center-caption.json diff --git a/blocks/test/fixtures/core-image-center-caption.parsed.json b/blocks/test/fixtures/core__image__center-caption.parsed.json similarity index 100% rename from blocks/test/fixtures/core-image-center-caption.parsed.json rename to blocks/test/fixtures/core__image__center-caption.parsed.json diff --git a/blocks/test/fixtures/core-image-center-caption.serialized.html b/blocks/test/fixtures/core__image__center-caption.serialized.html similarity index 100% rename from blocks/test/fixtures/core-image-center-caption.serialized.html rename to blocks/test/fixtures/core__image__center-caption.serialized.html diff --git a/blocks/test/fixtures/core__latest-posts.html b/blocks/test/fixtures/core__latest-posts.html new file mode 100644 index 0000000000000..99d215f58affa --- /dev/null +++ b/blocks/test/fixtures/core__latest-posts.html @@ -0,0 +1 @@ + diff --git a/blocks/test/fixtures/core-latestposts.json b/blocks/test/fixtures/core__latest-posts.json similarity index 62% rename from blocks/test/fixtures/core-latestposts.json rename to blocks/test/fixtures/core__latest-posts.json index 64ea6fc63157a..3f27bca2cbd47 100644 --- a/blocks/test/fixtures/core-latestposts.json +++ b/blocks/test/fixtures/core__latest-posts.json @@ -1,9 +1,9 @@ [ { "uid": "_uid_0", - "name": "core/latestposts", + "name": "core/latest-posts", "attributes": { - "poststoshow": 5, + "postsToShow": 5, "displayPostDate": false } } diff --git a/blocks/test/fixtures/core-latestposts.parsed.json b/blocks/test/fixtures/core__latest-posts.parsed.json similarity index 70% rename from blocks/test/fixtures/core-latestposts.parsed.json rename to blocks/test/fixtures/core__latest-posts.parsed.json index ce2343fc546e3..ac3a8dba1cc67 100644 --- a/blocks/test/fixtures/core-latestposts.parsed.json +++ b/blocks/test/fixtures/core__latest-posts.parsed.json @@ -1,8 +1,8 @@ [ { - "blockName": "core/latestposts", + "blockName": "core/latest-posts", "attrs": { - "poststoshow": 5, + "postsToShow": 5, "displayPostDate": false }, "rawContent": "" diff --git a/blocks/test/fixtures/core__latest-posts.serialized.html b/blocks/test/fixtures/core__latest-posts.serialized.html new file mode 100644 index 0000000000000..99d215f58affa --- /dev/null +++ b/blocks/test/fixtures/core__latest-posts.serialized.html @@ -0,0 +1 @@ + diff --git a/blocks/test/fixtures/core-list-ul.html b/blocks/test/fixtures/core__list__ul.html similarity index 100% rename from blocks/test/fixtures/core-list-ul.html rename to blocks/test/fixtures/core__list__ul.html diff --git a/blocks/test/fixtures/core-list-ul.json b/blocks/test/fixtures/core__list__ul.json similarity index 100% rename from blocks/test/fixtures/core-list-ul.json rename to blocks/test/fixtures/core__list__ul.json diff --git a/blocks/test/fixtures/core-list-ul.parsed.json b/blocks/test/fixtures/core__list__ul.parsed.json similarity index 100% rename from blocks/test/fixtures/core-list-ul.parsed.json rename to blocks/test/fixtures/core__list__ul.parsed.json diff --git a/blocks/test/fixtures/core-list-ul.serialized.html b/blocks/test/fixtures/core__list__ul.serialized.html similarity index 100% rename from blocks/test/fixtures/core-list-ul.serialized.html rename to blocks/test/fixtures/core__list__ul.serialized.html diff --git a/blocks/test/fixtures/core-preformatted.html b/blocks/test/fixtures/core__preformatted.html similarity index 100% rename from blocks/test/fixtures/core-preformatted.html rename to blocks/test/fixtures/core__preformatted.html diff --git a/blocks/test/fixtures/core-preformatted.json b/blocks/test/fixtures/core__preformatted.json similarity index 100% rename from blocks/test/fixtures/core-preformatted.json rename to blocks/test/fixtures/core__preformatted.json diff --git a/blocks/test/fixtures/core-preformatted.parsed.json b/blocks/test/fixtures/core__preformatted.parsed.json similarity index 100% rename from blocks/test/fixtures/core-preformatted.parsed.json rename to blocks/test/fixtures/core__preformatted.parsed.json diff --git a/blocks/test/fixtures/core-preformatted.serialized.html b/blocks/test/fixtures/core__preformatted.serialized.html similarity index 100% rename from blocks/test/fixtures/core-preformatted.serialized.html rename to blocks/test/fixtures/core__preformatted.serialized.html diff --git a/blocks/test/fixtures/core-pullquote.html b/blocks/test/fixtures/core__pullquote.html similarity index 100% rename from blocks/test/fixtures/core-pullquote.html rename to blocks/test/fixtures/core__pullquote.html diff --git a/blocks/test/fixtures/core-pullquote.json b/blocks/test/fixtures/core__pullquote.json similarity index 100% rename from blocks/test/fixtures/core-pullquote.json rename to blocks/test/fixtures/core__pullquote.json diff --git a/blocks/test/fixtures/core-pullquote.parsed.json b/blocks/test/fixtures/core__pullquote.parsed.json similarity index 100% rename from blocks/test/fixtures/core-pullquote.parsed.json rename to blocks/test/fixtures/core__pullquote.parsed.json diff --git a/blocks/test/fixtures/core-pullquote.serialized.html b/blocks/test/fixtures/core__pullquote.serialized.html similarity index 100% rename from blocks/test/fixtures/core-pullquote.serialized.html rename to blocks/test/fixtures/core__pullquote.serialized.html diff --git a/blocks/test/fixtures/core-quote-style-1.html b/blocks/test/fixtures/core__quote__style-1.html similarity index 100% rename from blocks/test/fixtures/core-quote-style-1.html rename to blocks/test/fixtures/core__quote__style-1.html diff --git a/blocks/test/fixtures/core-quote-style-1.json b/blocks/test/fixtures/core__quote__style-1.json similarity index 100% rename from blocks/test/fixtures/core-quote-style-1.json rename to blocks/test/fixtures/core__quote__style-1.json diff --git a/blocks/test/fixtures/core-quote-style-1.parsed.json b/blocks/test/fixtures/core__quote__style-1.parsed.json similarity index 100% rename from blocks/test/fixtures/core-quote-style-1.parsed.json rename to blocks/test/fixtures/core__quote__style-1.parsed.json diff --git a/blocks/test/fixtures/core-quote-style-1.serialized.html b/blocks/test/fixtures/core__quote__style-1.serialized.html similarity index 100% rename from blocks/test/fixtures/core-quote-style-1.serialized.html rename to blocks/test/fixtures/core__quote__style-1.serialized.html diff --git a/blocks/test/fixtures/core-quote-style-2.html b/blocks/test/fixtures/core__quote__style-2.html similarity index 100% rename from blocks/test/fixtures/core-quote-style-2.html rename to blocks/test/fixtures/core__quote__style-2.html diff --git a/blocks/test/fixtures/core-quote-style-2.json b/blocks/test/fixtures/core__quote__style-2.json similarity index 100% rename from blocks/test/fixtures/core-quote-style-2.json rename to blocks/test/fixtures/core__quote__style-2.json diff --git a/blocks/test/fixtures/core-quote-style-2.parsed.json b/blocks/test/fixtures/core__quote__style-2.parsed.json similarity index 100% rename from blocks/test/fixtures/core-quote-style-2.parsed.json rename to blocks/test/fixtures/core__quote__style-2.parsed.json diff --git a/blocks/test/fixtures/core-quote-style-2.serialized.html b/blocks/test/fixtures/core__quote__style-2.serialized.html similarity index 100% rename from blocks/test/fixtures/core-quote-style-2.serialized.html rename to blocks/test/fixtures/core__quote__style-2.serialized.html diff --git a/blocks/test/fixtures/core-separator.html b/blocks/test/fixtures/core__separator.html similarity index 100% rename from blocks/test/fixtures/core-separator.html rename to blocks/test/fixtures/core__separator.html diff --git a/blocks/test/fixtures/core-separator.json b/blocks/test/fixtures/core__separator.json similarity index 100% rename from blocks/test/fixtures/core-separator.json rename to blocks/test/fixtures/core__separator.json diff --git a/blocks/test/fixtures/core-separator.parsed.json b/blocks/test/fixtures/core__separator.parsed.json similarity index 100% rename from blocks/test/fixtures/core-separator.parsed.json rename to blocks/test/fixtures/core__separator.parsed.json diff --git a/blocks/test/fixtures/core-separator.serialized.html b/blocks/test/fixtures/core__separator.serialized.html similarity index 100% rename from blocks/test/fixtures/core-separator.serialized.html rename to blocks/test/fixtures/core__separator.serialized.html diff --git a/blocks/test/fixtures/core-table.html b/blocks/test/fixtures/core__table.html similarity index 100% rename from blocks/test/fixtures/core-table.html rename to blocks/test/fixtures/core__table.html diff --git a/blocks/test/fixtures/core-table.json b/blocks/test/fixtures/core__table.json similarity index 100% rename from blocks/test/fixtures/core-table.json rename to blocks/test/fixtures/core__table.json diff --git a/blocks/test/fixtures/core-table.parsed.json b/blocks/test/fixtures/core__table.parsed.json similarity index 100% rename from blocks/test/fixtures/core-table.parsed.json rename to blocks/test/fixtures/core__table.parsed.json diff --git a/blocks/test/fixtures/core-table.serialized.html b/blocks/test/fixtures/core__table.serialized.html similarity index 100% rename from blocks/test/fixtures/core-table.serialized.html rename to blocks/test/fixtures/core__table.serialized.html diff --git a/blocks/test/fixtures/core-text-align-right.html b/blocks/test/fixtures/core__text__align-right.html similarity index 100% rename from blocks/test/fixtures/core-text-align-right.html rename to blocks/test/fixtures/core__text__align-right.html diff --git a/blocks/test/fixtures/core-text-align-right.json b/blocks/test/fixtures/core__text__align-right.json similarity index 100% rename from blocks/test/fixtures/core-text-align-right.json rename to blocks/test/fixtures/core__text__align-right.json diff --git a/blocks/test/fixtures/core-text-align-right.parsed.json b/blocks/test/fixtures/core__text__align-right.parsed.json similarity index 100% rename from blocks/test/fixtures/core-text-align-right.parsed.json rename to blocks/test/fixtures/core__text__align-right.parsed.json diff --git a/blocks/test/fixtures/core-text-align-right.serialized.html b/blocks/test/fixtures/core__text__align-right.serialized.html similarity index 100% rename from blocks/test/fixtures/core-text-align-right.serialized.html rename to blocks/test/fixtures/core__text__align-right.serialized.html diff --git a/blocks/test/full-content.js b/blocks/test/full-content.js index dd8cb93bc7034..2869713a79bc9 100644 --- a/blocks/test/full-content.js +++ b/blocks/test/full-content.js @@ -158,11 +158,11 @@ describe( 'full post content fixture', () => { const errors = []; getBlockTypes().map( block => block.name ).forEach( name => { - const nameToFilename = name.replace( /\//g, '-' ); + const nameToFilename = name.replace( /\//g, '__' ); const foundFixtures = fileBasenames .filter( basename => ( basename === nameToFilename || - startsWith( basename, nameToFilename + '-' ) + startsWith( basename, nameToFilename + '__' ) ) ) .map( basename => { const filename = basename + '.html'; @@ -175,7 +175,7 @@ describe( 'full post content fixture', () => { if ( ! foundFixtures.length ) { errors.push( format( - 'Expected a fixture file called \'%s.html\' or \'%s-*.html\'.', + 'Expected a fixture file called \'%s.html\' or \'%s__*.html\'.', nameToFilename, nameToFilename ) ); diff --git a/lib/blocks/latest-posts.php b/lib/blocks/latest-posts.php index 60719e9a12921..8e2238b34dfbf 100644 --- a/lib/blocks/latest-posts.php +++ b/lib/blocks/latest-posts.php @@ -55,6 +55,6 @@ function gutenberg_render_block_core_latest_posts( $attributes ) { return $block_content; } -register_block_type( 'core/latestposts', array( +register_block_type( 'core/latest-posts', array( 'render' => 'gutenberg_render_block_core_latest_posts', ) ); diff --git a/phpunit/class-registration-test.php b/phpunit/class-registration-test.php index 95b19f46da610..e6755ee7ffc7b 100644 --- a/phpunit/class-registration-test.php +++ b/phpunit/class-registration-test.php @@ -38,7 +38,7 @@ function test_invalid_names_without_namespace() { * * @expectedIncorrectUsage register_block_type */ - function test_invlalid_characters() { + function test_invalid_characters() { $result = register_block_type( 'still/_doing_it_wrong', array() ); $this->assertFalse( $result ); }