Retain fixed width behaviour of images during editor conversion

XMLWordPrintable

    • 8
    • 5

      Issue Summary

      When converting pages from TinyMCE (legacy) editor to the Fabric (new) editor/editing experience, all images become dynamic images.

      For some customers, this may cause page layouts to be modified unintentionally.

      Steps to Reproduce

      1. Create a TinyMCE page with an image
        1. Notice that storage format will be:
          <ac:image ac:align="center" ac:layout="center" ac:original-height="245" ac:original-width="486" ac:width="910"><ri:attachment ri:filename="image-2024-9-9_14-24-7.png" ri:version-at-save="1" /></ac:image>
          

          There is a specified ac:width, but no ac:custom-width="true" attribute

      2. Make a call to sitename.atlassian.net/wiki/rest/api/contentbody/convert/{format} endpoint with any valid format: view, styled_view, export_view, editor
      3. Observe the page in fabric editor

      Expected Results

      Images retain fixed width behaviour as they did in TinyMCE editor

      Actual Results

      All images become dynamically sized images

              Assignee:
              Unassigned
              Reporter:
              Jimmy Van
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: