Allow inline <style> and style="" in CM fields

I’m using CodeMirror to provide clients with a textarea through which they can markup HTML for use in an HTML email template.

I wish for them to specify content that would appear ‘between’ the body tags in the HTML email, however I’m finding that CM is stripping <style> and style= from my input on submit?

How can I allow inline styles within my CM field?

CodeMirror treats its content as plain, opaque text, and definitely doesn’t strip anything out. Your problem probably lies somewhere else in your system.