Skip to Content
EnComponentsForm & LayoutRich Text Editor

RichTextEditor

The RichTextEditor component allows users to edit content in Markdown format.

Playground

Props

Props

PropTypeDefaultDescription
classNamestring-Additional CSS classes.
colorThemeColor'black'Sets the accent color.
defaultValuestring-Initial markdown content.
disabledbooleanfalseDisables editing (read-only mode).
fixedSizebooleanfalseDisables vertical resizing.
focusedbooleanfalseApplies focused style.
hoveredbooleanfalseApplies hovered style.
loadingbooleanfalseShows loading state.
onChange(val) => void-Callback when content changes.
placeholderstring-Placeholder text.
readOnlybooleanfalseRenders content in viewer mode.
sizeThemeSize-Sets the size of the editor.
valuestring''Controlled markdown content.
Last updated on