Jump to content

CKEditor "Add Button" - an option to assign FA icon


Luuuk
 Share

Recommended Posts

Hi,

I would like to see a choice between an image or FA code in the Icon field:

obraz.png.69286b76ac5b54c7e2d8626ac6bdec72.png

 

Currently the image is required and shared between more than one theme. The same icon can look bad on Light and Dark theme.

So now I need to upload some "dummy" image to satisfy the dialog and then override it anyway via custom.css:

.cke_button__custom-ButtonID_icon {
    background-image: none !important;
}

.cke_button__custom-ButtonID_icon::before {
    content: '\f019';
}

 

Edited by Luuuk
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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