Answer the question
In order to leave comments, you need to log in
Summernote how to be?
Actually the subject is as follows: is it possible to change the code generated by the editor and how to do it correctly?
Specifically, you need to change the addition of the addition of the video sumernote generates such html
<p><iframe frameborder="0" src="//www.youtube.com/embed/P99qJGrPNLs" width="640" height="360" class="note-video-clip"></iframe><br></p>
<div class="video-play m-b-30 m-t-30" data-src="https://www.youtube.com/embed/d5nfXqffvyc?rel=0&amp;autoplay=1&amp;showinfo=0">
<div class="embed-responsive embed-responsive-16by9">
<img class="embed-responsive-item" src="https://img.youtube.com/vi/ZmVQeK5V_zE/maxresdefault.jpg">
<div class="video-caption">
<h5>Uncharted 4: A Thief's End - Madagascar Preview</h5>
<span class="length">4:05</span>
</div>
<div class="video-play-icon">
<i class="fa fa-play"></i>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question