Issue #2463šŸ’¬ AnsweredOpened December 21, 2019by Atmiya7350 reactions

Not able to implement it with iframe. "CONTAINER" in frame and "BLOCK" outside the frame

Quick answerby pouyamiralayi

@Atmiya735 take a look at this fiddle which is using custom layout for blocks section. cheers!

Read full answer below ↓

Question

Hello Team, I m new to grapejs and little bit fresher in JS. What i have to achieve => I have to make display the container in iframe which i m loading for the preview => Blocks section should be out of the ioframe in main page from where i will drag and drop the block within iframe. Which issue i m facing => if i add the init container in iframe and try to add block section in main page using block manager it is doing. But when i try to drop the block in that container of iframe it is not working. The same thing will work if i put the block within the iframe itself. Hope my explanation is be...

Answers (3)

pouyamiralayi• December 21, 2019

@Atmiya735 take a look at this fiddle which is using custom layout for blocks section. cheers!

Atmiya735• December 22, 2019

Thanks for help, but i want to implement container section in iframe and blocks section outside of the iframe, and still want to achieve the feature of drag and drop in it. Please help me out in this

pouyamiralayi• December 22, 2019

@Atmiya735 if you notice in the provided fiddle the blocks section is outside the iframe. cheers!

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.