Skip to content

[BUG] - Keyboard shortcut for code formatting behaves abnormally on macOS (Firefox) #997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stutidpatel opened this issue Jun 2, 2025 · 0 comments

Comments

@stutidpatel
Copy link

🐛 Bug Report

The code formatting feature using keyboard shortcuts does not work as expected on macOS when using the Firefox browser.

To Reproduce

  1. Go to any problem.
  2. Enter any code in the right panel under </>code heading
  3. Attempt to format the code using the shortcut (Option + Shift + F)
  4. The cursor goes to the first line and disrupts the first line as shown in the snapshot.
Image However, the button to format the code works fine

Expected behavior

Formatted code should display correctly, either inline or in a code block.

Image

Your Environment

  1. OS: macOS (Apple M3)
  2. Firefox 139.0.1 (aarch64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant