Issue #2577💬 AnsweredOpened February 17, 2020by dskarasev1 reactions

How do I block the insertion of a block inside another block?

Quick answerby pouyamiralayi1

@dskarasev you can define custom component type and control the dragging using `draggable` property: Cheers!

Read full answer below ↓

Question

Please tell me how do I prevent inserting a block inside another block? I use the editor to create the internal structure of an article for a WEB site. Grapejs building blocks are not used. All custom blocks are added via the configuration editor.BlockManager.add I will be grateful if you can tell me how to do that. Thanks!

Answers (1)

pouyamiralayiFebruary 17, 2020

@dskarasev you can define custom component type and control the dragging using `draggable` property: 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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.