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

Lost formatting on the Rich Text Editor when navigating between Text and Visual tabs or updating the content

    XMLWordPrintable

Details

    Description

      Summary

      When inputing text into the Rich Text Editor, going from the Text tab into the Visual tab and then going back to the Text tab will make it so that some of the formatting is lost.

      Steps to Reproduce

      1. Create a new comment;
      2. Create a NoFormat colored box;
        This is a test
        
        
      3. Click on the Visual tab to check the formatting;
      4. Click back on the Text tab - the bgColor=silver parameter will be no longer present, but the formatting will still exist on the Visual tab;
      5. Add any other text to the comment;

      Expected Results

      Formmatting will be kept when going back into the Text tab;

      Actual Results

      Formatting parameters will be lost, and as soon as any new text is added to the comment, clicking the Visual tab will show that the formatting was lost. Also, a new line will be added to the panel.

      Workaround

      Current workaround is to perform all formatting on the comment through the Visual tab.

      Attachments

        1. 1-initialTextInput.jpg
          1-initialTextInput.jpg
          17 kB
        2. 2-toggleVisual.jpg
          2-toggleVisual.jpg
          16 kB
        3. 3-toggleBackToText.jpg
          3-toggleBackToText.jpg
          16 kB
        4. backslashes.JPG
          backslashes.JPG
          27 kB
        5. JRASERVER-62668.mp4
          80 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lbugs Lucas Bugs
              Votes:
              40 Vote for this issue
              Watchers:
              48 Start watching this issue

              Dates

                Created:
                Updated: