heimseiten/contao-lightgallery-js-bundle

添加了支持视频的 lightgallery.js (https://github.com/sachinchoolur/lightgallery.js)。要在模态框中显示其他内容,必须给包含链接的文本元素添加类 html_modal。商业授权:https://sachinchoolur.github.io/lightgallery.j

1.0.3 2021-02-16 18:02 UTC

This package is auto-updated.

Last update: 2024-09-29 06:02:21 UTC


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