Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-21740

switching from Rich Text to Wiki Markup editing view corrupts wiki markup when Wiki Markup is not default view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 3.4.7
    • None

      When switching the editor from Rich Text mode to Wiki Markup mode, the wiki markup can be corrupted if Rich Text is the default view. Specifically this happens with multiple levels of bullet points and macros. However, if Wiki Markup is the default view this does not happen.

      Steps to reproduce

      1. create page
      2. click Wiki Markup editor
      3. add a bullet with a macro defining the text color:
      4. hit Return to add a new line
      5. add a second level bullet directly below the first:
        * {color:red}hello{color}
        ** oh hai
        
      6. Save
      7. observe that everything looks good
      8. Edit
      9. switch to Wiki Markup view
      10. observe that the line break is removed between the color macro and the second level bullet
      11. Save
      12. observe that the bullet hierarchy is now well effed

        1. 1.png
          1.png
          172 kB
        2. 2.png
          2.png
          128 kB
        3. 3.png
          3.png
          146 kB
        4. 4.png
          4.png
          172 kB
        5. 5.png
          5.png
          127 kB

            Unassigned Unassigned
            bmallow Brad Mallow [Atlassian]
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: