From 4940abcf820135fc0b061bc5b69c934375752d81 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 8 Apr 2026 12:45:31 -0700 Subject: [PATCH] fix(editor): stop highlighting start.input as blue when block is not connected to starter --- .../editor/components/sub-block/components/formatted-text.tsx | 2 +- apps/sim/lib/workflows/sanitization/references.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/formatted-text.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/formatted-text.tsx index 983cd6383e2..96270e17c36 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/formatted-text.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/formatted-text.tsx @@ -9,7 +9,7 @@ export interface HighlightContext { highlightAll?: boolean } -const SYSTEM_PREFIXES = new Set(['start', 'loop', 'parallel', 'variable']) +const SYSTEM_PREFIXES = new Set(['loop', 'parallel', 'variable']) /** * Formats text by highlighting block references (<...>) and environment variables ({{...}}) diff --git a/apps/sim/lib/workflows/sanitization/references.ts b/apps/sim/lib/workflows/sanitization/references.ts index 8f30762dfe1..ecc65f60f71 100644 --- a/apps/sim/lib/workflows/sanitization/references.ts +++ b/apps/sim/lib/workflows/sanitization/references.ts @@ -1,6 +1,6 @@ import { normalizeName, REFERENCE } from '@/executor/constants' -export const SYSTEM_REFERENCE_PREFIXES = new Set(['start', 'loop', 'parallel', 'variable']) +export const SYSTEM_REFERENCE_PREFIXES = new Set(['loop', 'parallel', 'variable']) const INVALID_REFERENCE_CHARS = /[+*/=<>!]/