Create a new view to the text editor widget. We need a custom widget to implement the drag and drop function.