You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(agentflow): add Rich Text editor for Content Editing (FLOWISE-342) (#5988)
* Add TipTap RichTextEditor atom for expandable content editing
Introduce a RichTextEditor atom wrapping TipTap with code block syntax
highlighting (lowlight). Update ExpandTextDialog to support a 'richtext'
mode and replace plain TextFields in MessagesInput with the new editor.
Lazy-load RichTextEditor via React.lazy + Suspense to keep the initial
bundle lean. Import only 4 highlight.js languages (js/json/py/ts)
instead of lowlight/common (~400KB savings).
FLOWISE-342
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix CI lockfile mismatch and use TipTap native autofocus
Remove stale @types/uuid from pnpm-lock.yaml to fix frozen-lockfile
CI failure. Replace setTimeout-based autofocus with TipTap's built-in
autofocus option for more reliable focus behavior.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix React warnings in MessagesInput and RichTextEditor
- Generate item keys synchronously to fix missing key prop warning
- Wrap IconVariable in span for MUI Tooltip ref forwarding
- Use :first-of-type/:last-of-type instead of :first-child/:last-child
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix syntax highlighting and block element spacing in RichTextEditor
Add CSS selectors for hljs classes so lowlight syntax colors are
actually applied. Fix block spacing by targeting only the first/last
child of the editor instead of first/last-of-type per element.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* address gemini review comment, fix css warning on ssr
* fix rich text editor lazy load flow
* address gemini review feedback
* address review feedback
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/agentflow/ARCHITECTURE.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ atoms/
42
42
- No API calls
43
43
- Stateless or minimal local state
44
44
- Imported by features, never the reverse
45
-
-**Forbidden**: Importing from `features/` or `infrastructure/` (except types from `core/types` for prop definitions)
45
+
-**Forbidden**: Importing from `features/` or `infrastructure/` (except types from `core/types` for prop definitions and design tokens from `core/theme`)
46
46
47
47
**Goal:** 100% visual consistency.
48
48
@@ -210,7 +210,7 @@ infrastructure/
210
210
211
211
-`features` → `atoms`, `infrastructure`, `core` ✅
212
212
-`infrastructure` → `core` ✅
213
-
-`atoms` → `core/types` only (for type definitions) ✅
213
+
-`atoms` → `core/types`and `core/theme`only (for type definitions and design tokens) ✅
214
214
-`core` → nothing (leaf node) ✅
215
215
-**Atoms and Core are "leaf" nodes** - they cannot import from `features/` or `infrastructure/`
0 commit comments