Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-78792

Visual Editor automatically closes after copying/pasting attachments in visual mode in the Description/Comment field

XMLWordPrintable

      Issue Summary

      When you copy/paste an attachment in the Visual mode of the Description field, the editor automatically closes.
      The copy/paste attachment works fine in the Edit mode. The editor does not close automatically, allowing users to update the field after adding the attachment. 

      Steps to Reproduce

      1. Open an issue, click the edit icon of the Description field
      2. Select the Visual mode 
      3. Paste the attachment here

      Screen recording: attachment_v10.3-VisualEditor.mp4

      Expected Results

      The editor should remain open (ie, edit mode) after pasting the attachment in the Visual mode. However, the editor closes immediately after pasting the attachment.
      The behaviour is not replicable in the Text mode editor. Meaning, the editor remains open when you paste an attachment in the Text mode editor. 
      See this sample screen recording for the Text Editor here, attachment_v10.3-TextEditor.mp4

      Actual Results

      The editor automatically closes after pasting an attachment in the Visual mode. 

      Workaround

      Manually hit the editor (ie, pencil icon) again to open the Visual/Text editor

        1. attachment_v10.3-TextEditor.mp4
          2.14 MB
          Cecille Maquito
        2. attachment_v10.3-VisualEditor.mp4
          1.89 MB
          Cecille Maquito
        3. image-2025-05-06-09-44-41-678.png
          54 kB
          Cecille Maquito
        4. screenshot-1.png
          25 kB
          Cecille Maquito
        5. screenshot-2.png
          54 kB
          Cecille Maquito

              Unassigned Unassigned
              02a6ae09c2cc Cecille Maquito (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: