Forum Discussion

Inactive User's avatar
Inactive User
9 years ago

Custom Component: Hide Preview?

While creating a custom component for a carousel, some of my absolutely positioned elements in my component covered up the text area to input the code ... forcing me to delete the nodes in the browser's Inspector. 

 

Is there a way to at least temporarily disable the preview? It'd be a nice feature for cases like this:


  • Inactive User - Just wrap your code inside this if condition

     

     

    <#if page.name != "BizAppsPage"> 
              //your code goes here
    </#if>

     

    This will stop your code from executing inside the studio. I hope this helps. 

  • Inactive User - Just wrap your code inside this if condition

     

     

    <#if page.name != "BizAppsPage"> 
              //your code goes here
    </#if>

     

    This will stop your code from executing inside the studio. I hope this helps. 

    • Inactive User's avatar
      Inactive User
      Thanks