Jump to content

Дополнительные кнопки в редакторе


Jeka_Pro

Recommended Posts

Здравствуйте, таким методом решил добавил кнопки в редактор от Ргост-а и Яндекс диска.
Должно выйти так, но не получается.
Как добавлял?
В 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
На  дефолтном стиле так же не получается такое сделать.
Может где-то косяк делаю?
 

Безымянный.png

Link to comment
Share on other sites

Только что, wasder12 сказал:

Наверно у нас на старом форуме так как скрин с нашего форума.

+

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...