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

Editor creates extraneous newlines when formatting blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.3.3, 7.7.0
    • Issue - Fields
    • None

      Summary

      When using the Rich Text Editor Visual mode, editing block of text into a format (e.g.: Code), it will add an extra newline. Additionally, when switching between Visual and Text Mode, it will add more newlines.

      Environment

      JIRA 7.3.3, JIRA 7.7.0

      h3 Steps To Reproduce

      • Press C to create a new issue
      • Use the visual editor and enter four lines of text into the Description field (press RETURN after every line)
      • now mark lines two and three and format them as code (using the "+" toolbar dropdown)
      • You already see an undesired newline between line 2 and 3 in the code block now
      • Switch between visual mode and text mode of the editor and you will see another extraneous newline between line 1 and the codeblock

      Expected Results

      It will be formatted with the same number of lines as before. No unwanted additional lines added after formatting.

      Actual Results

      Unwanted newlines are added into the text block

      Workaround

      Create edits in Text Mode

              Unassigned Unassigned
              imazuki Irfan Mazli Mazuki (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: