Entering javascript in HTML editor is problematic
Hi again,
Sorry to keep asking questions, but this is another one that relates to the HTML editor on textareas...
I'm trying to create a block to display an amazon ad. The code amazon give me to cut and paste is:
<script type="text/
amazon_ad_tag = "news42-21"; amazon_ad_width = "160"; amazon_ad_height = "600"; amazon_
<script type="text/
I submit this in a blocks textfield, with the editor in HTML mode, selecting 'Full HTML' as the input type.
The ad doesn't work properly, and when i look at the page source, this is what's displayed:
<script type="text/
amazon_ad_tag = "news42-21"; amazon_ad_width = "160"; amazon_ad_height = "600"; amazon_
<script type="text/
It seems to be still filtering the content somehow.
Is it possible to allow some users (eg the admin) to completely disable the WYSIWYG editor on a textfield if they choose, so they can just select plain text?
Otherwise, what can i do to enable this to be submitted correctly please?
Thanks again for any help
Steve
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ProsePoint Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- bengtan
- Solved:
- Last query:
- Last reply: