Build a Basic Formatting Editor in React.
This variant focuses on shipping a functional toolbar + editable surface quickly.
1. Editable Area
- Render a typing area where users can enter rich text.
- Keep the editor usable without external libraries.
2. Toolbar Commands
- Bold
- Italic
- Underline
- Bullet list
3. Data Contract
interface EditorProps {
initialHtml?: string;
}