Open History to see the last commit
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} />;
17}