Basic Configuration
Configure the editor through theuseCedarEditor hook or ChatInput props:
Advanced Editor Configuration
Use theuseCedarEditor hook for fine-grained control:
Keyboard Shortcuts
Cedar editor comes with built-in keyboard shortcuts:Custom Shortcuts
The editor uses TipTap under the hood, so you can extend it with custom keyboard shortcuts by configuring the editor extensions directly.Styling and Themes
Customize the editor appearance:Editor Events
Handle various editor events:Content Validation
Content validation can be implemented using theuseCedarEditor hook:
Next Steps
- Learn about custom message rendering
- Explore agent input context

