javad2140 Posted May 27, 2016 Share Posted May 27, 2016 (edited) Hi I Want Add This Code in Tinymce <a href="#" data-toggle="tooltip" data-placement="top" title="Hooray!">Top</a> But After Save My Code Change To <a href="#" title="Hooray!">Top</a> Plz Guide Me . Thanks Edited June 5, 2016 by javad2140 (see edit history) Link to comment Share on other sites More sharing options...
javad2140 Posted May 28, 2016 Author Share Posted May 28, 2016 I Need Help .. It is possible ? Link to comment Share on other sites More sharing options...
musicmaster Posted May 31, 2016 Share Posted May 31, 2016 You will to make an exception for each data- field. See this item:: http://stackoverflow.com/questions/7744903/tinymce-allow-data-attribute See here how you make your own TinyMCE version in Prestashop https://www.prestashop.com/forums/topic/318425-tutorial-tinymce-rich-text-editor-extended-version/ 1 Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2016 Share Posted May 31, 2016 CDATA entries should not affect the javascript does the script work after save? 1 Link to comment Share on other sites More sharing options...
javad2140 Posted June 1, 2016 Author Share Posted June 1, 2016 No . Not Work I Insert Java Code in Header File And This problem Was Solved . But Tinymce Remove href="#" data-toggle="tooltip" data-placement="top" And Not Work Tooltip How add data-toggle Attributes in a[name|href|target|title] Link to comment Share on other sites More sharing options...
vekia Posted June 1, 2016 Share Posted June 1, 2016 ahhh i missed these non-default tags you use extended tinymce or simple (default) ? 1 Link to comment Share on other sites More sharing options...
javad2140 Posted June 2, 2016 Author Share Posted June 2, 2016 Thanks I Use simple (default) Tinymce and Test with Your Extended Version But problem not solved . Link to comment Share on other sites More sharing options...
javad2140 Posted June 4, 2016 Author Share Posted June 4, 2016 I know the solution to this problem is in Config Content Filtering and I tried valid_elements , valid_children , extended_valid_elements , cleanup : false but not workI'm gonna help managers and users experiencedThanks Link to comment Share on other sites More sharing options...
javad2140 Posted June 5, 2016 Author Share Posted June 5, 2016 ahhh i missed these non-default tags you use extended tinymce or simple (default) ? I Use simple (default) Tinymce Thanks Link to comment Share on other sites More sharing options...
javad2140 Posted June 7, 2016 Author Share Posted June 7, 2016 you know Apart from Validate.php which files will investigate and filter the content Tinymce ? Link to comment Share on other sites More sharing options...
musicmaster Posted June 8, 2016 Share Posted June 8, 2016 Did you already try what I proposed? Adding data-toggle and data-placement to the allowed attributes? 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