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.
I have set up
//Toolbar definition for basic buttons
Drupal.settings.cke_toolbar_DrupalBasic = [
['Bold','Italic'],
['Link','Unlink'],
['BulletedList','NumberedList'],
['Blockquote','Image'],
['Source']
];
//Toolbar definition for Advanced buttons
Drupal.settings.cke_toolbar_DrupalAdvanced = [
['Bold','Italic','Strike','Superscript','Subscript','-','RemoveFormat'],
['Link','Unlink'],
['BulletedList','NumberedList'],
['Blockquote','Image','Table','HorizontalRule'],
['Format'],
['ShowBlocks','Source']
];
in theme ckeditor.config.js
. But the ckeditor.config.js
is not loaded from theme on the profile settings pages. Than if I use the EDITOR APPEARANCE setting to switch the editor types the default ckeditor profiles are used. This makes the setting useless.
Comment | File | Size | Author |
---|---|---|---|
#2 | Issue-2419669-by-hass-ckeditorconfigjs-not-loaded-on.patch | 1.87 KB | hass |
Comments
Comment #1
hass CreditAttribution: hass commented.
Comment #2
hass CreditAttribution: hass commentedPatch attached fixes the bug and allows custom pre-configuration of Basic | Advanced | Full in editor appearance.