Wrap built-in component with div html
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Read full answer below ↓Question
I am trying to wrap the video component specifically for Youtube's <iframe> with a parent <div class="embed-responsive embed-responsive-16by9"/> container.
This is the example of the end result I wanted to achieve:
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>
Answers (1)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1643
Render New Html to editor with Action of Traits
I create New custom Tool with (default html) when draged , and i also create traits for this component when i click on checkbox excuting fu...
Issue #1601
[Question:]Doubt in the iframe generation
Hello. I was wondering if I could put the iframe inside a "</div class="col"/>" bootstrap. Now iframe is generated full screen but mi compo...
Issue #1308
I am not able to insert icon and its class in html element
bm.add('test-block', { label: "Icons", category: "Prismanote Blocks", content: { script: function () { var d = window.parent.window.modalJ;...
Issue #960
Uncaught SyntaxError: Unexpected end of input
blockManager.add('design', { label: 'design', content: { script: function () { $.ajax({ url: parent.DrupalBasePath + '/api/v1/rnode_operati...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.