From 11bfa73d7ad43b2922cb337143fcdba817b31528 Mon Sep 17 00:00:00 2001 From: Miguel Lezama Date: Thu, 22 Aug 2024 17:32:38 -0300 Subject: [PATCH] Newsletter Preview: Make the preview not clickable. (#39035) --- .../plugins/jetpack/changelog/update-preview-email-no-clicks | 4 ++++ .../jetpack/extensions/blocks/subscriptions/email-preview.js | 1 + 2 files changed, 5 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/update-preview-email-no-clicks diff --git a/projects/plugins/jetpack/changelog/update-preview-email-no-clicks b/projects/plugins/jetpack/changelog/update-preview-email-no-clicks new file mode 100644 index 0000000000000..638a997147032 --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-preview-email-no-clicks @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +feature flagged diff --git a/projects/plugins/jetpack/extensions/blocks/subscriptions/email-preview.js b/projects/plugins/jetpack/extensions/blocks/subscriptions/email-preview.js index 2133be12e74dc..6c12b9d6f7abd 100644 --- a/projects/plugins/jetpack/extensions/blocks/subscriptions/email-preview.js +++ b/projects/plugins/jetpack/extensions/blocks/subscriptions/email-preview.js @@ -332,6 +332,7 @@ export function NewsletterPreviewModal( { isOpen, onClose, postId } ) { height: '100%', border: 'none', transition: 'width 0.3s ease-in-out', + pointerEvents: 'none', } } title={ __( 'Email Preview', 'jetpack' ) } />