Skip to content

Feature Request: Add button to switch to MD editor mode when viewing files #2

@apoapostolov

Description

@apoapostolov

Feature Request

When viewing any markdown file in the File Viewer, add a button to switch to Markdown Editor mode to make quick small changes directly.

Why this matters

When I spot a typo or small formatting issue, I need to:

  1. Click "Edit" button
  2. Wait for the editor to load
  3. Make my change
  4. Save

This works fine for larger edits, but for quick fixes (e.g., fixing a typo, adding a bullet, adjusting formatting), a direct "switch to edit mode" button would be much faster.

Proposed Solution

Add an "Edit" button (pencil icon) in the File Viewer toolbar (next to the existing File Info, Settings, etc. buttons).

When clicked:

  1. Immediately switch to Markdown Editor view
  2. Keep the current file selected
  3. Focus the editor at the current position

Alternatives considered

  • Keyboard shortcut (e.g., Ctrl+E) - Good, but requires discovering the shortcut
  • Edit from File Tree - Requires navigating back to the tree, then finding the file
  • Always show editor - Would take up too much screen space

The toolbar button seems like the best balance of discoverability and convenience.

Example workflow

Currently (for typo fix):

  1. Viewing file
  2. Click "Edit"
  3. Scroll down to find the typo
  4. Fix it
  5. Save

Proposed (with button):

  1. Viewing file
  2. Click "Edit" (in toolbar)
  3. Make the fix
  4. Save

Much faster workflow for small edits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions