Back to updates
Enhancement
Collaboration

Site previews with custom code

Preview custom code in Webflow’s preview and comment modes

Site previews with custom code

<p id="">We are thrilled to announce the availability of site previews with custom code. Now, you can enable custom code to run in preview or comment modes, allowing you and your team to view your site with custom HTML, CSS or JavaScript applied. This enhancement makes it faster, easier, and more reliable to preview, test, and collaborate on a site directly in Webflow.</p><p id="">How does it work?</p><ol id=""><li id="">Any user can toggle custom code on or off in preview or comment modes</li><li id="">Site managers can default enable or disable custom code for all users on a site&nbsp;</li><li id="">Any user can exclude user-added custom code from executing in Webflow</li></ol><p id="">This native preview capability facilitates more effective and immediate workflows to create, review, and collaborate on sites that include custom code directly in Webflow. You can preview custom HTML, CSS and JavaScript from Webflow native custom code sources, Marketplace Apps and <a href="<https://help.webflow.com/hc/en-us/articles/40748357886227-Supporting-external-resources-in-previews-of-custom-code>" id="">compatible</a> third-party scripts and resources. </p><p id="">To get started, open your site in preview or comment mode and enable custom code.</p><p id=""><strong id="">Please note: </strong>Scripts hosted outside of Webflow that implement specific security controls may need modification to work in preview and comment modes. App developers and service providers can learn more about how to ensure third-party hosted scripts and resources are accessible from Webflow’s preview domain in the <a href="<https://help.webflow.com/hc/en-us/articles/40748357886227-Supporting-external-resources-in-previews-of-custom-code>" id="">Help Center article</a>.&nbsp;</p>


Launched on
April 29, 2025
Category
Collaboration

Related updates

Simplify site and billing handoffs with new client payments enhancements

Simplify site and billing handoffs with new client payments enhancements

Learn more
Build with your team, not around them: Real-time collaboration in Webflow is here

Build with your team, not around them: Real-time collaboration in Webflow is here

Learn more
Empower Workspace members to invite free Reviewers into Webflow

Empower Workspace members to invite free Reviewers into Webflow

Learn more
Introducing a new and improved guest role

Introducing a new and improved guest role

Learn more
Invite teammates into Webflow right from the canvas

Invite teammates into Webflow right from the canvas

Learn more
Teamwork gets an upgrade: a new commenting experience in Webflow

Teamwork gets an upgrade: a new commenting experience in Webflow

Learn more