From e83a379662e18233e75e2ed0703e92be146d92be Mon Sep 17 00:00:00 2001 From: siddhantCodes Date: Thu, 22 Aug 2024 23:08:18 +0530 Subject: [PATCH] Use `vars#preview-url` in `iframe#src` for preview --- components/editor/panels/preview.ftd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/editor/panels/preview.ftd b/components/editor/panels/preview.ftd index 2bd4a11e..471e661f 100644 --- a/components/editor/panels/preview.ftd +++ b/components/editor/panels/preview.ftd @@ -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 @@ -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