title: how to add class on table using javascript in tinymce?
body: <p>I have some problem to add class on table. 
  I wanna this code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table&gt;&lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>become this code by click a button in tinymce. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table class="try-class"&gt;&lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have add button, and still cannot solve how to add code on tinymce table plugin.
  thank you... :)</p>