Skip to main content
Version: 57.2.0

Markdown editor field

A side-by-side markdown editor with a text input on the left and a live preview on the right. Useful for editing rich text content in admin panels and forms.

Package: @terreno/ui
Categories: Data Entry
Props interface: TextAreaProps
Story source: demo/stories/Markdowneditorfield.stories.tsx

Live demo

Props

PropTypeRequiredDescription
onChangeOnChangeCallbackYes
aiSuggestionAiSuggestionProps
autoCompleteunion
blurOnSubmitboolean
disabledboolean
errorTextstring
growboolean
helperTextstring
iconNameIconName
idstring
inputRefreflection
onBlurOnChangeCallback
onEnterreflection
onFocusreflection
onIconClickreflection
onSubmitEditingreflection
placeholderstring
returnKeyTypeunion
rowsnumber
testIDstringRoot test id for the primary interactive element or container.
testIDsFieldTestIDs
titlestring
trimOnBlurboolean
valuestring