Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

TinyMCE stipping ID tag from div on front page editor
 
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 05-14-2015, 06:04 AM
 
skit skit is offline
 

Advanced Member
  
Join Date: Feb 2015
Posts: 40
 

Default 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?
__________________
V5.2.13
Reply With Quote
  #2  
Old 05-14-2015, 10:33 AM
 
bob@n-flatables bob@n-flatables is offline
 

Member
  
Join Date: Nov 2012
Posts: 26
 

Default 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.
__________________
X-cart v 5.2
Reply With Quote
  #3  
Old 05-18-2015, 09:59 AM
 
bob@n-flatables bob@n-flatables is offline
 

Member
  
Join Date: Nov 2012
Posts: 26
 

Default 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.
__________________
X-cart v 5.2
Reply With Quote

The following user thanks bob@n-flatables for this useful post:
totaltec (05-18-2015)
Reply
   X-Cart forums > X-Cart 5 > Modifying the design and features (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:52 AM.

   

 
X-Cart forums © 2001-2020