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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 9.2.3, 9.2.5
    • Content - Page

      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

              Unassigned Unassigned
              f7fe77b3bc24 Filipe Rodrigues
              Votes:
              15 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated: