From e979e45fdb5c4cf2d6843d90c648e4e94e330cf4 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 24 Aug 2021 10:50:19 +0100 Subject: [PATCH] Linked up divider toggle button in email-cta card toolbar refs https://github.com/TryGhost/Team/issues/1007 - replaced `hasTopDivider` and `hasBottomDivider` and associated payload properties for a single `showDividers` payload property - removed divider toggles from non-edit mode card toolbar - linked edit-mode toolbar divider to a toggle dividers action --- .../components/koenig-card-email-cta.hbs | 12 ++++---- .../addon/components/koenig-card-email-cta.js | 30 ++----------------- 2 files changed, 9 insertions(+), 33 deletions(-) diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-email-cta.hbs b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-email-cta.hbs index 5b160c8239..22dec78359 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-email-cta.hbs +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-email-cta.hbs @@ -44,7 +44,7 @@
{{capitalize this.selectedSegment.name}}
{{{this.formattedHtml}}}