title: bootstrap3-wysihtml5 insert auto image responsive class
body: <p>I am using bootstrap3-wysihtml5 for my text boxes, but I want my images to have the responsive class automatically when I insert them, I have tried to insert the image without the class, then go to code mode and add the image but when going into mode seen the class is deleted. That is, it is impossible to maintain the responsive class. Is there any way to insert the images with the class? As a curious fact, the attribute alt = "" is inserted and when modifying or writing inside the attribute the description of the image in code mode, when passing to preview mode these changes if they are maintained.</p>
  
  <p>This is what I have when I insert the image:</p>
  
  <pre><code>&lt;p&gt;&lt;img alt="" src="http://example/01.jpg"&gt;&lt;br&gt;&lt;/p&gt;
  </code></pre>
  
  <p>This is what I want:</p>
  
  <pre><code>&lt;p&gt;&lt;img alt="" src="http://example/01.jpg" class="img-responsive"&gt;&lt;br&gt;&lt;/p&gt;
  </code></pre>
  
  <p>I know I have to modify something inside the .js but I do not know in what part of the code I have to add the class. Here you have the complete code that I am using:</p>
  
  <p><a href="https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg/blob/master/dist/bootstrap3-wysihtml5.all.min.js" rel="nofollow noreferrer">https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg/blob/master/dist/bootstrap3-wysihtml5.all.min.js</a></p>