Currently I'm trying to figure out if it's possible to attach the default contextmenu jstree uses, to a foreign node ?
To explain my scenario please go to this link and go to the bottom of the page. In the first demo you can drag'n'drop a foreign node (being "I have the jstree-draggable class") to the folders in jstree.
I'm trying to understand if it's possible to attach the jstree contextmenu plugin to that foreign node?
show_contextmenuin jstree source to have it accept non-nodes, or override it with your own method, maybe pilfering from the source as necessary. Since foreign contextual items should have less tree-relevant actions, it might be a good idea just to steal the code/style and create a separate context menu for foreign nodes. - glortho