Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ComposerPromptEditor.tsx

17 lines651 Bytes

1import { ComposerPromptEditorTiptap } from "./ComposerPromptEditorTiptap";
2import type { ComposerPromptEditorProps } from "./ComposerPromptEditorTiptap";
3​
4export type {
5 ComposerCitationCommentRequest,
6 ComposerPromptEditorHandle,
7 ComposerPromptEditorProps,
8} from "./ComposerPromptEditorTiptap";
9​
10/**
11 * The composer editor. Tiptap in both modes: the `richTextEnabled` setting
12 * toggles Markdown styling, never the engine. Plain mode renders every
13 * marker as a literal character and serializes byte-identically.
14 */
15export function ComposerPromptEditor(props: ComposerPromptEditorProps) {
16 return <ComposerPromptEditorTiptap {...props} />;