The editor in the touch-enabled UI uses overlays to interact with content confined in an iframe. This interaction creates some limitations in both usage of the editor and also for developers. This page summarizes these limitations and provides solutions or work-arounds where possible.
An author may encounter the following functional limitations when using the editor to author pages.
When editing a page, links are not active.
Pages cannot be named structure
. Pages that are named structure
are not editable in the page editor.
A developer may encounter the following limitations with the editor’s interactions with CSS.
Absolutely positioned elements can cause issues in the position of their overlay.
vh
units are not supported because the iframe height must be automatically adjusted by Adobe Experience Manager (AEM).
Fixed background images may not be displayed as fixed when scrolling because it is embedded within an iframe.
100% height is not supported on a page’s body element.
body {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
}
Margin collapsing problems can be seen if the first child element of the body element has a margin.
body:before, body:after{
content: ' ';
display: table;
}