Hi,
I'm trying to find out where Fuel selects the $config['ck_editor_settings'] setting in My_fuel.php for the CKEditor in use. I'd like to have a different tool bar available and feel the easiest way to do that would be by offering an alternative config array.
I've looked through Form_builder.php, Fuel_custom_fields.php, Form.php, but can't find anywhere in there that it writes the code to call CKEditor, or even where it uses that array.
Any thoughts?
Thanks,
Chris.
Comments
Then added to
$this->load->module_view(FUEL_FOLDER, '_blocks/fuel_header_jqx', array('editor_config' => 'ck_editor_settings1'));
to my form view file.Finally, I updated fuel_header_jqx.php with:
<?php $editor_config_settings = isset($editor_config) ? $editor_config : 'ck_editor_settings'; ?>
at the top, and replaced 'ck_editor_settings' with $editor_config_settings in each of the spots in the jqx_config.ckeditorConfig line.Voila, I can modify the CKEditor toolbar to my liking in one spot, while keeping other spots normal
Thanks!
http://docs.getfuelcms.com/general/forms#wysiwyg