Skip to content
Snippets Groups Projects
Commit 2fe4d832 authored by dczepierga's avatar dczepierga
Browse files

[#1559700] by dczepierga: Disable HTML Entities conversion by default

parent 1872acd6
No related branches found
No related tags found
No related merge requests found
2012-05-02
New stable release 7.x-1.x
New features:
[#1559700] by dczepierga: Disable HTML Entities conversion by default
Bug fixes:
[#1567022] by dczepierga: Overlays of administration toolbar in CKEditor maximized mode
[#1557526] by dczepierga: CKeditor gets inserted multiple times on text format selection
......
......@@ -109,6 +109,9 @@ function ckeditor_install() {
$arr['ckeditor_load_time_out'] = 0;
$arr['scayt_autoStartup'] = "f";
//advanced options
$arr['html_entities'] = "f";
db_insert('ckeditor_settings')->fields(array("name" => "Advanced", "settings" => serialize($arr)))->execute();
//insert settings for advanced role
......
......@@ -1211,7 +1211,7 @@ function ckeditor_admin_profile_form($form, $form_state, $profile = NULL) {
$form['advanced']['html_entities'] = array(
'#type' => 'radios',
'#title' => t('HTML Entities'),
'#default_value' => !empty($profile->settings['html_entities']) ? $profile->settings['html_entities'] : 't',
'#default_value' => !empty($profile->settings['html_entities']) ? $profile->settings['html_entities'] : 'f',
'#description' => t('Convert all applicable characters to HTML entities.'),
'#options' => array(
'f' => t('No'),
......
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