Lone Star Posted September 3, 2015 Share Posted September 3, 2015 Hi forum, I'm desperately trying to add some custom HTML to a CMS page, and when I add the code it looks exactly as it should in the editor, but every time I save the changes it deletes a lot of the code and messes things up. For example it deletes all of the html, head and body tags including my links to stylesheets etc. I've follow a tutorial to update TinyMCE to the extended version and edited validate.php, plus I've disabled HTML Purifier in the options. Still it edits and deletes a lot of my code. What can be done about this issue? Kind regards and thanks for the help! Link to comment Share on other sites More sharing options...
vekia Posted September 3, 2015 Share Posted September 3, 2015 please show me your code, there is a chance that is not a html, or at least it uses some unknow tags - this is why tinymce removes it Link to comment Share on other sites More sharing options...
Lone Star Posted September 4, 2015 Author Share Posted September 4, 2015 Hi Vekia, Sorry for the late reply. I don't have the exact code on me at the moment, but what I need for example is to use <link> to import a stylesheet for the page. It removes that one every time. Or is there a more correct way to apply CSS to a CMS page? I hope my question makes sense. :-) Regards. 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