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.
Hi all,
I try to include this piece of code from http://ckeditor.com/forums/CKEditor-3.x/Please-help-me-remove-content-pa... but I'm struggling on how to access the CKEDITOR object from theme level JS. Where and how would I need to put this piece of code to get it to work, without hacking ckeditor source files or the module's source?
Thanks for suggestions in advance.
Comments
Comment #1
mkesicki CreditAttribution: mkesicki commentedYou can add this code to Custom JavaScript configuration in "Advanced settings" tab of CKEditor profile configuration. Another way is to add this code to ckeditor.config.js file (by default in sites/all/modules/ckeditor directory). Please remember to make backup of this file before module update. If you have further questions or problems, please reopen this issue.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThank you. Will give it a try. :)