Hi there,

Looking for a replacement of my present Drupal 7 CMS, I've 'stumbled' upon Backdrop CMS, which looks promising after the first trial and error round. One thing I find sorely missing though, os the ability to choose my font type and set the size in CKeditor, which works perfectly fine in Drupal 7. Is there a module to extend CKeditor in backdrop for that option? Nothing fancy, just some basic font types and the ability to set different sizes in segments of my text ...

greetings, Dirk (dirk@kwetal.nl)


Glad you found us!

I can't find any modules that fit your needs right now. It appears that there is a CKEditor Plugin for this purpose, but I'm not sure how difficult it would be to create a module for this. https://ckeditor.com/cke4/addon/font

There was some talk about addons for CKEditor here: https://forum.backdropcms.org/forum/changing-customizing-ckeditor

Another option is to create custom styles for the font sizes and families you choose. This solution helps provide a few defined options, but I'm not sure if it is as flexible as what you are looking for. We need better documentation somewhere on how to create custom styles for CKEditor.

I am anxious to hear what others have to say.

The version of CKEditor that backdrop used, if the API is correct is not supported by the Font plugin :-(



Hi there,

Thanks for your reply. I just downloaded the plugin. How to put in on the server and enable it?


oadaeh's picture

There is also this project that has in its description "...and serves as a template for customizing CKEditor integration.": https://github.com/backdrop-contrib/ckeditor_addon

So that can be used as a guide for creating a Font CKEditor plugin for Backdrop.

It is also labeled as having a known security vulnerability, so consider that before using it as is.

@oadaeh Many thanks... I'll have a look as well.


Thanks for your reply. I just downloaded the plugin. How to put in on the server and enable it?

Just to be clear, I don't think it's possible to just place that Plugin in Backdrop and have it work. My understanding is that you must create a new module to integrate with the plugin. 

@oadaeh shared a generic example module to help demonstrate how to do this. 

For what it's worth, I tried using this module https://backdropcms.org/project/ckeditor_indent as a template and getting the Font Size and Family plugin to work. But, I was very much unsuccessful and this is probably a bit beyond my skill level. 

I've also tried two different ways to do it including the link above and was also unsuccessful.  however, I will give it another try over the weekend.