Skip to content

Commit 4700590

Browse files
authored
fix(editor): stop highlighting start.input as blue when block is not connected to starter (#4054)
1 parent 1189400 commit 4700590

File tree

2 files changed

+2
-2
lines changed
  • apps/sim
    • app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components
    • lib/workflows/sanitization

2 files changed

+2
-2
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/formatted-text.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface HighlightContext {
99
highlightAll?: boolean
1010
}
1111

12-
const SYSTEM_PREFIXES = new Set(['start', 'loop', 'parallel', 'variable'])
12+
const SYSTEM_PREFIXES = new Set(['loop', 'parallel', 'variable'])
1313

1414
/**
1515
* Formats text by highlighting block references (<...>) and environment variables ({{...}})

apps/sim/lib/workflows/sanitization/references.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { normalizeName, REFERENCE } from '@/executor/constants'
22

3-
export const SYSTEM_REFERENCE_PREFIXES = new Set(['start', 'loop', 'parallel', 'variable'])
3+
export const SYSTEM_REFERENCE_PREFIXES = new Set(['loop', 'parallel', 'variable'])
44

55
const INVALID_REFERENCE_CHARS = /[+*/=<>!]/
66

0 commit comments

Comments
 (0)