View Single Post
  #13  
Old 02-17-2016, 06:05 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: TinyMCE stripping <script> and <iframe> tags in 5.2.4

Alex,
I do believe the issue lies within TinyMCE. I see the script tags are removed before you even post the field.

To recreate this, open up a static page, and in the content textarea, attempt to place <script> </script> using the source code editor.

Then hit OK and then reopen the source code window. <script> tags are gone.

Quick research shows that we need to add this to tinymce.init function:
Code:
cleanup: false, verify_html: false,
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote