msenkpiel/kirby-iframe
最新稳定版本:v1.0.5
Composer 安装命令:
composer require msenkpiel/kirby-iframe
包简介
Plugin to add an iFrame to Kirby CMS
README 文档
README
Plugin to add an iFrame to Kirby Panel.
Installation
composer require msenkpiel/kirby-iframe
Config options
Due to the iframe security policies, it is not possible to read the height of the iFrame content and embed the frame at the appropriate height. Therefore, you can only define fixed heights for the iFrame. To ensure responsive behavior, it is possible to define breakpoints and corresponding iFrame heights.
Config
// site/config/config.php return [ 'msenkpiel.iframe' => [ // panel navigation settings 'label' => 'Navigation Label', 'icon' => 'box', // panel frame title 'title' => 'Frame title', // iframe url 'url' => '', // iframe height based on container width 'breakpoints' => [ 0 => 500, // mobile 992 => 3000 // desktop ] ] ]
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-23

