Search code examples
phpjquerylaravelckeditor4.x

How to remove default font family from ckeditor4 in laravel?


We have implemented one page for CMS page,now we have to put only one custom font family and remove other font family. So can you please give where we have to change for this functionality in ckeditor4 config file

enter image description here


Solution

  • please do not use the font plugin. Then the Advanced Content Filter will automatically filter out spans with font-family style.and if needed You can either download a standard package which doesn't contain the font plugin, build your custom CKEditor package without that plugin or use the config.removePlugins in your config. Hope this helps