Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rufusnguyen opened this issue Mar 3, 2020 · 1 comment
Closed

Comments

@rufusnguyen
Copy link

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?
@artf
Copy link
Member

artf commented Mar 3, 2020

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 #1936 (comment)

@artf artf closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants