From d670a940c86d5dfe460edea203db5d17e60c67df Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 31 Mar 2026 13:48:38 +0000 Subject: [PATCH 1/8] feat(docs): add Editor tab with experimental tag and all editor pages - Convert navigation from anchors to tabs (Documentation + Editor) - Add all 24 editor doc pages to the Editor tab, organized into: - Overview (overview, getting-started) - Features (bubble-menu, slash-commands, theming, styling, buttons, column-layouts, link-editing, email-export) - Advanced (extensions, event-bus, custom-extensions) - API Reference (use-editor, compose-react-email, email-node, email-mark, extensions-list, theming-api, UI components) - Mark the Editor tab with a flask icon and 'Experimental' tag - Keep global anchors (Components, Templates, GitHub) unchanged Co-authored-by: Gabriel Miranda --- apps/docs/docs.json | 61 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 2 deletions(-) diff --git a/apps/docs/docs.json b/apps/docs/docs.json index adb6f5849e..fca12a1384 100644 --- a/apps/docs/docs.json +++ b/apps/docs/docs.json @@ -12,9 +12,9 @@ }, "favicon": "/favicon.png", "navigation": { - "anchors": [ + "tabs": [ { - "anchor": "Documentation", + "tab": "Documentation", "icon": "book-open", "groups": [ { @@ -124,6 +124,63 @@ ] } ] + }, + { + "tab": "Editor", + "icon": "flask", + "tag": "Experimental", + "groups": [ + { + "group": "Overview", + "pages": [ + "editor/overview", + "editor/getting-started" + ] + }, + { + "group": "Features", + "pages": [ + "editor/features/bubble-menu", + "editor/features/slash-commands", + "editor/features/theming", + "editor/features/styling", + "editor/features/buttons", + "editor/features/column-layouts", + "editor/features/link-editing", + "editor/features/email-export" + ] + }, + { + "group": "Advanced", + "pages": [ + "editor/advanced/extensions", + "editor/advanced/event-bus", + "editor/advanced/custom-extensions" + ] + }, + { + "group": "API Reference", + "pages": [ + "editor/api-reference/use-editor", + "editor/api-reference/compose-react-email", + "editor/api-reference/email-node", + "editor/api-reference/email-mark", + "editor/api-reference/extensions-list", + "editor/api-reference/theming-api", + { + "group": "UI Components", + "icon": "window", + "pages": [ + "editor/api-reference/ui/bubble-menu", + "editor/api-reference/ui/link-bubble-menu", + "editor/api-reference/ui/button-bubble-menu", + "editor/api-reference/ui/image-bubble-menu", + "editor/api-reference/ui/slash-command" + ] + } + ] + } + ] } ], "global": { From 67877776dbca41fa6ebe06c225cd87ac3095f6d0 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 31 Mar 2026 13:53:47 +0000 Subject: [PATCH 2/8] style(docs): fix biome formatting in docs.json Co-authored-by: Gabriel Miranda --- apps/docs/docs.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/docs/docs.json b/apps/docs/docs.json index fca12a1384..cf90ec64af 100644 --- a/apps/docs/docs.json +++ b/apps/docs/docs.json @@ -132,10 +132,7 @@ "groups": [ { "group": "Overview", - "pages": [ - "editor/overview", - "editor/getting-started" - ] + "pages": ["editor/overview", "editor/getting-started"] }, { "group": "Features", From bead7d9f0633138125b432da6571ea4bff9a6b36 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 31 Mar 2026 13:57:58 +0000 Subject: [PATCH 3/8] feat(docs): match PR #3067 layout - willow theme, tabs for Components/Templates/Editor - Switch theme from 'mint' to 'willow' to match PR #3067 - Move Components and Templates from global anchors to top-level tabs with external hrefs - Remove global anchors section (GitHub link already in navbar) - Editor tab now sits alongside Components and Templates in the top bar - Editor tab retains flask icon and Experimental tag with all editor pages Co-authored-by: Gabriel Miranda --- apps/docs/docs.json | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/apps/docs/docs.json b/apps/docs/docs.json index cf90ec64af..281efe3adb 100644 --- a/apps/docs/docs.json +++ b/apps/docs/docs.json @@ -1,6 +1,6 @@ { "$schema": "https://mintlify.com/docs.json", - "theme": "mint", + "theme": "willow", "name": "React Email", "colors": { "primary": "#06BCEE", @@ -125,6 +125,16 @@ } ] }, + { + "tab": "Components", + "href": "https://react.email/components", + "icon": "grid-2-plus" + }, + { + "tab": "Templates", + "href": "https://demo.react.email/preview/notifications/vercel-invite-user", + "icon": "arrow-pointer" + }, { "tab": "Editor", "icon": "flask", @@ -179,26 +189,7 @@ } ] } - ], - "global": { - "anchors": [ - { - "anchor": "Components", - "href": "https://react.email/components", - "icon": "grid-2-plus" - }, - { - "anchor": "Templates", - "href": "https://demo.react.email/preview/notifications/vercel-invite-user", - "icon": "arrow-pointer" - }, - { - "anchor": "GitHub", - "href": "https://github.com/resend/react-email", - "icon": "github" - } - ] - } + ] }, "logo": { "light": "/logo/light.svg", From 1591c57c0933efc229ddd170f3a7be932a67871e Mon Sep 17 00:00:00 2001 From: gabriel miranda Date: Tue, 31 Mar 2026 11:35:00 -0300 Subject: [PATCH 4/8] docs(editor): use valid Font Awesome icon for useEditor sidebar Made-with: Cursor --- apps/docs/editor/api-reference/use-editor.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/editor/api-reference/use-editor.mdx b/apps/docs/editor/api-reference/use-editor.mdx index 3b015c91ce..50820107d4 100644 --- a/apps/docs/editor/api-reference/use-editor.mdx +++ b/apps/docs/editor/api-reference/use-editor.mdx @@ -2,7 +2,7 @@ title: "useEditor" sidebarTitle: "useEditor" description: "Hook for creating and managing an editor instance." -icon: "hook" +icon: "code" --- ## Import From 97170bfff182fd572d5641ee54bc6204c2db01e3 Mon Sep 17 00:00:00 2001 From: gabriel miranda Date: Tue, 31 Mar 2026 11:35:01 -0300 Subject: [PATCH 5/8] docs(editor): install @react-email/editor from experimental dist-tag Made-with: Cursor --- apps/docs/snippets/editor-install.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/docs/snippets/editor-install.mdx b/apps/docs/snippets/editor-install.mdx index b549b90a19..3208f3728d 100644 --- a/apps/docs/snippets/editor-install.mdx +++ b/apps/docs/snippets/editor-install.mdx @@ -1,19 +1,19 @@ ```sh npm -npm install @react-email/editor @tiptap/react @radix-ui/react-popover +npm install @react-email/editor@experimental @tiptap/react @radix-ui/react-popover ``` ```sh yarn -yarn add @react-email/editor @tiptap/react @radix-ui/react-popover +yarn add @react-email/editor@experimental @tiptap/react @radix-ui/react-popover ``` ```sh pnpm -pnpm add @react-email/editor @tiptap/react @radix-ui/react-popover +pnpm add @react-email/editor@experimental @tiptap/react @radix-ui/react-popover ``` ```sh bun -bun add @react-email/editor @tiptap/react @radix-ui/react-popover +bun add @react-email/editor@experimental @tiptap/react @radix-ui/react-popover ``` From 044b16ad6c23ff8ce7c658d00cf09e7df2d59a1e Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 31 Mar 2026 15:39:08 +0000 Subject: [PATCH 6/8] fix(docs): switch theme from willow to almond Co-authored-by: Gabriel Miranda --- apps/docs/docs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/docs.json b/apps/docs/docs.json index 281efe3adb..313653ea2c 100644 --- a/apps/docs/docs.json +++ b/apps/docs/docs.json @@ -1,6 +1,6 @@ { "$schema": "https://mintlify.com/docs.json", - "theme": "willow", + "theme": "almond", "name": "React Email", "colors": { "primary": "#06BCEE", From 89f1f77c950487e40135991b23d2630b54322803 Mon Sep 17 00:00:00 2001 From: gabriel miranda Date: Tue, 31 Mar 2026 17:45:08 -0300 Subject: [PATCH 7/8] address comments --- apps/docs/docs.json | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/apps/docs/docs.json b/apps/docs/docs.json index 313653ea2c..4b4e19316c 100644 --- a/apps/docs/docs.json +++ b/apps/docs/docs.json @@ -14,7 +14,7 @@ "navigation": { "tabs": [ { - "tab": "Documentation", + "tab": "Primitives", "icon": "book-open", "groups": [ { @@ -125,16 +125,6 @@ } ] }, - { - "tab": "Components", - "href": "https://react.email/components", - "icon": "grid-2-plus" - }, - { - "tab": "Templates", - "href": "https://demo.react.email/preview/notifications/vercel-invite-user", - "icon": "arrow-pointer" - }, { "tab": "Editor", "icon": "flask", @@ -189,7 +179,21 @@ } ] } - ] + ], + "global": { + "anchors": [ + { + "anchor": "Components", + "href": "https://react.email/components", + "icon": "grid-2-plus" + }, + { + "anchor": "Templates", + "href": "https://demo.react.email/preview/notifications/vercel-invite-user", + "icon": "arrow-pointer" + } + ] + } }, "logo": { "light": "/logo/light.svg", From f24901b9bf4b9edcc31b2c2d9f32e0fdab2613ea Mon Sep 17 00:00:00 2001 From: gabriel miranda Date: Tue, 31 Mar 2026 17:51:13 -0300 Subject: [PATCH 8/8] update according to canary, new icon --- apps/docs/docs.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/docs/docs.json b/apps/docs/docs.json index 4b4e19316c..0d6c76fff2 100644 --- a/apps/docs/docs.json +++ b/apps/docs/docs.json @@ -15,7 +15,7 @@ "tabs": [ { "tab": "Primitives", - "icon": "book-open", + "icon": "cubes", "groups": [ { "group": "Overview", @@ -169,9 +169,6 @@ "icon": "window", "pages": [ "editor/api-reference/ui/bubble-menu", - "editor/api-reference/ui/link-bubble-menu", - "editor/api-reference/ui/button-bubble-menu", - "editor/api-reference/ui/image-bubble-menu", "editor/api-reference/ui/slash-command" ] }