Skip to content

Commit

Permalink
fix: fix editor iframe url
Browse files Browse the repository at this point in the history
  • Loading branch information
deemaagog committed May 25, 2024
1 parent 47ed0ae commit f116053
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/docs/editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import Demo from "@site/src/components/Demo"
import FontLoader from "@site/src/components/FontLoader"

<FontLoader>
<!-- <iframe style={{border: "1px solid #e6e6e6"}} width="100%" height="500px" src="https://ss-editor.netlify.app/" /> -->
<iframe style={{border: "1px solid #e6e6e6"}} width="100%" height="700px" src="http://localhost:5173" />
<iframe style={{border: "1px solid #e6e6e6"}} width="100%" height="700px" src={process.env.NODE_ENV === 'development'? "http://localhost:5173":"https://ss-editor.netlify.app"} />
</FontLoader>
Usage in code:
Expand Down

0 comments on commit f116053

Please sign in to comment.