I moved ModX to a new location. Inside ModX there is a TinyMCEditor.
After the move, if I paste html into it, TinyMCEditor is replacing all my content with strange words and backslashes.
Old content which worked in old TinyMCEditor :
<img src="assets/images/Screen shot 2011-08-16 at 2.36.55 PM.png" alt="" width="145" height="60" />
After paste:
<img src="\"assets/images/Screen" alt="\"\"" width="\"145\"" height="\"60\"" />
So not only does it remove the actual image, but it also throw those "
jobbies in there too.
Update
I have deduced this problem having something to do with PHP's Magic Quotes as reflected here :
But this is a shared server, and I don't see a PHP.ini file available anywhere. Is it still possible to edit this option?
You can try altering the .htaccess file for the server and add
Otherwise you will need to strip the slashes on all input before saving it.
ref
http://php.net/manual/en/security.magicquotes.disabling.php