diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4ff5bc86..3d90183d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +Unreleased +--------------------- +- Fix #328: Missing Iframe attributes in snippet + 1.10.3 (May 15, 2024) --------------------- - Fix #321: Fix indexing of template content for search @@ -17,7 +21,7 @@ Changelog 1.10.0 (January 6, 2024) ------------------------ - Fix: Highlight admin menu entry when "Template" page is active -- Enh: Added Twig Sandbox Extension and restricted Twig templating features by default +- Enh: Added Twig Sandbox Extension and restricted Twig templating features by default 1.9.6 (December 12, 2023) ------------------------- diff --git a/models/CustomContentContainer.php b/models/CustomContentContainer.php index ad29d595..758170e9 100644 --- a/models/CustomContentContainer.php +++ b/models/CustomContentContainer.php @@ -28,6 +28,7 @@ * @property string $title * @property string $icon * @property string $page_content + * @property string $iframe_attrs * @property integer $sort_order * @property integer $admin_only * @property integer $in_new_window diff --git a/widgets/views/snippet_iframe.php b/widgets/views/snippet_iframe.php index a025fc8d..2851037d 100644 --- a/widgets/views/snippet_iframe.php +++ b/widgets/views/snippet_iframe.php @@ -1,5 +1,7 @@ id; $navigation = (!$canEdit) ? [] : [ - '' . Yii::t('CustomPagesModule.base', 'Edit') . '' + '' . Yii::t('CustomPagesModule.base', 'Edit') . '' ]; ?> $model, - 'content' => '', + 'content' => '', 'navigation' => $navigation ]); ?>