Limitations

The diff occurs client-side by way of DOM comparison, making the diff process simple. However, there are several limitations that must be considered by the developer.

  • This feature uses CSS classes that are not namespaced to the AEM Product. If other custom CSS classes or third-party CSS classes with the same names are included on the page, the display of the diff may be affected.

    • html-added
    • html-removed
    • cq-component-added
    • cq-component-removed
    • cq-component-moved
    • cq-component-changed
  • Because the diff is client-side and runs on page load, any adjustments to the DOM after the client-side diff service has run are not accounted for. This process may affect the following:

    • Components that use AJAX to include content
    • Single Page Applications
    • JavaScript based components that manipulate the DOM upon user interaction.

Experience Manager