Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-67773

Editing in Visual Mode causes attachment links to remove alias for the link

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Gathering Impact (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 7.10.2
    • Fix Version/s: None
    • Component/s: Rich Text Editor
    • Labels:

      Description

      Issue: When in text mode, and have included and attachment using wiki markdown, if you then switch to visual mode and edit a portion of the text - the alias will be removed and the link will be rendered as "filename.extension" instead of the alias.

      Steps to reproduce:

      1. Open text field in "text" mode.
      2. Add wiki markdown to a comment that references an already uploaded attachment. ([alias|^file.extension])
      3. Also add some regular text. EX. "Hello World"
      4. Save.
      5. Edit Comment.
      6. Switch to visual mode.
      7. Edit your added regular text.
      8. Save.
      9. Observe file type/extension is how the link is referenced. 

      Video below for reference to reproduce.

      Expected Result: Attachments link renders as attachment name given in markdown.

      Actual Result: Attachment link renders as file type/extension.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mdyro 🦊 Fox (Inactive)
              Reporter:
              dsafady Dustin Safady
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: