1
를 삽입 할 때 중첩 블록 요소 생성 :Quill.js는 : 영상을 임베딩시 I이 구조로 끝날하고자 퍼간
<div style="left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.2493%;">
<iframe src="https://www.youtube.com/embed/8zHdLF3-coA?rel=0&showinfo=0" style="border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;" allowfullscreen scrolling="no">
</iframe>
</div>
는 I 쉽게 quill.insertEmbed(range.index + 1, 'video', url, Quill.sources.USER);
으로 를 삽입 할 수있다. 그런데 위와 같이 div
에 iframe
을 추가하려면 어떻게해야합니까?