Package: luthorType: guideSurface: preset
@lyfie/luthor Overview
@lyfie/luthor ships preset editors on top of the headless runtime.
What this page answers
- What does the preset package export?
- When should I choose presets?
Use this package when
- You need a production UI fast.
- You want source modes, toolbar, and feature gates prewired.
- You still need override hooks through props.
Key exports
- Preset components:
ExtensiveEditor, ComposeEditor, SimpleEditor, LegacyRichEditor, MarkDownEditor, HTMLEditor, SlashEditor, HeadlessEditorPreset
- Registry and factories:
presetRegistry, createExtensivePreset, createExtensiveExtensions
- Shared command layer:
generateCommands, registerKeyboardShortcuts