how to deny delete/rename/move root(or other) node(s) in jsTree?
问题 for example: [{ "data": "reference", "attr": { "id": "0" }, "state": "open", "children": [ [{ "data": "one", "attr": { "id": "1" }, "state": "closed" }, { "data": "two", "attr": { "id": "2" } }] ] }, { "data": "recycle bin", "attr": { "id": "bin" }, "state": "closed", "children": [] }] i need to deny delete/move/rename "reference" & "recycle bin" nodes with "dnd", "crrm" and "context menu" plugins 回答1: For avoiding moves using the crrm plugin you could do: "crrm": { "move": { "check_move":