When a live preview is being executed the stylesheets are added on the server, but because only the rendered index is being outputted the stylesheets are never transferred to the client.

The problem can be and has been fixed for display modes from Index itself by adding the stylesheet when the index add form is being displayed. This isn't possible for modules that hook into Index and for that a solution is needed.

Comments

xano’s picture

Title: Add stylesheets to live previews » Add CSS and JavaScript files to live previews

We have the same problem with JS files.

xano’s picture

Assigned: xano » Unassigned

  • Xano committed bef8a21 on 8.x-1.x
    Partially fixed #667616: add stylesheets to live previews.