From 5caf40fdeb433c810749fbbcbfc71010100bcd38 Mon Sep 17 00:00:00 2001 From: David Montero Date: Fri, 29 May 2026 15:14:36 +0200 Subject: [PATCH] feat(editor-toolbar): Share / Embed menu item Fifth item in the overflow menu next to Sync to GitHub. Free for all users (no PRO badge); dispatches velxio-pro-share-prompt with the current project id so the overlay's ShareModal can render the direct link + iframe snippet copy UI. Co-Authored-By: Claude Opus 4.7 --- .../src/components/editor/EditorToolbar.tsx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/frontend/src/components/editor/EditorToolbar.tsx b/frontend/src/components/editor/EditorToolbar.tsx index f4db7108..76359cca 100644 --- a/frontend/src/components/editor/EditorToolbar.tsx +++ b/frontend/src/components/editor/EditorToolbar.tsx @@ -1454,6 +1454,29 @@ export const EditorToolbar = ({ {t('editor.toolbar.githubSyncLabel', 'Sync to GitHub')} PRO + {/* Share / Embed — free for all users with a public project. + Watermark removal on the embed is the Pro perk; the + Share modal itself is open to everyone so they can + copy the link / iframe snippet. */} + )}