Toggle editing mode
Opened this issue · 2 comments
doncabron commented
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 commented
No, that's not a feature I've implemented yet. Neat idea, though. What's the use case?
doncabron commented
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.