Hi,
Using our editor we have to use code that is not 'correct'
The code we need to use is:
<select name="payment_method">%OPTIONS% </select>
But It then automatically changes it to:
<select name="payment_method"> </select>
Is there a way to switch off the auto code clean up?
Thanks.
Using our editor we have to use code that is not 'correct'
The code we need to use is:
<select name="payment_method">%OPTIONS% </select>
But It then automatically changes it to:
<select name="payment_method"> </select>
Is there a way to switch off the auto code clean up?
Thanks.
Re: Code Cleanup
Hi mdeluk,
You want something like this :
However, that exact code won't do what you want to do, it preserves php tags instead.
http://docs.cksource.com/ckeditor_api/s ... ctedSource
You just need to adjust that code to operate on code wrapped in percent signs. It's just a regular expression.
Hope you work it out.
Thanks,
Zanpakutō
Re: Code Cleanup
Hi,
I really think this could help but I do not understand where to place this code:
Thanks a lot for your help!
Could you help?
Thanks
Re: Code Cleanup
It also seems to be stripping CSS code as well.
Thanks.