junohamburg/kirby-visual-block-selector
Composer 安装命令:
composer require junohamburg/kirby-visual-block-selector
包简介
Kirby Visual Block Selector
README 文档
README
This plugin for Kirby 5 replaces the block selector with a customized version that displays a preview image for each block.
Please note: If you are using Kirby 4, please install v2.1.0. If you are using Kirby 3, please install v1.1.2.
Installation
Download
Download and copy this repository to /site/plugins/kirby-visual-block-selector.
Composer
composer require junohamburg/kirby-visual-block-selector
Git submodule
git submodule add https://github.com/junohamburg/kirby-visual-block-selector.git site/plugins/kirby-visual-block-selector
Setup
- Create the block preview images in 480×270 pixel. The images are displayed in a fixed aspect ratio of 16/9.
- Create the folder
assets/block-previews. - Save the images in the
assets/block-previewsfolder with the same name as the block. For example, the preview image ofheading.ymlisheading.png. Any image format (png, jpg, gif, svg) should work.
Tip: You can define fieldset groups for the blocks field: Kirby docs
⚠️ Please note: If there are no preview images for a blocks field, the default Kirby block selector will be displayed.
License
MIT
Credits
junohamburg/kirby-visual-block-selector 适用场景与选型建议
junohamburg/kirby-visual-block-selector 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 4.56k 次下载、GitHub Stars 达 61, 最近一次更新时间为 2023 年 04 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 junohamburg/kirby-visual-block-selector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 junohamburg/kirby-visual-block-selector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 61
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-27