Stop Edit+ Tidying Code


(Tbaatar) #1

Hi,

 

How do you stop Edit+ performing automatic tidy of code? I'm trying to copy and paste HTML code and some javascript code into a News Item page and it is automatically removing stuff.

 

 


(Bart Banda) #2

You can't, Edit+ is specifically designed to "tidy" up the code and make it accessible and valid HTML. It's not designed to hold JavaScript code either, which is probably  best to hold outside in the page template or inject via metadata if really needed on a page per page basis. 


(Tbaatar) #3

Ok cool. I will keep this in mind.

 

Thanks.