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

Toggle editing mode #12

Open
doncabron opened this issue Jun 26, 2014 · 2 comments
Open

Toggle editing mode #12

doncabron opened this issue Jun 26, 2014 · 2 comments

Comments

@doncabron
Copy link

Is there a way to switch off editing of the tree? I tried to find a switch to temporarily disable editing and just allow the collapse command. Maybe I'm just overlooking something. But amazing thing so far.

@jaredly
Copy link
Owner

jaredly commented Jun 27, 2014

No, that's not a feature I've implemented yet. Neat idea, though. What's the use case?

@doncabron
Copy link
Author

Hey i use it for a CMS to define the page structure etc. but of course i don't want the user to delete the structure by accident.. current work around is that i check in the change listener which was the last event (collapse etc.) and do an undo if its not in an "edit mode". not best UX but it does the job for the moment.

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