3 name: options-oncanmoveto
6 You can override this function to determine if a node can be moved to a certain position.
12 onCanMoveTo: function(moved_node, target_node, position) {
13 if (target_node.is_menu) {
14 // Example: can move inside menu, not before or after
15 return (position == 'inside');