Inline AI editing is available in visual mode only. Switch to visual mode using the toggle in the editor toolbar.
Start an AI editing session
There are four ways to start an AI editing session:- Space on an empty line: Press Space on an empty paragraph to open the AI prompt.
- Slash command: Type / and select Ask AI from the menu.
- Text toolbar: Select text, then click the sparkle icon in the floating toolbar to choose an AI action.
- Block menu: Click the drag handle next to any block and select Ask AI.
Skills
Ask AI
Type an instruction for the AI to follow. Use this for any edit that doesn’t fit a preset action, such as translating text, adding examples, or rewriting for a different audience. When you use the Ask AI skill on an empty paragraph, AI generates new content. When you use the Ask AI skill on existing content, AI edits the selected content based on your prompt.Improve writing
Select text and choose Improve writing from the text toolbar for the AI to refine grammar, clarity, and tone while preserving your meaning.Optimize structure
Select text and choose Optimize structure from the text toolbar for the AI to reorganize the selected content into a clearer structure using appropriate headings, lists, or other formatting.Review and apply changes
After you submit a prompt, AI streams its response directly into the editor. The editor highlights any insertions and deletions with diff marks so you can review the changes. When the AI finishes, the floating prompt bar shows a summary of the changes along with action buttons:- Apply : Accept the changes and save them to the document. You can also press Enter to apply.
- Undo : Revert the changes and restore the original content.
- Retry : Discard the current result and run the same prompt again.
Edit your prompt
The prompt input stays visible while the AI generates its response. Refine your instruction and resubmit if the result doesn’t match what you expected:- Click Undo to revert the current changes.
- Edit the prompt text in the input field.
- Press Enter or click the submit button to run the updated instruction.