reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
RichTextEditor
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

RichTextEditor

Shell

Edit Markdown with a formatting toolbar and textarea.

editor
Related docs
bun add @reopt-ai/opt-ui
Install and import
bash
bun add @reopt-ai/opt-ui
tsx
import { RichTextEditor } from "@reopt-ai/opt-ui";

Live preview

Change the width and theme, then interact with the components.

100%

RichTextEditor

PropTypeDefaultDescription
valueRequiredstring—텍스트 값
onChangeRequired(value: string) => void—변경 콜백
placeholderstring"Write something…"플레이스홀더
toolbarToolbarAction[]["bold","italic","code","link","heading","list","quote"]툴바 액션 목록
classNamestring—커스텀 CSS 클래스
View test results

테스트 커버리지

2026년 7월 9일1/1 통과
1성공
0실패
1전체
  • textarea와 툴바를 렌더링한다

Related components

opt-ui

EditorToolbar

Shells

Build a rich-text editing toolbar from Toolbar and Tooltip components.

opt-ui

CodeSnippetViewer

Shells

Read and copy code snippets with line numbers, a focusable scroll region, and syntaxTheme styling.

opt-ui

SqlEditor

Shells

Edit SQL with CodeMirror syntax highlighting and autocomplete.

opt-ui

CodeDiffViewer

Shells

Compare code in unified or split views using an LCS diff and focusable scroll regions.

opt-ui

FaqAccordion

Shells

Organize FAQ questions and answers with Composite and Disclosure components.

opt-ui

PageAside

Shells

Add a sticky, fixed-width page aside with header, body, and footer slots.

PreviousKanbanBoardNextCodeDiffViewer