diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index eaba194bf8..5d1839d78a 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -30,6 +30,9 @@ if ! $(wp-su core is-installed); then wp-su core config --dbhost=mysql --dbname=wordpress --dbuser=wordpress --dbpass=wordpress --extra-php="define( 'SCRIPT_DEBUG', true );" --force fi +# Change default table prefix +sed -i "s/\$table_prefix = 'wp_';/\$table_prefix = 'mp_';/" ./wp-config.php + # Load Composer dependencies # Set KEEP_DEPS environment flag to not redownload them on each run, only for the 1st time, useful for development. # Example: docker-compose run -e KEEP_DEPS=1 codeception ... diff --git a/tests/_data/acceptanceDump.sql b/tests/_data/acceptanceDump.sql index e43c2dfd2e..225559757f 100644 --- a/tests/_data/acceptanceDump.sql +++ b/tests/_data/acceptanceDump.sql @@ -5,8 +5,8 @@ SET time_zone = '+00:00'; SET foreign_key_checks = 0; SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; -DROP TABLE IF EXISTS `wp_commentmeta`; -CREATE TABLE `wp_commentmeta` ( +DROP TABLE IF EXISTS `mp_commentmeta`; +CREATE TABLE `mp_commentmeta` ( `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `comment_id` bigint(20) unsigned NOT NULL DEFAULT '0', `meta_key` varchar(255) DEFAULT NULL, @@ -17,8 +17,8 @@ CREATE TABLE `wp_commentmeta` ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -DROP TABLE IF EXISTS `wp_comments`; -CREATE TABLE `wp_comments` ( +DROP TABLE IF EXISTS `mp_comments`; +CREATE TABLE `mp_comments` ( `comment_ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `comment_post_ID` bigint(20) unsigned NOT NULL DEFAULT '0', `comment_author` tinytext NOT NULL, @@ -42,11 +42,11 @@ CREATE TABLE `wp_comments` ( KEY `comment_author_email` (`comment_author_email`(10)) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -INSERT INTO `wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES +INSERT INTO `mp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES (1, 1, 'A WordPress Commenter', 'wapuu@wordpress.example', 'https://wordpress.org/', '', '2016-11-23 14:16:53', '2016-11-23 14:16:53', 'Hi, this is a comment.\nTo get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.\nCommenter avatars come from Gravatar.', 0, '1', '', '', 0, 0); -DROP TABLE IF EXISTS `wp_links`; -CREATE TABLE `wp_links` ( +DROP TABLE IF EXISTS `mp_links`; +CREATE TABLE `mp_links` ( `link_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `link_url` varchar(255) NOT NULL DEFAULT '', `link_name` varchar(255) NOT NULL DEFAULT '', @@ -67,8 +67,8 @@ CREATE TABLE `wp_links` ( SET NAMES utf8mb4; -DROP TABLE IF EXISTS `wp_mailpoet_custom_fields`; -CREATE TABLE `wp_mailpoet_custom_fields` ( +DROP TABLE IF EXISTS `mp_mailpoet_custom_fields`; +CREATE TABLE `mp_mailpoet_custom_fields` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(90) COLLATE utf8mb4_unicode_520_ci NOT NULL, `type` varchar(90) COLLATE utf8mb4_unicode_520_ci NOT NULL, @@ -80,14 +80,14 @@ CREATE TABLE `wp_mailpoet_custom_fields` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -DROP TABLE IF EXISTS `wp_mailpoet_dummytable`; -CREATE TABLE `wp_mailpoet_dummytable` ( +DROP TABLE IF EXISTS `mp_mailpoet_dummytable`; +CREATE TABLE `mp_mailpoet_dummytable` ( `dummycol` text ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -DROP TABLE IF EXISTS `wp_mailpoet_forms`; -CREATE TABLE `wp_mailpoet_forms` ( +DROP TABLE IF EXISTS `mp_mailpoet_forms`; +CREATE TABLE `mp_mailpoet_forms` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(90) COLLATE utf8mb4_unicode_520_ci NOT NULL, `body` longtext COLLATE utf8mb4_unicode_520_ci, @@ -99,11 +99,11 @@ CREATE TABLE `wp_mailpoet_forms` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -INSERT INTO `wp_mailpoet_forms` (`id`, `name`, `body`, `settings`, `styles`, `created_at`, `updated_at`, `deleted_at`) VALUES +INSERT INTO `mp_mailpoet_forms` (`id`, `name`, `body`, `settings`, `styles`, `created_at`, `updated_at`, `deleted_at`) VALUES (1, 'Test Form', 'a:2:{i:0;a:7:{s:4:\"type\";s:4:\"text\";s:4:\"name\";s:5:\"Email\";s:2:\"id\";s:5:\"email\";s:6:\"unique\";s:1:\"0\";s:6:\"static\";s:1:\"1\";s:6:\"params\";a:2:{s:5:\"label\";s:5:\"Email\";s:8:\"required\";s:4:\"true\";}s:8:\"position\";s:1:\"1\";}i:1;a:7:{s:4:\"type\";s:6:\"submit\";s:4:\"name\";s:6:\"Submit\";s:2:\"id\";s:6:\"submit\";s:6:\"unique\";s:1:\"0\";s:6:\"static\";s:1:\"1\";s:6:\"params\";a:1:{s:5:\"label\";s:10:\"Subscribe!\";}s:8:\"position\";s:1:\"2\";}}', 'a:5:{s:8:\"segments\";a:1:{i:0;s:1:\"2\";}s:10:\"on_success\";s:7:\"message\";s:15:\"success_message\";s:61:\"Check your inbox or spam folder to confirm your subscription.\";s:12:\"success_page\";s:1:\"4\";s:20:\"segments_selected_by\";s:5:\"admin\";}', '/* form */\n.mailpoet_form {\n\n}\n\n/* paragraphs (label + input) */\n.mailpoet_paragraph {\n line-height:20px;\n}\n\n/* labels */\n.mailpoet_segment_label,\n.mailpoet_text_label,\n.mailpoet_textarea_label,\n.mailpoet_select_label,\n.mailpoet_radio_label,\n.mailpoet_checkbox_label,\n.mailpoet_list_label,\n.mailpoet_date_label {\n display:block;\n font-weight:bold;\n}\n\n/* inputs */\n.mailpoet_text,\n.mailpoet_textarea,\n.mailpoet_select,\n.mailpoet_date_month,\n.mailpoet_date_day,\n.mailpoet_date_year,\n.mailpoet_date {\n display:block;\n}\n\n.mailpoet_text,\n.mailpoet_textarea {\n width:200px;\n}\n\n.mailpoet_checkbox {\n}\n\n.mailpoet_submit input {\n}\n\n.mailpoet_divider {\n}\n\n.mailpoet_message {\n}\n\n.mailpoet_validate_success {\n color:#468847;\n}\n\n.mailpoet_validate_error {\n color:#B94A48;\n}', '2017-10-30 00:58:40', '2017-10-30 00:58:50', NULL); -DROP TABLE IF EXISTS `wp_mailpoet_mapping_to_external_entities`; -CREATE TABLE `wp_mailpoet_mapping_to_external_entities` ( +DROP TABLE IF EXISTS `mp_mailpoet_mapping_to_external_entities`; +CREATE TABLE `mp_mailpoet_mapping_to_external_entities` ( `old_id` int(11) unsigned NOT NULL, `type` varchar(50) COLLATE utf8mb4_unicode_520_ci NOT NULL, `new_id` int(11) unsigned NOT NULL, @@ -113,8 +113,8 @@ CREATE TABLE `wp_mailpoet_mapping_to_external_entities` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -DROP TABLE IF EXISTS `wp_mailpoet_newsletters`; -CREATE TABLE `wp_mailpoet_newsletters` ( +DROP TABLE IF EXISTS `mp_mailpoet_newsletters`; +CREATE TABLE `mp_mailpoet_newsletters` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `hash` varchar(150) COLLATE utf8mb4_unicode_520_ci DEFAULT NULL, `parent_id` int(11) unsigned DEFAULT NULL, @@ -134,13 +134,13 @@ CREATE TABLE `wp_mailpoet_newsletters` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -INSERT INTO `wp_mailpoet_newsletters` VALUES +INSERT INTO `mp_mailpoet_newsletters` VALUES (1,NULL,NULL,'Standard newsletter','standard','wp@example.com','test','draft','','','','','','2017-11-16 11:02:35',NULL,NULL), (2,NULL,NULL,'Welcome email','welcome','wp@example.com','test','draft','','','','','','2017-11-16 11:02:35',NULL,NULL), (3,NULL,NULL,'Post notification','notification','wp@example.com','test','draft','','','','','','2017-11-16 11:02:35',NULL,NULL); -DROP TABLE IF EXISTS `wp_mailpoet_newsletter_links`; -CREATE TABLE `wp_mailpoet_newsletter_links` ( +DROP TABLE IF EXISTS `mp_mailpoet_newsletter_links`; +CREATE TABLE `mp_mailpoet_newsletter_links` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `newsletter_id` int(11) unsigned NOT NULL, `queue_id` int(11) unsigned NOT NULL, @@ -152,8 +152,8 @@ CREATE TABLE `wp_mailpoet_newsletter_links` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -DROP TABLE IF EXISTS `wp_mailpoet_newsletter_option`; -CREATE TABLE `wp_mailpoet_newsletter_option` ( +DROP TABLE IF EXISTS `mp_mailpoet_newsletter_option`; +CREATE TABLE `mp_mailpoet_newsletter_option` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `newsletter_id` int(11) unsigned NOT NULL, `option_field_id` int(11) unsigned NOT NULL, @@ -165,8 +165,8 @@ CREATE TABLE `wp_mailpoet_newsletter_option` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -DROP TABLE IF EXISTS `wp_mailpoet_newsletter_option_fields`; -CREATE TABLE `wp_mailpoet_newsletter_option_fields` ( +DROP TABLE IF EXISTS `mp_mailpoet_newsletter_option_fields`; +CREATE TABLE `mp_mailpoet_newsletter_option_fields` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(90) COLLATE utf8mb4_unicode_520_ci NOT NULL, `newsletter_type` varchar(90) COLLATE utf8mb4_unicode_520_ci NOT NULL, @@ -176,7 +176,7 @@ CREATE TABLE `wp_mailpoet_newsletter_option_fields` ( UNIQUE KEY `name_newsletter_type` (`newsletter_type`,`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -INSERT INTO `wp_mailpoet_newsletter_option_fields` (`id`, `name`, `newsletter_type`, `created_at`, `updated_at`) VALUES +INSERT INTO `mp_mailpoet_newsletter_option_fields` (`id`, `name`, `newsletter_type`, `created_at`, `updated_at`) VALUES (1, 'isScheduled', 'standard', NULL, '2017-10-30 00:57:38'), (2, 'scheduledAt', 'standard', NULL, '2017-10-30 00:57:38'), (3, 'event', 'welcome', NULL, '2017-10-30 00:57:38'), @@ -191,8 +191,8 @@ INSERT INTO `wp_mailpoet_newsletter_option_fields` (`id`, `name`, `newsletter_ty (12, 'nthWeekDay', 'notification', NULL, '2017-10-30 00:57:38'), (13, 'schedule', 'notification', NULL, '2017-10-30 00:57:38'); -DROP TABLE IF EXISTS `wp_mailpoet_newsletter_posts`; -CREATE TABLE `wp_mailpoet_newsletter_posts` ( +DROP TABLE IF EXISTS `mp_mailpoet_newsletter_posts`; +CREATE TABLE `mp_mailpoet_newsletter_posts` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `newsletter_id` int(11) unsigned NOT NULL, `post_id` int(11) unsigned NOT NULL, @@ -202,8 +202,8 @@ CREATE TABLE `wp_mailpoet_newsletter_posts` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -DROP TABLE IF EXISTS `wp_mailpoet_newsletter_segment`; -CREATE TABLE `wp_mailpoet_newsletter_segment` ( +DROP TABLE IF EXISTS `mp_mailpoet_newsletter_segment`; +CREATE TABLE `mp_mailpoet_newsletter_segment` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `newsletter_id` int(11) unsigned NOT NULL, `segment_id` int(11) unsigned NOT NULL, @@ -214,8 +214,8 @@ CREATE TABLE `wp_mailpoet_newsletter_segment` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -DROP TABLE IF EXISTS `wp_mailpoet_newsletter_templates`; -CREATE TABLE `wp_mailpoet_newsletter_templates` ( +DROP TABLE IF EXISTS `mp_mailpoet_newsletter_templates`; +CREATE TABLE `mp_mailpoet_newsletter_templates` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(250) COLLATE utf8mb4_unicode_520_ci NOT NULL, `description` varchar(250) COLLATE utf8mb4_unicode_520_ci NOT NULL, @@ -227,35 +227,35 @@ CREATE TABLE `wp_mailpoet_newsletter_templates` ( PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; -INSERT INTO `wp_mailpoet_newsletter_templates` (`id`, `name`, `description`, `body`, `thumbnail`, `readonly`, `created_at`, `updated_at`) VALUES -(1, 'Newsletter: Blank 1 Column', 'A blank Newsletter template with a 1 column layout.', '{\"content\":{\"type\":\"container\",\"orientation\":\"vertical\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"container\",\"orientation\":\"horizontal\",\"styles\":{\"block\":{\"backgroundColor\":\"#f8f8f8\"}},\"blocks\":[{\"type\":\"container\",\"orientation\":\"vertical\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"header\",\"text\":\"Display problems? Open this email in your web browser.<\\/a>\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"},\"text\":{\"fontColor\":\"#222222\",\"fontFamily\":\"Arial\",\"fontSize\":\"12px\",\"textAlign\":\"center\"},\"link\":{\"fontColor\":\"#6cb7d4\",\"textDecoration\":\"underline\"}}}]}]},{\"type\":\"container\",\"orientation\":\"horizontal\",\"styles\":{\"block\":{\"backgroundColor\":\"#ffffff\"}},\"blocks\":[{\"type\":\"container\",\"orientation\":\"vertical\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"spacer\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\",\"height\":\"30px\"}}},{\"type\":\"image\",\"link\":\"\",\"src\":\"http:\\/\\/phoenix.dev\\/wp-content\\/plugins\\/phoenix\\/assets\\/img\\/blank_templates\\/fake-logo.png\",\"alt\":\"Fake logo\",\"fullWidth\":false,\"width\":\"598px\",\"height\":\"71px\",\"styles\":{\"block\":{\"textAlign\":\"center\"}}},{\"type\":\"text\",\"text\":\"

