@@ -474,7 +474,7 @@ class SplideForm extends SplideFormBase {
$elements['padding']=[
'type'=>'textfield',
'title'=>$this->t('Padding'),
'description'=>$this->t("Set padding-left/right in horizontal mode or padding-top/bottom in vertical one. E.g.: <code>{ left : 0, right: '2rem' }</code>, including braces _only for multiple values. Must be a valid JSON object. Or just <code>10</code> for single value without braces, meaning padding left/right(top/bottom) will be 10px."),
'description'=>$this->t("Set padding-left/right in horizontal mode or padding-top/bottom in vertical one. E.g.: <code>{ 'left' : 0, 'right': '2rem' }</code>, including braces _only for multiple values. Must be a valid JSON object. Or just <code>10</code> for single value without braces, meaning padding left/right(top/bottom) will be 10px."),
];
$elements['easing']=[
@@ -679,14 +679,13 @@ class SplideForm extends SplideFormBase {
$elements['classes']=[
'type'=>'textarea',
'title'=>$this->t('Classes'),
'description'=>$this->t("Collection of class names. To add your own classes to arrows or pagination buttons, provide them with original classes like this: <b><br><br>{ <br>arrows: 'splide__arrows your-class-arrows', <br>arrow: 'splide__arrow your-class-arrow', <br>prev: 'splide__arrow--prev your-class-prev', <br>next: 'splide__arrow--next your-class-next', <br>pagination: 'splide__pagination your-class-pagination', <br>page: 'splide__pagination__page your-class-page' <br>}</b><br><br>Including braces. Must be a valid JSON object like the sample. Be sure the original class (the first one) is always included to avoid broken displays."),
'description'=>$this->t("Collection of class names. To add your own classes to arrows or pagination buttons, provide them with original classes like this: <b><br><br>{ <br>'arrows': 'splide__arrows your-class-arrows', <br>'arrow': 'splide__arrow your-class-arrow', <br>'prev': 'splide__arrow--prev your-class-prev', <br>'next': 'splide__arrow--next your-class-next', <br>'pagination': 'splide__pagination your-class-pagination', <br>'page': 'splide__pagination__page your-class-page' <br>}</b><br><br>Including braces. Must be a valid JSON object like the sample. Be sure the original class (the first one) is always included to avoid broken displays."),
];
$elements['i18n']=[
'type'=>'textarea',
'title'=>$this->t('i18n'),
'description'=>$this->t("Here is a list of default texts. `%s` will be replaced by a slide or page number: <b><br><br>{ <br>prev: 'Previous slide', <br>next: 'Next slide', <br>first: 'Go to first slide', <br>last: 'Go to last slide', <br>slideX: 'Go to slide %s', <br>pageX: 'Go to page %s', <br>play: 'Start autoplay',
<br>pause: 'Pause autoplay' <br>}</b><br><br>Including braces. Must be a valid JSON object like the sample."),
'description'=>$this->t("Here is a list of default texts. `%s` will be replaced by a slide or page number: <b><br><br>{ <br>'prev': 'Previous slide', <br>'next': 'Next slide', <br>'first': 'Go to first slide', <br>'last': 'Go to last slide', <br>'slideX': 'Go to slide %s', <br>'pageX': 'Go to page %s', <br>'play': 'Start autoplay', <br>'pause': 'Pause autoplay' <br>}</b><br><br>Including braces. Must be a valid JSON object like the sample."),