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

Edit Text Color Not Working as Expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.3.4, 7.5.0, 7.6.6, 7.13.3, 8.2.1, 8.4.1, 8.13.13, 8.20.1, 9.4.2, 9.12.22, 10.6.1
    • Issue - Comments
    • None

      Summary

      When editing the text color by using the Editor panel for existing colored text in Visual mode, the color does not change as expected.

      Steps to Reproduce

      1. Put some text in the comment box in Visual mode
      2. Highlight the text and edit the color by using the "Text Color" on Editor panel
      3. Save the comment
      4. Edit the comment and try changing the text color in the same way

      Expected Result

      The text should change to the latest chosen color.

      Actual Result

      The text color remains unchanged in the comment box, however it's changed properly upon saving the comment.

      Notes

      This is because a new color tag is added outside the existing color tag (which can be seen in Text mode). Example:

      • At step 2:
        {color:#de350b}colored text{color}
        
      • At step 4:
        {color:#4c9aff}{color:#de350b}colored text{color}{color}
        

        So, the color of the text remain unchanged in the comment box, but changed once the comment is saved.

      Workaround

      When editing the text color and noticing the above behavior, switching to Text mode then switching back to Visual mode will allow the new color to be reflected properly in the comment box.

              Unassigned Unassigned
              llee2@atlassian.com Lenard Lee
              Votes:
              29 Vote for this issue
              Watchers:
              24 Start watching this issue

                Created:
                Updated: