Hooks and components for consuming remirror with your fave framework React.
Overall
score
36%
Evaluation — 36%
↑ 1.09xAgent success when using this tile
A React component that renders a controlled rich-text editor with dual content outputs, localization toggling, and theme-aware styling.
@generates
export interface LocalizedThemedEditorProps {
/** Starting HTML representation of the document */
initialHtml: string;
/** Starting structured representation of the document */
initialJson: object;
/** Current locale key */
locale: string;
/** Translation messages keyed by locale, then message key */
messages: Record<string, Record<string, string>>;
/** Visual theme configuration */
theme: {
colors?: Record<string, string>;
typography?: Record<string, string | number>;
};
/** Called whenever the HTML representation changes */
onHtmlChange(value: string): void;
/** Called whenever the structured representation changes */
onJsonChange(value: object): void;
/** Optional notification when locale changes within the component */
onLocaleChange?(nextLocale: string): void;
}
export function LocalizedThemedEditor(props: LocalizedThemedEditorProps): JSX.Element;Provides React bindings for controlled editor content, localization, and theming support.
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10