Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2012-09-26 14:53:55

mathieuw
New member
Registered: 2012-09-26
Posts: 3

problem with automatic javascript code remove from textarea

Hi i use xinha for a long time and work well, i m fan of it ! wink

but i have a problem, i ll like to have the possibility to insert some javascript in the textarea , but the code is automaticly remove!?? for instance: i click on the "html source code" button, i paste this code just for test:

<script type="text/javascript" id=""> </script>

and after i click again on the "html source code" button to return to edit section and without do anything else i just look again the source code and my javascript code is full remove!? but if i do the test on xinha html demo, it is not remove? how is it possible that xinha don't remove the javascript code insert in the source code from the textarea?
my url test page : http://www.mathieuweb.fr/test/
Thanks

Offline

#2 2012-09-27 10:22:26

ejucovy
Xinha Community Member
From: NY
Registered: 2010-11-15
Posts: 35
Website

Re: problem with automatic javascript code remove from textarea

Hi mathieuw,

By default Xinha strips out all <script> tags.  You can disable this behavior in your xinha_config settings:

http://trac.xinha.org/wiki/Documentatio … ripScripts

Offline

#3 2012-09-27 12:46:05

mathieuw
New member
Registered: 2012-09-26
Posts: 3

Re: problem with automatic javascript code remove from textarea

Hi

thanks a lot !!
it is working, i think i should by new glasses because i have look the option list, and don't see it ....

Thanks and viva xinha wink

Offline

#4 2013-10-30 03:20:43

admaspendent
New member
Registered: 2013-10-26
Posts: 8

Re: problem with automatic javascript code remove from textarea

but i have a problem, i ll like to have the possibility to insert some javascript in the textarea , but the code is automaticly remove!?? for instance: i click on the "html source code" button, i paste this code just for test:
www.kinsahandbag.com

Offline

#5 2013-11-07 06:53:55

margen
New member
Registered: 2013-11-07
Posts: 1

Re: problem with automatic javascript code remove from textarea

i also agree with you which the last user that but the code is automaticly remove!?? for instance: i click on the "html source code" button, i paste this code just for test:





http://checkerplagiarism.net/

Last edited by margen (2014-01-29 02:29:47)

Offline

Board footer

Powered by FluxBB