Editor
Boki's article editor — formatting, collaboration, and AI assistance
Editor
Boki's editor is where you write. It supports rich text, markdown, MDX, real-time collaboration, and inline AI assistance.
Editor features
Rich text editing
- Headings (H1-H6)
- Bold, italic, underline
- Bulleted and numbered lists
- Blockquotes
- Code blocks with syntax highlighting (supports JavaScript, Python, TypeScript, YAML, and more)
- Tables
- Images
- Links
Heading outline sidebar
The editor includes a heading outline sidebar that shows your document structure at a glance:
- See all headings in your article as a navigable outline
- Click any heading to jump to that section
- Toggle the outline sidebar on or off from the editor toolbar
- Useful for navigating long articles and checking document structure
Markdown support
Write in markdown syntax. The editor renders it in real-time.
Common markdown:
# Headingfor headings**bold**for bold*italic*for italic- itemfor lists`code`for inline code```languagefor code blocks
MDX support
MDX lets you include React components in your content. Use components from the Components library or write custom JSX.
Real-time collaboration
Multiple people can edit the same article simultaneously:
- See cursors showing who's where
- Changes sync in real-time
- No conflicts — everyone sees the same document
Version history
Every change is saved with full history:
- Click History in the editor toolbar
- See a list of versions with timestamps
- Click a version to see what changed:
- Diff view: Line-by-line additions and removals are highlighted
- Preview toggle: Switch to see the full version content
- Click Restore to revert to that version
Restoring versions safely
When you restore an earlier version, Boki preserves any unsaved changes as a separate version. This means you can restore confidently — your current work is not lost, and you can return to it if needed.
If history fails to load
If version history fails to load (network error, etc.), you'll see a retry option. Click it to attempt loading again.
Comments
Leave comments for collaborators on articles, briefs, and plans.
Adding a comment
- Highlight text
- Click the comment icon
- Type your note
- Click Post
Comments appear in the sidebar. Resolve them when addressed.
Quoted-text anchoring
Comments can anchor to specific quoted text in the content. When you highlight text before commenting, the comment stays tied to those exact words. This keeps feedback precisely where it belongs, even as the document changes around it.
Comments across content types
Inline comments work on:
- Articles: Comment on article body text
- Briefs: Comment on brief descriptions and content
- Plans: Comment on plan details
The same commenting workflow applies everywhere — highlight, comment, resolve.
Comments via MCP
Comments are also exposed through MCP tools, so external AI assistants and automation workflows can participate in your review process. See MCP tokens reference for the available comment tools.
Ask Boki inline
Access AI assistance while writing:
- Highlight text (50+ words for reviews)
- Click the sparkle that appears
- Choose an action:
- Ask a question
- Technical review
- Marketer review
- LLM visibility (beta)
See Ask Boki in editor for details.
Keyboard shortcuts
| Action | Windows/Linux | Mac |
|---|---|---|
| Bold | Ctrl+B | Cmd+B |
| Italic | Ctrl+I | Cmd+I |
| Heading 1 | Ctrl+Alt+1 | Cmd+Opt+1 |
| Heading 2 | Ctrl+Alt+2 | Cmd+Opt+2 |
| Code block | Ctrl+Shift+C | Cmd+Shift+C |
| Save | Ctrl+S | Cmd+S |
| Undo | Ctrl+Z | Cmd+Z |
| Redo | Ctrl+Shift+Z | Cmd+Shift+Z |
Word count
The editor displays:
- Current word count
- Target word count (from brief)
- Progress toward target
Autosave
Changes save automatically. The editor shows your save status:
| Status | Meaning |
|---|---|
| Saving | Changes are being saved |
| Pending | Changes are queued to save |
| Last saved [time] | All changes are synced, with the timestamp of the last save |
The autosave status helps you know when it's safe to close the editor or share your work.
Protection during editing
The editor protects your unsaved changes across autosave, page refresh, collaboration, and version restore. If you have unsaved changes when attempting an action that would discard them (like refreshing with newer edits pending), you'll be warned before proceeding.
Related
- Articles — Managing articles
- Components — MDX components
- Ask Boki in editor — Inline AI assistance