Commit e507d6bd302 for woocommerce

commit e507d6bd302369c94bde59884fea80c3042d0386
Author: Bruna <bruna.filippozzi@automattic.com>
Date:   Thu Apr 9 17:46:55 2026 +0200

    Fix button border-radius mismatch in email editor (#64060)

    * Fix button border-radius mismatch in email editor

    WordPress core theme.json sets button border-radius to 9999px, but
    the email editor renderer outputs no border-radius (effectively 0).
    This adds an explicit 0px override in the email editor Engine
    theme.json so the editor preview matches the rendered output for
    all consumers (MailPoet, WooCommerce transactional emails, etc.).

    STOMAIL-7312


    * Add changelog entry for button border-radius fix


    ---------

    Co-authored-by: Bruna <bruberries@MacBook-Pro-9.local>

diff --git a/packages/php/email-editor/changelog/fix-email-editor-button-border-radius b/packages/php/email-editor/changelog/fix-email-editor-button-border-radius
new file mode 100644
index 00000000000..925c89392a7
--- /dev/null
+++ b/packages/php/email-editor/changelog/fix-email-editor-button-border-radius
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Fix button border-radius mismatch between email editor preview and rendered output.
diff --git a/packages/php/email-editor/src/Engine/theme.json b/packages/php/email-editor/src/Engine/theme.json
index d5f139fca47..e9c6e3f12cf 100644
--- a/packages/php/email-editor/src/Engine/theme.json
+++ b/packages/php/email-editor/src/Engine/theme.json
@@ -259,6 +259,11 @@
       }
     },
     "elements": {
+      "button": {
+        "border": {
+          "radius": "0px"
+        }
+      },
       "heading": {
         "typography": {
           "fontWeight": "700",