Editors
An editor is an interactive widget that pauses the AI workflow so you can review and refine a piece of content before the AI generates the final markup. Editors are specific to individual component types — a timeline, a gallery, a map, a formula — and give you direct, visual control over the data the AI has drafted.
How editors work
- You ask the AI to create or update a piece of content — “add a timeline of the Roman Empire”.
- The AI calls the corresponding editor tool with a pre-filled draft based on what it knows.
- The editor widget opens in your chat interface.
- You review and adjust the data — fix dates, reorder items, correct coordinates, tweak labels.
- You click Save in the widget.
- The finalized data is sent back to the AI, which then generates the component markup.
You are always in control. If the AI’s draft is already correct, you can save without changes. If it needs adjustment, you refine it directly in the widget — no need to describe corrections in text.
Available editors
| Editor | Tool | Use for |
|---|---|---|
| Text | edit_text | Short articles and narrative text blocks |
| Title | edit_title | Module title, subtitle, and abstract |
| Deck | edit_deck | Flashcard decks for active recall |
| Exercise | edit_exercise | Interactive exercises and assessments |
| Formula | edit_formula | Mathematical formulas in LaTeX |
| Gallery | edit_gallery | Image galleries in grid or slideshow layout |
| Location | edit_location | Maps with optional markers and overlays |
| Timeline | edit_timeline | Chronological event sequences |
Editor vs schema
Schemas orchestrate the whole artifact. Editors handle individual components within it — or standalone pieces you ask the AI to create outside a schema. The AI may invoke an editor automatically when assembling an artifact, or you can ask for a specific editor directly: “open the timeline editor”, “edit the gallery”.