• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 9.0.1, 8.5.18
    • 7.19.16, 8.5.3, 8.5.4, 7.19.17, 8.7.2, 8.5.6, 7.19.21, 8.5.8, 8.5.11, 8.5.12, 8.9.4, 8.5.14
    • Editor - Core

      The fix for this bug will be released to our Long Term Support release.

      The fix for this bug has been approved for backport and will be available in an upcoming 8.5 release of Confluence. Check the fix-version field for details.

      23 August 2024 Update

      With the fix released by the upstream vendor, we're now investigating how to get that fix back to the version of TinyMCE used in our Confluence 8.5 LTS. Unfortunately with the options made available to us, we're having to investigate backporting the entire editor to this LTS release, which is potentially a breaking change. We're working on it and will provide updates as we have them.

      Note that a separate but related improvement was made as part of CONFSERVER-54754: Page with excessive nested span tags causes Synchrony to stop working (fixed in Confluence Data Center 8.4.0, 7.19.15) that has already been backported to LTS releases.

      Issue Summary

      Nested spans still created in some scenarios even after CONFSERVER-54754 patch causing a stack overflow for Synchrony. According to development this is a bug in TinyMCE code that needs to be fixed by TinyMCE.

      Steps to Reproduce

      Reproduction steps vary.

      Expected Results

      Confluence should flatten nested spans.

      Actual Results

      Nested spans are allowed and cause a stack overflow for Synchrony

      Workaround

      1. Install Confluence Source Code Editor
      2. Edit the page, then click the Source Editor icon to edit the page source
      3. Search for the stack of nested tags
      4. Once identified, remove all nested <span></span> tags between the <p> and </p> tags
      5. Save Page

      Alternately, the remove formatting editor option can be used to strip out all the formatting including these span tags.

          Form Name

            [CONFSERVER-93559] TinyMCE Code causing Nested Spans from Copy and Paste

            Kaan Çalışkan made changes -
            Affects Version/s New: 8.5.14 [ 108954 ]
            Rodrigo Martinez made changes -
            Labels Original: whl-fy24q3 New: sam-request whl-fy24q3
            Gabriel Kryvoruchca made changes -
            Affects Version/s New: 8.5.8 [ 107601 ]
            Puventhira Mannen made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 982000 ]
            Puventhira Mannen made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 981886 ]
            Puventhira Mannen made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 981941 ]

            Quan Pham added a comment -

            A fix for this issue is available in Confluence Server and Data Center 8.5.18. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Quan Pham added a comment - A fix for this issue is available in Confluence Server and Data Center 8.5.18. Upgrade now or check out the Release Notes to see what other issues are resolved.
            Basar Beykoz made changes -
            Description Original: {panel:bgColor=#e7f4fa}
            *The fix for this bug will be released to our Long Term Support release.*

            The fix for this bug has been approved for backport and will be available in an upcoming 8.15 release of Confluence. Check the fix-version field for details.
            {panel}
            {panel:title=23 August 2024 Update|borderStyle=solid|borderColor=#6554c0|titleBGColor=#6554c0|bgColor=#eae6ff}
            With the fix released by the upstream vendor, we're now investigating how to get that fix back to the version of TinyMCE used in our Confluence 8.5 LTS. Unfortunately with the options made available to us, we're having to investigate backporting the entire editor to this LTS release, which is potentially a breaking change. We're working on it and will provide updates as we have them.

            Note that a separate but related improvement was made as part of [CONFSERVER-54754: Page with excessive nested span tags causes Synchrony to stop working (fixed in Confluence Data Center 8.4.0, 7.19.15)|https://jira.atlassian.com/browse/CONFSERVER-54754] that has already been backported to LTS releases.
            {panel}
            h3. Issue Summary

            Nested spans still created in some scenarios even after [CONFSERVER-54754|https://jira.atlassian.com/browse/CONFSERVER-54754] patch causing a stack overflow for Synchrony. According to development this is a bug in TinyMCE code that needs to be fixed by TinyMCE.
            h3. Steps to Reproduce

            Reproduction steps vary.
            h3. Expected Results

            Confluence should flatten nested spans.
            h3. Actual Results

            Nested spans are allowed and cause a stack overflow for Synchrony
            h3. Workaround
             # Install Confluence Source Code Editor
             ** [https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview]
             # Edit the page, then click the {{Source Editor}} icon to edit the page source
             # Search for the stack of nested tags
             # Once identified, remove all nested {{<span></span>}} tags between the {{<p>}} and {{</p>}} tags
             # Save Page

            Alternately, the {{remove formatting}} editor option can be used to strip out all the formatting including these span tags.
            New: {panel:bgColor=#e7f4fa}
            *The fix for this bug will be released to our Long Term Support release.*

            The fix for this bug has been approved for backport and will be available in an upcoming 8.5 release of Confluence. Check the fix-version field for details.
            {panel}
            {panel:title=23 August 2024 Update|borderStyle=solid|borderColor=#6554c0|titleBGColor=#6554c0|bgColor=#eae6ff}
            With the fix released by the upstream vendor, we're now investigating how to get that fix back to the version of TinyMCE used in our Confluence 8.5 LTS. Unfortunately with the options made available to us, we're having to investigate backporting the entire editor to this LTS release, which is potentially a breaking change. We're working on it and will provide updates as we have them.

            Note that a separate but related improvement was made as part of [CONFSERVER-54754: Page with excessive nested span tags causes Synchrony to stop working (fixed in Confluence Data Center 8.4.0, 7.19.15)|https://jira.atlassian.com/browse/CONFSERVER-54754] that has already been backported to LTS releases.
            {panel}
            h3. Issue Summary

            Nested spans still created in some scenarios even after [CONFSERVER-54754|https://jira.atlassian.com/browse/CONFSERVER-54754] patch causing a stack overflow for Synchrony. According to development this is a bug in TinyMCE code that needs to be fixed by TinyMCE.
            h3. Steps to Reproduce

            Reproduction steps vary.
            h3. Expected Results

            Confluence should flatten nested spans.
            h3. Actual Results

            Nested spans are allowed and cause a stack overflow for Synchrony
            h3. Workaround
             # Install Confluence Source Code Editor
             ** [https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview]
             # Edit the page, then click the {{Source Editor}} icon to edit the page source
             # Search for the stack of nested tags
             # Once identified, remove all nested {{<span></span>}} tags between the {{<p>}} and {{</p>}} tags
             # Save Page

            Alternately, the {{remove formatting}} editor option can be used to strip out all the formatting including these span tags.

            Hi All,

            Just a quick note on this one.

            We've completed the backport of this issue to our 8.5 LTS branch. The fix will be available as part of Confluence 8.5.18 which is due out in December.

            ff5dbf1888d4 - This fix we've deployed will resolve the duplicated tag issue in any page that can be loaded into the editor. Any page that is degraded to the point that it cannot be loaded will not be fixed by this change.

            Thanks,
            James Ponting
            Engineering Manager - Confluence Data Center

            James Ponting added a comment - Hi All, Just a quick note on this one. We've completed the backport of this issue to our 8.5 LTS branch. The fix will be available as part of Confluence 8.5.18 which is due out in December. ff5dbf1888d4 - This fix we've deployed will resolve the duplicated tag issue in any page that can be loaded into the editor. Any page that is degraded to the point that it cannot be loaded will not be fixed by this change. Thanks, James Ponting Engineering Manager - Confluence Data Center
            James Ponting made changes -
            Description Original: {panel:title=23 August 2024 Update|borderStyle=solid|borderColor=#6554c0|titleBGColor=#6554c0|bgColor=#eae6ff}
            With the fix released by the upstream vendor, we're now investigating how to get that fix back to the version of TinyMCE used in our Confluence 8.5 LTS. Unfortunately with the options made available to us, we're having to investigate backporting the entire editor to this LTS release, which is potentially a breaking change. We're working on it and will provide updates as we have them.

            Note that a separate but related improvement was made as part of [CONFSERVER-54754: Page with excessive nested span tags causes Synchrony to stop working (fixed in Confluence Data Center 8.4.0, 7.19.15)|https://jira.atlassian.com/browse/CONFSERVER-54754] that has already been backported to LTS releases.
            {panel}
            h3. Issue Summary

            Nested spans still created in some scenarios even after [CONFSERVER-54754|https://jira.atlassian.com/browse/CONFSERVER-54754] patch causing a stack overflow for Synchrony. According to development this is a bug in TinyMCE code that needs to be fixed by TinyMCE.
            h3. Steps to Reproduce

            Reproduction steps vary.
            h3. Expected Results

            Confluence should flatten nested spans.
            h3. Actual Results

            Nested spans are allowed and cause a stack overflow for Synchrony
            h3. Workaround
             # Install Confluence Source Code Editor
             ** [https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview]
             # Edit the page, then click the {{Source Editor}} icon to edit the page source
             # Search for the stack of nested tags
             # Once identified, remove all nested {{<span></span>}} tags between the {{<p>}} and {{</p>}} tags
             # Save Page

            Alternately, the {{remove formatting}} editor option can be used to strip out all the formatting including these span tags.
            New: {panel:bgColor=#e7f4fa}
            *The fix for this bug will be released to our Long Term Support release.*

            The fix for this bug has been approved for backport and will be available in an upcoming 8.15 release of Confluence. Check the fix-version field for details.
            {panel}
            {panel:title=23 August 2024 Update|borderStyle=solid|borderColor=#6554c0|titleBGColor=#6554c0|bgColor=#eae6ff}
            With the fix released by the upstream vendor, we're now investigating how to get that fix back to the version of TinyMCE used in our Confluence 8.5 LTS. Unfortunately with the options made available to us, we're having to investigate backporting the entire editor to this LTS release, which is potentially a breaking change. We're working on it and will provide updates as we have them.

            Note that a separate but related improvement was made as part of [CONFSERVER-54754: Page with excessive nested span tags causes Synchrony to stop working (fixed in Confluence Data Center 8.4.0, 7.19.15)|https://jira.atlassian.com/browse/CONFSERVER-54754] that has already been backported to LTS releases.
            {panel}
            h3. Issue Summary

            Nested spans still created in some scenarios even after [CONFSERVER-54754|https://jira.atlassian.com/browse/CONFSERVER-54754] patch causing a stack overflow for Synchrony. According to development this is a bug in TinyMCE code that needs to be fixed by TinyMCE.
            h3. Steps to Reproduce

            Reproduction steps vary.
            h3. Expected Results

            Confluence should flatten nested spans.
            h3. Actual Results

            Nested spans are allowed and cause a stack overflow for Synchrony
            h3. Workaround
             # Install Confluence Source Code Editor
             ** [https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview]
             # Edit the page, then click the {{Source Editor}} icon to edit the page source
             # Search for the stack of nested tags
             # Once identified, remove all nested {{<span></span>}} tags between the {{<p>}} and {{</p>}} tags
             # Save Page

            Alternately, the {{remove formatting}} editor option can be used to strip out all the formatting including these span tags.

              nbhawnani Niraj Bhawnani
              caronson Cole Aronson
              Affected customers:
              46 This affects my team
              Watchers:
              89 Start watching this issue

                Created:
                Updated:
                Resolved: