Hi,
I want to insert the text of the node of the treeview where the user has dropped the node within editor.
Dropping of the node from treeview to editor is achieved using Kendo DragAndDrop and Kendo Template. I am using template for each node and mark them as draggable. DragAndDrop feature of treeview is disabled as I don't want the nodes to be drag-n-drop within treeview. I am able to add the text where the cursor is within the editor (by using insertHtml) but not where the user has dropped the node.
For example, if user is trying to drop node on line 3 but the cursor is currently on line 1, the text is getting inserted in line 1 and not line 3.
Any idea how to achieve this?
Regards,
Monish.
I want to insert the text of the node of the treeview where the user has dropped the node within editor.
Dropping of the node from treeview to editor is achieved using Kendo DragAndDrop and Kendo Template. I am using template for each node and mark them as draggable. DragAndDrop feature of treeview is disabled as I don't want the nodes to be drag-n-drop within treeview. I am able to add the text where the cursor is within the editor (by using insertHtml) but not where the user has dropped the node.
For example, if user is trying to drop node on line 3 but the cursor is currently on line 1, the text is getting inserted in line 1 and not line 3.
Any idea how to achieve this?
Regards,
Monish.