title: TinyMCE: How can I change the formats ("Paragraph", "Heading 1", etc.)
body: <p>By default TinyMCE (4) has a "Paragraph ▼" dropdown, and if you click on it you get a list of formatting options ("Paragraph", "Heading 1", etc.).  </p>
  
  <p>I'd like to be able to do two things.  First, I want to change the options and their names (eg. to "Normal" and "Heading"), and I found the <code>block_formats</code> option which does exactly that:</p>
  
  <pre><code>block_formats: 'Normal=p;Heading=h1'
  </code></pre>
  
  <p>However, I'm stuck on thing #2: adding classes to the generated elements.  Instead of plain <code>&lt;h1&gt;</code> elements, when someone picks "Heading" I want to generate a <code>&lt;h1 class="heading"&gt;</code>.</p>
  
  <p>I thought maybe this would work:</p>
  
  <pre><code>block_formats: 'Normal=p;Heading=h1.heading'
  </code></pre>
  
  <p>... but it doesn't, and I haven't been able to find any other option that would let me do this.  Then again, the TinyMCE documentation isn't always the easiest place to find answers, which is why I came here.</p>
  
  <p>Does anyone know how I configure TinyMCE to have a "Paragraph ▼" dropdown with customized names AND custom classes on the generated elements?</p>