Good morning,
Inside the configuration I put the property 'font_names' as the print below:
However, in the list of fonts, the space of the names is disappearing and the words are joined. Would you know how to solve this?
Guys, thanks to those who tried to help.
Within CKEDITOR's actions, there is a javascript function that erases all spaces to transform the text into a JSON.
The solution I made here was to remove the deleted part of the spaces, and send the text in JSON form:
I don't know if it's the right way to do it, but it solved my problem.
Hi @Felipe Engel ,
If not mistaken you should do something like:
@font-face { font-family: "Montserrat"; src: url("/CKEditorDemo/Montserrat-Regular.ttf") format("truetype"); }
font_names: 'Arial/Arial, Helvetica, sans-serif;' + 'Times New Roman/Times New Roman, Times, serif;' + 'Verdana;' + 'Montserrat',
https://www.outsystems.com/forums/discussion/71050/how-to-add-fonts-to-ckeditor/
Can you share a sample oml in case it didn't work?
Regards,
Luis
Hi @Felipe Engel , did this solution worked? If yes, close the thread as marking the post that resolved the problem as the “solution”
regards,
Luis Oliveira
Hello Felipe,
Please find your answer here,
https://www.outsystems.com/forums/discussion/56185/not-able-add-font-family-in-ckeditor/
Kind Regards,
Ajit Kurane.