Texts with class="confluence-embedded-file-wrapper confluence-embedded-manual-size"are not displayed correctly

XMLWordPrintable

    • 13
    • Severity 3 - Minor
    • 22

      Problem

      Texts with class="confluence-embedded-file-wrapper confluence-embedded-manual-size" options are displayed incorrectly in Confluence 9

      Environment

      Confluence 9

      Steps to Reproduce

      1. Install Confluence Source Editor
      2. Create a new page and save it.
      3. Edit the page and click the <> button 
      4. Add the following example storage format: 
           <span class="confluence-embedded-file-wrapper confluence-embedded-manual-size">
            <span style="color: rgb(51,51,51);text-decoration: none;">
              <span style="color: rgb(23,43,77);">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span>
            </span>
          </span>
      1. Publish the page

      Expected Results

      The text should be displayed as it was shown in the editor.

      Actual Results

      Render as shown in edit mode.

      Workaround

      Editing the page and reapplying the text format using the UI seems to fix the issue. It converts the source to something like this:

      <p>          Lorem ipsum dolor sit amet, consectetur adipiscing elit.     <span class="confluence-embedded-file-wrapper confluence-embedded-manual-size">   </span>
      </p> 

      Another possible workaround is to use the custom CSS below. 

      .wiki-content .confluence-embedded-file-wrapper.confluence-embedded-manual-size {
      max-width: none !important;
      }

      Notes

            Assignee:
            Nam Ho
            Reporter:
            Filipe Rodrigues
            Votes:
            21 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              Resolved: