Hey! I want to add inline java script code into the the Ckeditor but unable to save the page. It is generating some firewall named "WatchGaurd" is blocking the page to be updated.

Comments

rakesht created an issue. See original summary.

cilefen’s picture

CKEditor isn't part of Drupal 7 core.

rakesht’s picture

Yes I know but I am using Wysiwyg module and it is using CKEditor internally, if I am not making any mistake.

cilefen’s picture

Project: Drupal core » Wysiwyg
Version: 7.32 » 7.x-2.x-dev
Component: ckeditor.module » Code
Assigned: rakesht » Unassigned
Priority: Critical » Normal

There are separate issue queues per product. I've moved this to the WYSIWYG queue.

TwoD’s picture

Status: Active » Postponed (maintainer needs more info)

I have no idea what "WatchGaurd" is, but it's not part of Wysiwyg module or the CKEditor library, and there is no "firewall" involved involved in Drupal.

For inline scripts to work you'll need to configure the editor to not filter out script tags, look into its Advanced Content Filter settings. To tweak editor settings generated by Wysiwyg you can implement hook_wysiwyg_editor_settings_alter() in a custom Drupal module. The editor may still hide scripts in WYSIWYG mode through, so either change to HTML mode and add/edit them there, or use a CKEditor plugin to handle scripts instead (implement hook_wysiwyg_plugin() to let Wysiwyg know about the plugin and let you enable it). Hook details are in wysiwyg.api.php.

I would need a lot more details about the eerrors you are getting to answer more specificlly.