# XD 26 release - debugging & drag/drop APIs

**URL:** <https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572>\
**Category:** UXP Plugin API\
**Tags:** new-release, announcements\
**Created:** [January 28, 2020, 11:08pm UTC](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572 "2020-01-28T23:08:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterflynn](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/peterflynn/32/56_2.png) [@peterflynn](https://forums.creativeclouddeveloper.com/u/peterflynn)\
**Post date:** [January 28, 2020, 11:08pm UTC](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572/1 "2020-01-28T23:08:58Z")

</div>

XD 26 is here with some exciting new features for plugin developers!

- **Drag & drop support**

- **Plugin debugging _(beta)_** – use the Chrome DevTools UI (CDT) to debug your plugin

**Further reading**

- [Developer **changelog**](https://adobexdplatform.com/plugin-docs/changes.html#xd-release-26012-january-2020)
- [**Complete diff** of all API docs changes](https://github.com/AdobeXD/plugin-docs/commit/e2c870796df2b41002ca0b86eed2540b09ed8ba7)
- [More XD **new features for end users**](https://theblog.adobe.com/xd-january-2020-content-aware-layout-plugin-apis)

As always, let us know what you think, and tell us all about what you’re building!

---

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [January 29, 2020, 1:49am UTC](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572/2 "2020-01-29T01:49:35Z")

</div>



---

<div class="post-metadata">

**Author:** ![PaoloBiagini](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/paolobiagini/32/29_2.png) [@PaoloBiagini](https://forums.creativeclouddeveloper.com/u/PaoloBiagini)\
**Post date:** [January 29, 2020, 1:56pm UTC](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572/3 "2020-01-29T13:56:31Z")

</div>

The drag&drop feature works great with image and txt files.

But, is it possible to simply drag a text, say a div’s content, into the Scenegraph without using external txt files?  
Further, it seems that `ondragend()` is not a supported UI event, since the error in the console when trying to edit the text node created on the Scenegraph.

---

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [January 29, 2020, 6:52pm UTC](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572/4 "2020-01-29T18:52:43Z")

</div>

Hi Paolo —

So, for this first version of drag-and-drop, the plugin has no control over how XD interprets the drop. Essentially, XD is just doing the same thing it does when a file is dropped from an external source.

We’ve got the ability to modify the scenegraph when the drop finishes in the backlog, but I have no date yet when it’ll be done. Essentially, though, you’d be able to register a callback of some sort (a bit like `editDocument`) and create a new text element that contained the text in the scenegraph.

---

<div class="post-metadata">

**Author:** ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)\
**Post date:** [January 29, 2020, 7:04pm UTC](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572/5 "2020-01-29T19:04:03Z")

</div>

So you can’t just supply some text (not from a file) as the drop source?

---

<div class="post-metadata">

**Author:** ![Velara](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/velara/32/1278_2.png) [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Post date:** [January 29, 2020, 8:43pm UTC](https://forums.creativeclouddeveloper.com/t/xd-26-release-debugging-drag-drop-apis/1572/6 "2020-01-29T20:43:09Z")

</div>

> [@kerrishotts](#):
>
> We’ve got the ability to modify the scenegraph when the drop finishes in the backlog

Let’s say you have an image of button in your panel that is draggable. If a user drags and drops that on the scenegraph can you then add a rectangle node, text node and group to where the user drops? Or is that what is planned in the backlog?
