I have a html-page which is genercecutedated by another program. It uses some CSS and some Javascript. When I open the page in a browser, there is no problem: layout is OK and Javascript is executed.
When I copy the page in a Druapl page, using CKEditor, the CSS works OK, but the Javascript is not executed.
When I paste the code I use Full html + the "code"-button.
Am I doing something wrong?
When I copy the page in a Druapl page, using CKEditor, the CSS works OK, but the Javascript is not executed.
When I paste the code I use Full html + the "code"-button.
Am I doing something wrong?
Re: Drupal 7 doesn't execute javascript
If you want do this please use FullHtml input filter, and turn off for this filter "Limit allowed HTML tags" option. In CKEditor profile configuration you should also turn of "Limit allowed HTML tags" option in Security tab. Drupal and CKEditor module remove javascript from articles to prevent XSS attacks.