Skip to content
Snippets Groups Projects
Commit 4086c0c9 authored by Sébastien Corbin's avatar Sébastien Corbin Committed by Hai-Nam Nguyen
Browse files

Issue #1960268 by SebCorbin: Fixed CRLF issue with toolbar wizard.

parent 493649f5
No related branches found
No related tags found
No related merge requests found
......@@ -1606,6 +1606,9 @@ function ckeditor_admin_values_to_settings($values) {
}
unset($values['name'], $values['input_formats'], $values['_profile'], $values['op'], $values['submit'], $values['form_build_id'], $values['form_token'], $values['form_id'], $values['loadPlugins']);
// Replace CRLF with LF in toolbar settings
$values['toolbar'] = str_replace("\r\n", "\n", $values['toolbar']);
module_load_include('inc', 'ckeditor', 'includes/ckeditor.lib');
$plugin_list = ckeditor_load_plugins();
$values['loadPlugins'] = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment