Здравствуйте, таким методом решил добавил кнопки в редактор от Ргост-а и Яндекс диска.
Должно выйти так, но не получается.
Как добавлял?
В gore-global-forms-editorAttaachments
После
<li class='ipsPos_right ipsResponsive_noFloat'>
Добавляю
<button onClick="javascript:window.open('https://disk.yandex.ru/','','location=0,status=0,scrollbars=1,width=960,height=660'); "class="Yadex_disk"><i class="fa fa-upload" aria-hidden="true"></i> Yandex Disk</button>
<button onClick="javascript:window.open('http://rgho.st','','location=0,status=0,scrollbars=1,width=960,height=660'); "class="RG_Hostdisk"><i class="fa fa-upload" aria-hidden="true"></i> RGHOST</button>
Далее в custome добавляю для отображения картинок
.Yadex_disk {
color: #f6f2f0;
background: linear-gradient(#e73826 10%, #949292 90%) !important;
padding: 0px 1px 0px 0px;
border: 0px;
border-radius: 3px;
width: 100px;
height: 30px;
margin: 0px;
}
.RG_Hostdisk {
color: #f6f2f0;
background: linear-gradient(#26a9e7 10%, #949292 90%) !important;
padding: 0px 1px 0px 0px;
border: 0px;
border-radius: 3px;
width: 100px;
height: 30px;
margin: 0px;
}
После сохранения всего, кнопки не появляются.
Очистка кеша не помогает.
IPS 4.1.16
На дефолтном стиле так же не получается такое сделать.
Может где-то косяк делаю?