Andypshop Posted April 19, 2018 Share Posted April 19, 2018 Prestashop 1.6.1.18 tinyMCE editor removes some css inline properties from HTML source code in product description. No matter if it is short or long description, custom theme or default-bootstrap theme? For instance while saveing product description property "background-size: auto 100%; " is deleted from HTML source code. Could someone possibly tell me why?!! Is there validation process that deletes css property ? There is example here ( having saved HTML code I have lost "background-size" property) : <!-- Input HTML: --> <div style=" margin: 0 0 18px 0; background-image: url('Thumb-Orange.jpg'); background-repeat: no-repeat; background-position: left top; background-size: auto 100%; padding: 35px 30px 35px 20px; font-family: georgia, palatino; font-style: italic; letter-spacing: 4px;"> <p>description</p> <ul> <li>feature no1</li> </ul> </div> <!-- Output HTML: --> <div style=" margin:0 0 18px 0; background-image:url("Thumb-Orange.jpg"); background-repeat:no-repeat; background-position:left top; padding:35px 30px 35px 20px; font-family:georgia, palatino; font-style:italic; letter-spacing:4px;"> <p>description</p> <ul> <li>feature no1</li> </ul> </div> - Input: --> a Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now