Redactor won't allow simple styling in heading tags On a fairly fresh site (and also on some more built up sites) I noticed that Redactor is preventing you from doing the following:


Create a heading such as an H1 or H2 with two or more words
Select only one of the words in the heading
Attempt to apply styling, such as bold or italic to that word


This should result in some simple markup such as:

&lt;h1&gt;My list of &lt;strong&gt;words&lt;/strong&gt;&lt;/h1&gt;


But it does not apply this styling.

Is this a bug with redactor? Intended behavior? Do you know a clever work around that would utilize Redactor's native buttons?

Edit:


The Clean Up HTML? field is unchecked on this redactor settings type.
This bug seems to be a redactor bug, it exists on http://imperavi.com/redactor/
Rich Text fields in Craft have several options to them that can affect code output. In your field settings, make sure you don't have Clean up HTML? ticked. As the description reads, this option:


  Removes spans, empty tags, and most style attributes on save.


Without seeing your field, this is a wild guess at what could be the problem.