If you want to drop nodes in textboxes with the three options as above,
insert your code at the bottom of this function (located in ob_events_xxx.js):
function ob_OnNodeDropOutside(dst)
{
....
ob_t2_CopyToControl(dst, copy);
// comment this line if you don't want to drop nodes into textboxes
// copy = 0 : Copy only the moving node to textarea
// copy = 1 : Copy moving node with child nodes to textarea
// copy = 2 : Copy only the child nodes to textarea
....
}
| |