Let\'s Get Started! <\\/strong><\\/h1>\\n

 <\\/p>\\n

It\'s time to design your newsletter! In the right sidebar, you\'ll find 4 menu items that will help you customize your newsletter:<\\/p>\\n

    \\n
  1. Content<\\/li>\\n
  2. Columns<\\/li>\\n
  3. Styles<\\/li>\\n
  4. Preview<\\/li>\\n<\\/ol>\"}]}]},{\"type\":\"container\",\"orientation\":\"horizontal\",\"styles\":{\"block\":{\"backgroundColor\":\"#f8f8f8\"}},\"blocks\":[{\"type\":\"container\",\"orientation\":\"vertical\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"divider\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\",\"padding\":\"24.5px\",\"borderStyle\":\"solid\",\"borderWidth\":\"3px\",\"borderColor\":\"#aaaaaa\"}}},{\"type\":\"social\",\"iconSet\":\"grey\",\"icons\":[{\"type\":\"socialIcon\",\"iconType\":\"facebook\",\"link\":\"http:\\/\\/www.facebook.com\",\"image\":\"http:\\/\\/phoenix.dev\\/wp-content\\/plugins\\/phoenix\\/assets\\/img\\/newsletter_editor\\/social-icons\\/02-grey\\/Facebook.png\",\"height\":\"32px\",\"width\":\"32px\",\"text\":\"Facebook\"},{\"type\":\"socialIcon\",\"iconType\":\"twitter\",\"link\":\"http:\\/\\/www.twitter.com\",\"image\":\"http:\\/\\/phoenix.dev\\/wp-content\\/plugins\\/phoenix\\/assets\\/img\\/newsletter_editor\\/social-icons\\/02-grey\\/Twitter.png\",\"height\":\"32px\",\"width\":\"32px\",\"text\":\"Twitter\"}]},{\"type\":\"divider\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\",\"padding\":\"7.5px\",\"borderStyle\":\"solid\",\"borderWidth\":\"3px\",\"borderColor\":\"#aaaaaa\"}}},{\"type\":\"footer\",\"text\":\"

    Unsubscribe<\\/a> | Manage your subscription<\\/a>
    Add your postal address here!<\\/p>\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"},\"text\":{\"fontColor\":\"#222222\",\"fontFamily\":\"Arial\",\"fontSize\":\"12px\",\"textAlign\":\"center\"},\"link\":{\"fontColor\":\"#6cb7d4\",\"textDecoration\":\"none\"}}}]}]}]},\"globalStyles\":{\"text\":{\"fontColor\":\"#000000\",\"fontFamily\":\"Arial\",\"fontSize\":\"16px\"},\"h1\":{\"fontColor\":\"#111111\",\"fontFamily\":\"Trebuchet MS\",\"fontSize\":\"30px\"},\"h2\":{\"fontColor\":\"#222222\",\"fontFamily\":\"Trebuchet MS\",\"fontSize\":\"24px\"},\"h3\":{\"fontColor\":\"#333333\",\"fontFamily\":\"Trebuchet MS\",\"fontSize\":\"22px\"},\"link\":{\"fontColor\":\"#21759B\",\"textDecoration\":\"underline\"},\"wrapper\":{\"backgroundColor\":\"#ffffff\"},\"body\":{\"backgroundColor\":\"#eeeeee\"}}}', 'https://ps.w.org/mailpoet/assets/newsletter-templates/newsletter-blank-1-column/screenshot.jpg', 1, NULL, '2017-10-30 00:57:38'), -(2, 'Newsletter: Blank 1:2 Column', 'A blank Newsletter template with a 1:2 column layout.', '{\"content\":{\"type\":\"container\",\"orientation\":\"vertical\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"container\",\"orientation\":\"horizontal\",\"styles\":{\"block\":{\"backgroundColor\":\"#f8f8f8\"}},\"blocks\":[{\"type\":\"container\",\"orientation\":\"vertical\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"header\",\"text\":\"Display problems?
    Open this email in your web browser.<\\/a>\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"},\"text\":{\"fontColor\":\"#222222\",\"fontFamily\":\"Arial\",\"fontSize\":\"12px\",\"textAlign\":\"center\"},\"link\":{\"fontColor\":\"#6cb7d4\",\"textDecoration\":\"underline\"}}}]}]},{\"type\":\"container\",\"orientation\":\"horizontal\",\"styles\":{\"block\":{\"backgroundColor\":\"#ffffff\"}},\"blocks\":[{\"type\":\"container\",\"orientation\":\"vertical\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"spacer\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\",\"height\":\"30px\"}}},{\"type\":\"image\",\"link\":\"\",\"src\":\"http:\\/\\/phoenix.dev\\/wp-content\\/plugins\\/phoenix\\/assets\\/img\\/blank_templates\\/fake-logo.png\",\"alt\":\"Fake Logo\",\"fullWidth\":false,\"width\":\"598px\",\"height\":\"71px\",\"styles\":{\"block\":{\"textAlign\":\"center\"}}},{\"type\":\"text\",\"text\":\"

    Let\'s Get Started!<\\/strong><\\/h1>\\n

     <\\/p>\\n

    It\'s time to design your newsletter! In the right sidebar, you\'ll find 4 menu items that will help you customize your newsletter:<\\/p>\\n

      \\n
    1. Content<\\/li>\\n
    2. Columns<\\/li>\\n
    3. Styles<\\/li>\\n
    4. Preview<\\/li>\\n<\\/ol>\"},{\"type\":\"divider\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\",\"padding\":\"13px\",\"borderStyle\":\"dotted\",\"borderWidth\":\"3px\",\"borderColor\":\"#aaaaaa\"}}}]}]},{\"type\":\"container\",\"orientation\":\"horizontal\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"container\",\"orientation\":\"vertical\",\"styles\":{\"block\":{\"backgroundColor\":\"transparent\"}},\"blocks\":[{\"type\":\"text\",\"text\":\"

      This template has...<\\/h2>\"},{\"type\":\"text\",\"text\":\"

      In the right sidebar, you can add these layout blocks to your email:<\\/p>\\n