By lilott8 on
Hello! I am having this very interesting problem where ckeditor is not loading on a node/add/% page. I think it's because the slashes are being escaped and thus the os doesn't know how to find the file. I have posted my jquery code that should be importing the scripts:
jQuery.extend(Drupal.settings, {"basePath":"\/","admin_menu":{"margin_top":1,"position_fixed":1},"dhtmlMenu":{"slide":"slide","doubleclick":"doubleclick","siblings":0,"relativity":0,"children":0,"clone":0},"ckeditor":{"teaser":"edit-body","module_path":"\/sites\/all\/modules\/ckeditor","theme":"dist","settings":{"edit-body":{"customConfig":"\/sites\/all\/modules\/ckeditor\/ckeditor.config.js?1301318922","defaultLanguage":"en","toolbar":"BPSDrupal","enterMode":1,"shiftEnterMode":2,
"toolbarStartupExpanded":true,"width":"100%","height":420,"skin":"office2003","format_tags":"div;pre;address;h1;h2;h3;h4;h5;h6",
"scayt_autoStartup":false,"filebrowserBrowseUrl":"\/index.php?q=imce\u0026app=ckeditor|sendto@ckeditor_fileUrl|",
"stylesCombo_stylesSet":"drupal:\/sites\/all\/modules\/ckeditor\/ckeditor.styles.js","contentsCss":["\/sites\/all\/modules\/ckeditor\/ckeditor.css?f","\/sites\/all\/libraries\/ckeditor\/contents.css?f"]}};Has anyone seen this or know how to fix something like this. I have reinstalled the module. I have cleared caches and made sure all permissions are proper. Any information or additional places to look would be very helpful. Thanks!
Comments
wow, feel like an idiot
Ok, so I figured it out like 30 seconds after I posted this. It ended up being that I was trying to call "BPSDrupal" as a toolbar. However, because of the upgrade "BPSDrupal" didn't exist in the "ckeditro.confgi.js" file. I added that in and it worked perfectly. Thanks!