Sinmok Posted November 15, 2013 Share Posted November 15, 2013 Hi all, I'm having an issue with the HTML source editor on both TinyMCE and CKEditor formatting. I have a few images that I've inserted into a content field but every time I try to add an inline 'style' to these images, the style is automatically stripped when I click 'update'. I need to be able to add inline styles to these tags. Does anyone know how to prevent the editor from resetting the tags to default when I click update? Thanks Edit: Figured it out.Open CKEditors config.js and add config.allowedContent = true; 1 Link to comment Share on other sites More sharing options...
Wanze Posted November 15, 2013 Share Posted November 15, 2013 You should not modify files in the /core/ directory - they get lost when updating Pw Go to Setup > Fields > your_field > Input > TinyMce Advanced Configuration There you can set your style attribute to valid elements. 1 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