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

Heading loses formatting when preceding newline is deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.2
    • None
    • None

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      In the Confluence 4.x editor, when the newline preceding a heading is deleted, the heading is reformatted to plain text. For example, when I have this text in the editor (as if it were entered using wikitext):

      h1. First heading
      Some text
      h2. Second heading
      More text
      

      When I do this:

      • Place cursor at the beginning of the word "Some"
      • Hold shift and press down-arrow
      • Press delete

      I expect to end up with this:

      h1. First heading
      h2. Second heading
      More text
      

      But instead I end up with this:

      h1. First heading
      Second heading
      More text
      

      My heading formatting is lost. This is inconsistent with at least two other scenarios: (1) Deleting a newline preceding a bulleted list, and (2) Deleting a newline preceding a block of preformatted text, both of which retain the formatting of the text that follows the newline, which I think is correct/expected behavior.

      Here is a more detailed description of the issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              c20eafac65a0 Eric Pierce
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: