Restoring a version containing legacy panel macros while the tinymce_migration_convert_legacy_panels_to_fabric experiment is enabled results in loss of styling and layout.

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      When the experiment tinymce_migration_convert_legacy_panels_to_fabric is enabled, legacy panel macros are forced into native ADF panel nodes during the storage-to-ADF conversion. This process drops all parameters outside of the standard FABRIC_SUPPORTED_PANEL_PARAMS (e.g., borderColor, titleColor, borderStyle). Consequently, restoring an older version that relies on these legacy parameters fails to recover the original layout, as the styling is stripped during the restoration's conversion phase.

      Steps to Reproduce

      1. Ensure the experiment tinymce_migration_convert_legacy_panels_to_fabric is enabled for the tenant.
      1. Identify or create a page version that contains legacy panel macros with custom parameters (e.g., borderColor, titleBGColor).
      1. Attempt to restore this version via Page History.
      1. Observe the rendered result of the restored page.

      Expected Results

      The restored page should retain all original legacy panel styling, including custom borders, background colors, and title formatting.

      Actual Results

      The legacy panels are converted to native ADF panels, losing all custom styling. Titles are demoted to bold paragraphs, and parameters like borderColor or borderStyle are discarded.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Ayeshwarya Raj
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: