X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   TinyMCE stipping ID tag from div on front page editor (https://forum.x-cart.com/showthread.php?t=72094)

skit 05-14-2015 06:04 AM

TinyMCE stipping ID tag from div on front page editor
 
I have 5.2.2 installed and it does not strip the id from the <div> tag.

I have 5.2.4 installed and it strips my <div id="slider">. It strips the id out of the div tag.

Any reason why it works in one and not the other?

bob@n-flatables 05-14-2015 10:33 AM

Re: TinyMCE stipping ID tag from div on front page editor
 
It's also stripping any <script> tags and <iframe> tags as well. Didn't use to.

EDIT: Sounds like it's the HTML Purifier removing the script tags. I'm guessing this is also removing the ID from divs as well. I'm getting that too.

bob@n-flatables 05-18-2015 09:59 AM

Re: TinyMCE stipping ID tag from div on front page editor
 
X-Cart Guru was able to fix this for us. It's due to the stricter HTML Purifier in 5.2.4.

You could contact him for the fix. Our site is working again now.


All times are GMT -8. The time now is 04:45 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.