MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / buildExtensions

Function buildExtensions

packages/agentflow/src/atoms/RichTextEditor.tsx:58–63  ·  view source on GitHub ↗
(placeholder?: string, useMarkdown = true)

Source from the content-addressed store, hash-verified

56/* ── TipTap extensions (no mention/variable support — that belongs in features/) ── */
57
58const buildExtensions = (placeholder?: string, useMarkdown = true) => [
59 ...(useMarkdown ? [Markdown] : []),
60 StarterKit.configure({ codeBlock: false, ...(!useMarkdown && { link: false }) }),
61 CodeBlockLowlight.configure({ lowlight, enableTabIndentation: true, tabSize: 2 }),
62 ...(placeholder ? [Placeholder.configure({ placeholder })] : [])
63]
64
65/* ── Styled wrapper ── */
66

Callers 1

RichTextEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected