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

Text Formatting Is Not Respected

    XMLWordPrintable

Details

    Description

      When creating content in Confluence and you add text, the formatting can be incoherent. When typing with Formatting TypeX the text is correctly shown with typex. If you change to Formatting TypeY, the text will be correctly shown with TypeY. However, if you backspace enough to reach TypeX, even if the selected Formatting Is TypeY, the formatting used is TypeX.

      Steps to Reproduce

      1. Create Page
      2. Add Text
      3. Select Text and apply Formatting (Blue Color, for example)
      4. Change Formatting
      5. Add more text
      6. Backspace (or simply place cursor) until you reach previous formatting

      Expected Result

      • The formatting used is the Currently Selected One

      Actual Results

      • The Formatting used is The Previous One

      Workaround

      Every time you hit another type of formatting, you will need to re-select the desired one. Please, keep in mind that if your are not Before the first or after the last character of a word, the entire word will change formatting.

       

       

      Example

      This is the Storage Format from the page where this was tested.

       

      <p><br /></p>
      <p>This is my default editor formatting</p>
      <p><br /></p>
      <p><span style="color: rgb(0,0,255);">Here I have changed it to BLUE</span></p>
      <p><span style="color: rgb(0,0,255);">Here, it is still BLUE but from</span> <span style="color: rgb(255,0,0);">NOW on, it should be RED.</span></p>
      <p><span style="color: rgb(0,0,255);">Here I test the BACKSPACING ISSUE. Here, it is BLUE BUT <span style="color: rgb(255,0,0);">NOW</span></span><span style="color: rgb(255,0,0);"> SHOULD BE RED</span></p>
      
      
      
      <p><br /></p>
      <p>This is my default editor formatting</p>
      <p><br /></p>
      <p><span style="color: rgb(0,0,255);">Here I have changed it to BLUE</span></p>
      <p><span style="color: rgb(0,0,255);">Here, it is still BLUE but from</span> <span style="color: rgb(255,0,0);">NOW on, it should be RED.</span></p>
      <p><span style="color: rgb(0,0,255);">Here I test the BACKSPACING ISSUE. Here, it is BLUE But now</span><span style="color: rgb(255,0,0);"> SHOULD BE RED</span></p>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            drodrigues@atlassian.com Diego (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: