Issue #2617💬 AnsweredOpened March 3, 2020by rufusnguyen0 reactions

Enable Drag Mode to inner of a single component instead of editor

快速解答by artf

Well if you declare dragMode in the init config, that will be the default for ALL the components, then, if you want, you can change the dragMode per component https://github.com/artf/grapesjs/issues/1936#issuecomment-521269499

Read full answer below ↓

Question

Hi @artf , I set dragMode of my Grapesjs builder to "absolute" and then build a section component to ensure that all other components must be placed in section component. image However, section component should be ignore of being "absolute", it should be static. I had tried:

  • Remove dragMode: absolute for builder
  • Add dmode: 'absolute' to section component But no luck. Could you please advise?

Answers (1)

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.