Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23784

Code Pasted into PR Comments No Longer Auto-Formats as Inline Code

XMLWordPrintable

      Issue Summary

      Pasted code in Bitbucket PR comments is no longer auto-formatted as inline code, but appears as bold/plaintext instead

      Steps to Reproduce

      Step 1:
      Navigate to an open Pull Request in Bitbucket.
      Step 2:
      Copy a snippet of code from the diff view or file view, and paste it directly into the comment editor within the PR.

      Expected Results

      Pasted code should automatically be formatted as inline code using the standard code styling as it previously worked.

      Actual Results

      The pasted content appears as bold with no automatic inline code formatting. PFA the screenshot of the same
      The behavior is observed in the UI and also confirmed across different browsers and PRs

      Workaround

      Users can manually format the code as inline by:

      • Selecting the pasted text
      • Clicking the editor’s three-dot icon
      • Choosing "Code" from the formatting options

      This will apply inline code formatting to the selected text.

              Unassigned Unassigned
              51c188bded09 Abhay Gupta
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: