Skip to content

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

@stutidpatel

Description

@stutidpatel

🐛 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)

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy