Skip to main content
removed "Drupal" and tags from the title
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 7 CKEditor doesn't show javascriptJavaScript

Tweeted twitter.com/StackDrupal/status/950078034681499649
Source Link
usr345
  • 41
  • 2
  • 3

Drupal 7 CKEditor doesn't show javascript

I have Drupal 7 with CKEditor 3.6.2.7275 under Wysiwyg module. In configs of Wysiwyg I unchecked all the checkboxes for "Cleanup and output" category. Plus unchecked "Limit allowed HTML tags" for Full HTML text format.

When I try to edit the page, containing javascript inside, the <script type="text/javascript"> is inside the <textarea> for content editing. But it's not shown by CKEditor when I click source button. So it's undoubtedly CKEditor filtering.

What should I do to make CKEditor show javascript?