This conversation was a while ago, but thought I’d share in case anyone comes across it.
An alternative approach is to us the HTML Embed component (drag it from Add -> Components -> Embed). I’ve used it to create a heading with inline styles. I have two CMS fields, one which gets the green highlight and the other that is black.
I’m having a similar problem, but it is to do with in-line styling within a Rich Text Field.
I have a series of sets of vocabulary in my CMS, and I want to style the Word differently to the Translation. I know that this is possible by creating different styles for h1-6, but then this will mean that the word and translation will be set on different lines. Does anyone have a solution for how in-line styling for Rich Text Elements can be achieved? thanks.