Pasting tab-separated text ignores line breaks in the editor's Visual mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Timed out
    • Priority: Low
    • None
    • Affects Version/s: 7.13.1
    • Component/s: Rich Text Editor
    • 7.13
    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      Pasting a block of text that contains any tabs ('\t') will make the editor ignore line breaks.

      Steps to Reproduce

      1. Edit any field in Jira that uses the Rich Text Editor - for example, Comment and Description;
      2. Paste the following while using the "Visual" mode:
        1	User A
        2 User B
        3	User C
        
      3. Note that, even though the second line doesn't have a tab, it will still paste with no line breaks;

      Expected Results

      Line breaks should be interpreted regardless of other characters.

      Actual Results

      Line breaks are ignored and have to be manually inserted.

      Notes

      If the same block of text above has columns separated with spaces, this doesn't happen.

      Workaround

      Use the "Text" mode and, to preserve the spacing set by tabs, paste the text into a ''{noformat}' macro.

            Assignee:
            🦊 Fox (Inactive)
            Reporter:
            Joao Palharini (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: