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

drag item create new root / parent #41

Open
alibaltschun opened this issue Sep 2, 2021 · 1 comment
Open

drag item create new root / parent #41

alibaltschun opened this issue Sep 2, 2021 · 1 comment

Comments

@alibaltschun
Copy link

is there is an example of dragging an item from the toolbar for creating a new root (parent -1)?
thanks

@KjetilHaaheim
Copy link

There arent any examples I know as far as I am aware. The way I have solved this, is to have a static block on top which is the parent, and everything underneath (level 2) is kinda level 1. You can use a different node component for the superparent, which gives you some flexibility.

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