Skip to content

Commit

Permalink
Use vars#preview-url in iframe#src for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 committed Aug 23, 2024
1 parent 792de32 commit e83a379
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/editor/panels/preview.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

-- component preview:
string preview-url: $vars.preview-url
string preview-content: $vars.preview-content
boolean $preview-maximized: $vars.preview-maximized
boolean $toggle-visibility-flag: $vars.preview-visible
boolean $hover: false
Expand All @@ -32,8 +31,7 @@ $toggle-visibility-flag: $preview.toggle-visibility-flag
width: fill-container
height: fill-container
id: preview-iframe

$preview.preview-content
src: $preview.preview-url

-- end: ftd.column

Expand Down

0 comments on commit e83a379

Please sign in to comment.