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

Copy and paste bold text results in a double bold text in Firefox and IE

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Low Low
    • 6.14.0
    • 4.3, 5.0, 5.8.13, 6.1.2
    • None

      Steps to Reproduce

      1. Create a new page using any browser
      2. Type a text bold
      3. Select the text and bold the text
      4. Select the bold text and copy it
      5. Place your cursor after bold text (besides letter d)
      6. Ensure that the bold icon is turned on/selected and then press ENTER to go to the second paragraph
      7. Paste the text
      8. Copy the text that you pasted in the previous step
      9. Paste the text into the third paragraph

      Expected Results

      Bold texts should be displayed normally in Firefox. There should be no difference between the first, second, and third bold texts.

      Actual Results

      Instead, the texts are displayed in Firefox or IE as the following:

      The second bold text is stronger than the first one

      In Chrome, the texts are shown without any difference.

      Environment Information

      Chrome 26, Firefox 19, IE 9
      Tested on Confluence 4.3.x and 5.0.x

      Findings

      By inspecting the Storage Format, we can see that the <strong> tags are used twice in the second paragraph, and thrice in the third paragraph.

      <p>
        <strong>bold</strong>
      </p>
      <p>
        <strong>
          <strong>bold</strong>
        </strong>
      </p>
      <p>
        <strong>
          <strong>
            <strong>
              <strong>bold</strong>
            </strong>
          </strong>
        </strong>
      </p>
      

      Workaround

      Ensure that the bold icon in the editor is not selected/turned on when pasting a bold text

        1. BoldScreen.PNG
          BoldScreen.PNG
          4 kB
        2. screenshot001.jpg
          screenshot001.jpg
          36 kB

            [CONFSERVER-28856] Copy and paste bold text results in a double bold text in Firefox and IE

            Atlassian Update - September 2019

            Thank you for your interest in this ticket. The Confluence Server and Data Center team released a major upgrade to the editor in 6.14. Due to the age of this ticket and/or lack of updates, we suspect that this issue is no longer relevant or was resolved as a result of the upgrade and are now closing this ticket.

            If this issue is still a problem in your Confluence instance in version 6.15 or later, please tag me in your comment and we can reopen this ticket for review.

            You can read more about the editor upgrade in the 6.14 Release Notes.

            Thanks

            Makisa Appleton | Senior Product Manager, Confluence Server and Data Center

            Makisa Appleton added a comment - Atlassian Update - September 2019 Thank you for your interest in this ticket. The Confluence Server and Data Center team released a major upgrade to the editor in 6.14. Due to the age of this ticket and/or lack of updates, we suspect that this issue is no longer relevant or was resolved as a result of the upgrade and are now closing this ticket. If this issue is still a problem in your Confluence instance in version 6.15 or later, please tag me in your comment and we can reopen this ticket for review. You can read more about the editor upgrade in the 6.14 Release Notes . Thanks Makisa Appleton | Senior Product Manager, Confluence Server and Data Center

            The problem still happens in Confluence 6.1.2 with IE and Firefox. To reproduce this bug, should be follow steps from original instruction.

            Maciej Obarzanek added a comment - The problem still happens in Confluence 6.1.2 with IE and Firefox. To reproduce this bug, should be follow steps from original instruction.

            Gareth White added a comment - - edited

            This problem still happens in Confluence 5.8.13. It does not happen when using Chrome, but does happen with Firefox 42, IE9 and IE11.
            I can't reproduce it using the exact steps listed in this issue. However, I can easily reproduce it by doing the following:

            • Type some text in the editor and make it bold.
            • Copy the bold text.
            • Click somewhere in the middle of the bold text, OR in the middle of some bold text elsewhere on the page.
            • Paste
            • The pasted text will now be "double bold".

            Gareth White added a comment - - edited This problem still happens in Confluence 5.8.13. It does not happen when using Chrome, but does happen with Firefox 42, IE9 and IE11. I can't reproduce it using the exact steps listed in this issue. However, I can easily reproduce it by doing the following: Type some text in the editor and make it bold. Copy the bold text. Click somewhere in the middle of the bold text, OR in the middle of some bold text elsewhere on the page. Paste The pasted text will now be "double bold".

            In Confluence 5.3.4 I no longer see a visual issue. While the source still shows the nested <strong>-text (for instance <strong>te<strong>test</strong>st</strong> it at least no-longer results in a double-bolt text. So visually the issue is resolved in 5.3.4 as far as I can tell.

            Content-wise however it still persists IMO, because pasting bold text into existing bold text seems to be kinda weird to produce this content. For us the issue has been resolved however.

            Stefan Hett added a comment - In Confluence 5.3.4 I no longer see a visual issue. While the source still shows the nested <strong>-text (for instance <strong>te<strong>test</strong>st</strong> it at least no-longer results in a double-bolt text. So visually the issue is resolved in 5.3.4 as far as I can tell. Content-wise however it still persists IMO, because pasting bold text into existing bold text seems to be kinda weird to produce this content. For us the issue has been resolved however.

            Still reproducible with Confluence 5.2.5.

            Stefan Hett added a comment - Still reproducible with Confluence 5.2.5.

            Also occurs with Confluence 5.1.5.

            Stefan Hett added a comment - Also occurs with Confluence 5.1.5.

            Stefan Hett added a comment - - edited

            Also applies to Confluence 5.0.3.

            Stefan Hett added a comment - - edited Also applies to Confluence 5.0.3.

            Running Confluence 4.3.7 I can confirm this issue. Can't tell the behavior in later Confluence releases though (tested with FF 35.0.1). Will likely post an update once we can upgrade to a later Confluence version.

            Stefan Hett added a comment - Running Confluence 4.3.7 I can confirm this issue. Can't tell the behavior in later Confluence releases though (tested with FF 35.0.1). Will likely post an update once we can upgrade to a later Confluence version.

            please open the issue again.

            Paula Dasch added a comment - please open the issue again.

            Hi Steve,
            I am very sorry to say that, but I am able to reproduce this one on Confluence 5.4.3 on Firefox 17.0.11. I will add a screenshot.
            Regards,
            Paula

            Paula Dasch added a comment - Hi Steve, I am very sorry to say that, but I am able to reproduce this one on Confluence 5.4.3 on Firefox 17.0.11. I will add a screenshot. Regards, Paula

              Unassigned Unassigned
              asanusi AmaliaA
              Affected customers:
              4 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: