Using the drag-and-drop API with text