Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-66667

Pasting markdown code won't convert it depending on the source

XMLWordPrintable

      Issue Summary

      Using the new editor, pasting markdown code will only convert it to the respective styled text depending on the source the code was copied.

      Environment

      New editor and Old editor

      Steps to Reproduce

      1. Copy the code below
        Heading
        =======
        
        ## Sub-heading
        
        Paragraphs are separated
        by a blank line.
        
        Two spaces at the end of a line  
        produces a line break.
        
        Text attributes _italic_, 
        **bold**, `monospace`.
        
        Horizontal rule:
        
        ---
        
        Bullet list:
        
          * apples
          * oranges
          * pears
        
        Numbered list:
        
          1. wash
          2. rinse
          3. repeat
        
        A [link][example].
        
          [example]: http://example.com
        
        ![Image](Icon-pictures.png "icon")
        
        > Markdown uses email-style > characters for blockquoting.
      2. Paste it on a page with the new editor

      Expected Results

      The code should be converted to styled text

      Actual Results

      Depending on the source, it will not convert.
      E.g.: Copying from Sublime text editor, it will work, but not from the terminal (vim).

      Notes

      • At some point drop down for the type of markup was not honored on insert

      Workaround

      Copy the code to a text editor first (e.g. sublime text) and then insert the code on the page.

              Unassigned Unassigned
              gtworkowski Guilherme T (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: