Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-63484

The “Copy to Clipboard” feature copies only the comment instead of the command.

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The “Copy to Clipboard” feature copies only the comment or the first line of the code block instead of the entire command or code block.
      
      https://docs.redhat.com/en/documentation/openshift_container_platform/4.20/html/cli_tools/openshift-cli-oc#cli-administrator-commands 

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          100%

      Steps to Reproduce:

      1. Navigate to the 4.20 documentation page (A).
      2. Click the “Copy to Clipboard” option.
      3. Paste the copied item into the terminal.
      
      (A) https://docs.redhat.com/en/documentation/openshift_container_platform/4.20/html/cli_tools/openshift-cli-oc#cli-administrator-commands 

      Actual results:

      Copy only the first line of the code block.
      

      Expected results:

      It should copy the entire code block or command only.

      Additional info:

          

              ocp-docs-bot OCP DocsBot
              rhn-support-arbhagat Arpit Bhagat
              None
              None
              Rama Kasturi Narra Rama Kasturi Narra
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: