Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
You removed the definition of the CKEDITOR_FORCE_SIMPLE_TOOLBAR_NAME variable from the ckeditor.module file (which makes sense since the toolbar is gone.)
But you did not correct the corresponding code in the administration screen so I get errors that it is undefined.
You should be a lot more careful about those things.
$form['ckeditor_exclude_settings']['simple_incl'] = array(
'#type' => 'textarea',
'#title' => t('Force simplified toolbar on the following fields'),
'#cols' => 60,
'#rows' => 5,
'#default_value' => !empty($profile->settings['simple_incl']) ? $profile->settings['simple_incl'] : '',
'#description' => t('Enter the paths to the textarea fields for which you want to force the simplified toolbar (!name).', array('!name' => CKEDITOR_FORCE_SIMPLE_TOOLBAR_NAME)) .' '. t('Please see the <a href="!helppagelink">Help page</a> for more information about defining field names. Take a look at the exclusion settings (above) for a short instruction.', array('!helppagelink' => url('admin/help/ckeditor', array('fragment' => 'fieldinclexcl')))),
'#wysiwyg' => FALSE,
);
And the second one:
$form['ckeditor_exclude_settings']['simple_incl'] = array(
'#type' => 'textarea',
'#title' => t('Force simplified toolbar on the following fields'),
'#cols' => 60,
'#rows' => 5,
'#default_value' => !empty($profile->settings['simple_incl']) ? $profile->settings['simple_incl'] : '',
'#description' => t('Enter the paths to the textarea fields for which you want to force the simplified toolbar (!name).', array('!name' => CKEDITOR_FORCE_SIMPLE_TOOLBAR_NAME)) .' '. t('See the <a href="!helppagelink">Help page</a> for more information about defining field names. Take a look at the exclusion settings (above) for a short instruction.', array('!helppagelink' => url('admin/help/ckeditor', array('fragment' => 'fieldinclexcl')))),
'#wysiwyg' => FALSE,
);
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedFixing the title.
Comment #2
dczepierga CreditAttribution: dczepierga commentedThx for notice this.
Changes commited to GIT.
Greetings
Comment #3
mkesicki CreditAttribution: mkesicki commented