heimseiten / contao-lightgallery-js-bundle
添加了支持视频的 lightgallery.js (https://github.com/sachinchoolur/lightgallery.js)。要在模态框中显示其他内容,必须给包含链接的文本元素添加类 html_modal。商业授权:https://sachinchoolur.github.io/lightgallery.j
Requires
- contao/core-bundle: ^4.4
Requires (Dev)
- contao/easy-coding-standard: ^3.0
- contao/manager-plugin: ^2.3
- contao/test-case: ^4.0
- phpunit/phpunit: ^8.4
- symfony/http-client: 4.4.*
- symfony/phpunit-bridge: 4.4.*
README
添加了支持视频的 lightgallery.js。要在模态框中显示其他内容,必须给包含链接的文本元素添加类 html_modal。
iframe 的触发器,例如 YouTube 的触发器是 a[target="lightbox"]
。例如,可以在模板目录中的 be_tinyMCE.html5 文件中添加以下内容
target_list: [ { title: 'same window', value: '' }, { title: 'new window', value: '_blank' }, { title: 'open in lightbox', value: 'lightbox' }, ],
这将在编辑器中的“链接打开方式...”字段允许您选择“在 Lightbox 中打开”。商业授权:https://sachinchoolur.github.io/lightgallery.js/docs/license.html
添加了支持视频的 lightgallery.js (https://github.com/sachinchoolur/lightgallery.js)。要在模态框中显示其他内容,必须给包含链接的文本元素添加类 html_modal。
iframe 的触发器,例如 YouTube 的触发器是 a[target="lightbox"]。例如,可以在模板目录中的 be_tinyMCE.html5 文件中添加以下内容
target_list: [ { title: 'same window', value: '' }, { title: 'new window', value: '_blank' }, { title: 'open in lightbox', value: 'lightbox' }, ],
这样就可以在编辑器中“链接打开方式...”字段中选择“在 Lightbox 中打开”。
商业授权:https://sachinchoolur.github.io/lightgallery.js/docs/license.html