Hello,
We were not able to find a solution nowhere in the forum, we want to add a font-family to CKEditor but when we add it to the plugin.js file it doesn't apply to CKEditor. What could we do to make it happen. Thanks in advance!
Hello Chris,
Did you find any of the posts? I really think they solve your issue:
Best regards,
Ana
Hello Ana,
Yes i have found the posts you linked but i cant understand where the config file is so i can add the font-family.
Regards,
Chris
Hello again, You don't understand where the config file is? Can you clarify it? Are you having trouble finding font files to add, is that it?You can download fonts from Google, for example.
After that, you need to follow the comment provided by @Francisco Calderón on the post:
We have already added the fonts we want in our Theme Resources and stylesheet do we have to add them again at the CKEditor? Also we don't understand the part in the screenshot i have added here.
Yes, I believe you have to add it to the CKEditor. It is a component, and sometimes components do not subordinate to customer theme you have (depends on your implementation).Basically that print is just for you to make sure you have everything with the right and same names you gave before, in order not to have mistakes. Don't forget to add the font name as an option for your Config string by adding it as part of your font_names string. Only if that conditions are satisfied, you will have the result you wish for. Best regards,
We cant find the Config string and font_names string anywhere, could you please guide us?