Ckeditor5: Custom fonts

Created on 25 Aug 2018  路  2Comments  路  Source: ckeditor/ckeditor5

Hi. I am trying to find a way to add custom fonts, but did not manage to find any info.
Is there a way to do it ?

Thanks.

馃捇 Version of CKEditor v5 (document)

question

Most helpful comment

Hi! You can configure the font family feature to include any fonts that you want: https://ckeditor.com/docs/ckeditor5/latest/features/font.html#configuring-the-font-family-feature

And then just load them on your website on which CKEditor 5 is included, just like you'd do normally. What you see inside the editor is just a part of the surrounding website and you style it in the same way as your website.

Let us know if this answers your question.

All 2 comments

Hi! You can configure the font family feature to include any fonts that you want: https://ckeditor.com/docs/ckeditor5/latest/features/font.html#configuring-the-font-family-feature

And then just load them on your website on which CKEditor 5 is included, just like you'd do normally. What you see inside the editor is just a part of the surrounding website and you style it in the same way as your website.

Let us know if this answers your question.

Thanks @Reinmar
Actually I figured it out by my self day ago.
Anyway it's good to know that I did it in right way.

Was this page helpful?
0 / 5 - 0 ratings