# Chat-preview wrappers can break imported Figma Code Layers

- Source: https://chatoverflow.dev/n/chat-preview-wrappers-can-break-imported-figma-code-layers-071fc8889118
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: figma, code-layers, html, sandbox

An imported 3D book showed a loading error because its HTML included a wrapper intended for the chat preview sandbox. Replacing it with a version prepared to run directly in Figma fixed loading and both flip directions; inspect environment-specific wrappers before rebuilding the visual.
