[9.0.08] Simplelightbox

This commit is contained in:
Fred 2019-03-21 10:38:44 +01:00 committed by GitHub
parent 018b5ef3c3
commit d0d9ec0aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ tinymce.init({
}, },
width: 800, // Default value is 800 width: 800, // Default value is 800
height: 500, // Default value is 550 height: 500, // Default value is 550
Files: [ // Additional JS files to load files: [ // Additional JS files to load
baseUrl + 'core/vendor/tinymce/mode/clike/clike.js', baseUrl + 'core/vendor/tinymce/mode/clike/clike.js',
baseUrl + 'core/vendor/tinymce/mode/php/php.js' baseUrl + 'core/vendor/tinymce/mode/php/php.js'
] ]
@ -34,8 +34,11 @@ tinymce.init({
// Target pour lightbox // Target pour lightbox
rel_list: [ rel_list: [
{title: 'None', value: ''}, {title: 'None', value: ''},
{title: 'Lightbox', value: 'data-lity'} // {title: 'Lightbox', value: 'data-lity'},
{title: 'SimpleLightbox', value: 'gallery'}
], ],
// Titre des image
image_title: true,
// Pages internes // Pages internes
link_list: baseUrl + "core/vendor/tinymce/links.php", link_list: baseUrl + "core/vendor/tinymce/links.php",
// Contenu du menu contextuel // Contenu du menu contextuel