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've tried adding custom config settings in various places but CKEditor doesn't seem to be using them.
I've tried to add the following:
config.allowedContent = true;
config.filebrowserWindowHeight = 1000;
config.filebrowserWindowHeight = 700;
config.filebrowserWindowFeatures = 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=no,scrollbars=no';
And I added these to the various documented places without success:
- CKEditor > Profile > Advanced Options > Custom JavaScript configuration
- Set "Load ckeditor.config.js from the theme path" to yes, copied file to theme and added config overrides
- Added config overrides directly to /sites/all/modules/ckeditor/ckeditor.config.js
Cache has been cleared.
Comments
Comment #1
inteja CreditAttribution: inteja commentedSorry just realised my stupid mistake - trying to set filebrowserWindowHeight twice instead of filebrowserWindowWidth. Doh! Closing.