Forum
Add font size button to Redactor toolbar
Is there any way to add a font size button option to the Redactor editor toolbar? I've done some searching on Google and came up with these possible solutions, but can't seem to implement them.
https://github.com/html5cat/redactor-js/issues/58
https://github.com/johnsardine/redactor-plugins/blob/master/fontsize.js
Any guidance or help would be much appreciated.
You can edit the redactor config in the file:
Thanks, but I'm not sure what code I would put in the actual "_config.inc" file. Can you or someone else on the forum provide any guidance?
If you're not familiar with implementing changes to Redactor, you may be better asking Redactor support rather than Perch support.
Okay. I'll give it a shot. I was just hoping another Perch user had already added the font size option to the toolbar and could guide me through the modification. When I go on the Redactor support site, do I need to mention that the editor is an add on in Perch using the "_config.inc" file?
No, the config.inc file is where you would put the changes suggested. We don't do anything odd with these editors, we just package them for convenience. You could create your own package if you wanted rather than use ours. Instructions for doing so are in our docs. See Using a Custom Editor here https://docs.grabaperch.com/docs/customizing-perch/installing-editors/