diff --git a/app/editor/components/CommandMenu.tsx b/app/editor/components/CommandMenu.tsx index af7881951..70b60f1df 100644 --- a/app/editor/components/CommandMenu.tsx +++ b/app/editor/components/CommandMenu.tsx @@ -427,7 +427,7 @@ class CommandMenu extends React.Component, State> { const embedItems: EmbedDescriptor[] = []; for (const embed of embeds) { - if (embed.title) { + if (embed.title && embed.visible !== false) { embedItems.push( new EmbedDescriptor({ ...embed, diff --git a/shared/editor/embeds/index.tsx b/shared/editor/embeds/index.tsx index 5b8b6472b..33c648230 100644 --- a/shared/editor/embeds/index.tsx +++ b/shared/editor/embeds/index.tsx @@ -353,6 +353,7 @@ const embeds: EmbedDescriptor[] = [ new EmbedDescriptor({ title: "Tldraw", keywords: "draw schematics diagrams", + visible: false, icon: () => Tldraw, component: Tldraw, }),