change dessing in var p and add class="img-responsive" in the image for tinymce, this class is for work with bootstrap 3