title: inline Problem adding custom style_format to tinymce
body: <p>I'm trying to add a custom style in the style menu.</p>
  <pre><code>style_formats : [
                  {title:'Estilos'},
                      {title : 'Bold text', inline : 'b'},
                      {title : 'Blue text', inline : 'span', styles : {color : '#006'}},
                      {title : 'Blue header', block : 'h1', styles : {color : '#006'}},
     /*this one*/     {title : 'Codigo fuente', inline : 'code', classes : 'prettyprint', exact: true}
                   ],
  </code></pre>
  <p>Basically i want selected text to turn in:</p>
  <pre><code>&lt;code class=&quot;prettyprint&quot;&gt; 
   codeline1
   codeline2
   codeline3 
  &lt;/code&gt;
  </code></pre>
  <p>But i get:</p>
  <pre><code>&lt;code class=&quot;prettyprint&quot;&gt; codeline1&lt;/code&gt;
  &lt;code class=&quot;prettyprint&quot;&gt; codeline2&lt;/code&gt;
  &lt;code class=&quot;prettyprint&quot;&gt; codeline3 &lt;/code&gt;
  </code></pre>
  <p>How can i make to all selection to be inserted in <strong>same</strong> <code>&lt;code&gt;&lt;/code&gt;</code> ??</p>
  <p>tried also: <code>{title : 'Codigo fuente', block : 'code', classes : 'prettyprint', exact: true}</code>
  And i get same result but just with no blank spaces or <code>\n</code></p>
  <p>If you want to see <a href="https://stackoverflow.com/questions/5501270/embed-php-js-html-code-in-tinymce-posible">why</a> i'm asking this</p>
  <p>Thanks!</p>