Skip to content

Pressing Tab in the editor moves focus instead of inserting a tab character #18

@FarukErat

Description

@FarukErat

Hi! 👋

First of all, thanks for the great project.

I've noticed an issue when editing Markdown in the Edit section.
When I press the Tab key, instead of inserting a tab character (or spaces) into the text, the focus jumps to another component in the UI. Interestingly, I can type letters and other characters just fine, but the Tab key is not handled as expected.

This makes indentation difficult while writing code blocks or lists.

Environment:

  • Browser: Chrome 142.0.7444.135 (Official Build) (arm64)
  • Platform: macOS Tahoe 26.0.1

Expected behavior:
Pressing Tab inserts a tab character (or 2-4 spaces) inside the editor.

Actual behavior:
Pressing Tab shifts focus to another UI element, while other keys (letters, numbers, symbols) work normally.

Steps to reproduce:

  1. Open the Markdown Viewer.
  2. Go to the Edit section.
  3. Press the Tab key.

Would it be possible to prevent default focus navigation and allow the editor to handle tabs normally?

Thanks! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions