Javascript code getting changed when saved
4 posts by 3 authors in: Forums > CMS Builder
Last Post: September 17, 2012 (RSS)
I have a client that wants to paste the attached (1) into the html source editor, when she does and when I do too it changes the code (2). Please can you have a look and let me know what is going on.
Re: [MercerDesign] Javascript code getting changed when saved
Try setting the field up at a text box rather than a WYSIWYG?
Cheers,
Tim (toledoh.com.au)
Tim (toledoh.com.au)
Re: [Toledoh] Javascript code getting changed when saved
I tried that but then it means you cannot paste the script code as script, it appears as text.
Re: [MercerDesign] Javascript code getting changed when saved
By Jason - September 17, 2012
Hi,
You can make a change to the wysiwyg editor so that it doesn't strip out your javascript.
See this post:
http://www.interactivetools.com/forum/gforum.cgi?post=77059#77059
Please note that you should make a copy of wysiwyg.php, saving it as wysiwyg_custom.php. Then make the changes in the new wysiwyg_custom.php file.
Hope this helps
You can make a change to the wysiwyg editor so that it doesn't strip out your javascript.
See this post:
http://www.interactivetools.com/forum/gforum.cgi?post=77059#77059
Please note that you should make a copy of wysiwyg.php, saving it as wysiwyg_custom.php. Then make the changes in the new wysiwyg_custom.php file.
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/