Skip to main content

Editing Options

Raycaster Doc supports two editing modes depending on your file type:

Inline Text Editing

For Markdown and plaintext files, toggle the edit button in the document viewer to enter inline editing mode. Changes are staged in your workspace automatically as you type.
Inline editing is available when:
  • The file is Markdown or plaintext
  • You’re not viewing a historical version
  • A staging workspace is active (one is created automatically when you start editing from the committed view)

OnlyOffice Editing

For DOCX, XLSX, and PPTX files, Raycaster Doc integrates with OnlyOffice to provide a full office editing experience directly in your browser. Features include:
  • Rich text editing for Word documents
  • Spreadsheet editing with formulas and formatting
  • Presentation editing with slides and layouts
  • Real-time save back to your staging workspace
  • Commenting and annotation support
When you save in OnlyOffice, changes are automatically staged in your workspace — just like any other edit.

Replacing Files

For any file type, you can replace the source file entirely:
  1. Click the Replace button in the document header
  2. Upload the new version of the file
  3. The replacement is staged as a replace operation in your workspace
  4. The diff view shows the file as modified
This is useful when you’ve edited a document externally and want to update the version in your workspace.

AI-Assisted Editing

The AI chat agent can also create and modify files in your workspace. When the agent edits a file:
  1. Changes happen in an isolated sandbox
  2. Modified files are synced back to your staging workspace
  3. The diff view shows the changes with a replace badge
  4. You review and commit just like manual edits
See AI Chat for more on working with the agent.